Skip to content
FormsFree

Drop Zone

A drag-and-drop file upload target with a click-to-browse fallback.

Usage

Installation

bash
npm install @wunderui/react

Then import what you need:

tsx
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

PropTypeDefault
onFiles(files: FileList) => void—
acceptstring—
hintReactNodethe accepted types