Installation
Examples
Drop zone
Drag files over to see the highlight state.
Drag files here
or click to browse
API Reference
| Prop | Type | Default | Description |
|---|---|---|---|
| onDrop | (items: DataTransfer) => void | — | Called when files are dropped. |
| onDragOver | (e: DragEvent) => void | — | Called on drag-over. |
| accept | string | — | Accepted MIME types for visual hint. |
| disabled | boolean | false | Disables drop interaction. |
| children* | ReactNode | required | Content inside the drop zone. |