Overview
The component clears the native input value after each selection so selecting the same file twice still emits callbacks. Use accept and multiple to mirror platform constraints.
Common use cases
- CSV and media imports in admin tools.
- Profile and cover photo pickers.
- Attachment surfaces on support forms.
- Bulk asset ingestion during migrations.
FAQ
How do I handle selected files?
Use the onFiles callback to receive a File array. You can also listen to onChange for the underlying input event when integrating with form libraries.
Can I customize the inner content?
Yes. Pass children to replace the default helper copy while keeping the same focusable label wiring to the hidden input.