File Input
v1.0.0Lets users upload files by dragging or browsing.
Interactive Implementation
Drag files onto the area or click to browse for them.
File Input API Reference
All available props for this component.
| Property | Type | Default | Description |
|---|---|---|---|
| label | string | undefined | Primary call-to-action text rendered inside the drop zone. |
| description | string | undefined | Secondary helper text describing accepted file types or limits. |
| error | string | undefined | Error message rendered below the drop zone with destructive styling. |
| multiple | boolean | false | Allows selection of multiple files in the file dialog. |
| accept | string | undefined | Comma-separated list of accepted MIME types or extensions. |
| onChange | (files: FileList | null) => void | undefined | Callback triggered when files are selected via drop or dialog. |