DUFileUpload
FormsDrag-and-drop style file picker.
import { DUFileUpload } from 'deri-ui';Live preview
typescript
<DUFileUpload multiple onFiles={(files) => {}} />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| accept / multiple | string / boolean | — | Constraints |
| onFiles | (files: FileList | null) => void | — | Handler |
| label / hint | string | — | Copy |
Usage
import { DUFileUpload } from 'deri-ui';
<DUFileUpload multiple onFiles={(files) => {}} />Customize with className, radius, and Tailwind utilities. Theme tokens come from deri-ui/tailwind.preset.
Related
© 2026 Deri Ui. Developed by Deribew Shimelis. Copy and use the code freely in your projects.
