Forms
Drop Zone
A drag-and-drop file upload target with a click-to-browse fallback.
Usage
Installation
npm install @wunderui/reactThen import what you need:
import { DropZone } from "@wunderui/react"Examples
Drop zone
Drop files here or click to browse — empty, and with a hint about accepted file types.
In context
How the component is used inside real screens — the same compositions as the Usage section of the Figma page.
Upload panel
Drop or pick images and they join the list below; each row can be removed again.
hero.png1.1 MB
API Reference
| Prop | Type | Default |
|---|---|---|
| onFiles | (files: FileList) => void | — |
| accept | string | — |
| hint | ReactNode | the accepted types |