File Dropzone
Drag-and-drop file upload area.
Import
tsx
import { FileDropzone } from "@cooud-ui/ui";
bash
npx cooud-ui add file-dropzone
Examples
API Reference
Generated from the component's exported types.
FileDropzoneProps
| Prop | Type | Default | Description |
|---|---|---|---|
onFiles* | (files: File[]) => void | — | — |
accept | string | — | — |
multiple | boolean | false | — |
disabled | boolean | false | — |
className | string | — | — |
children | ReactNode | — | — |