DropZone
DropZone Component
Playground
↑
Drag & drop files here
or click to browse
Browse filesProps
| Prop | Type | Default | Value |
|---|---|---|---|
| label | text | — | |
| disabled | boolean | — |
Default
↑
Drag & drop files here
or click to browse
Browse filesWithAccept
↑
Drop images here
or click to browse
Browse filesAccepted: image/*
Disabled
↑
Drag & drop files here
or click to browse
| PROP | TYPE | DEFAULT | DESCRIPTION |
|---|---|---|---|
disabled | boolean | — | Disabled state |
label | text | — | Drop zone label |
Using DropZonetsx
import { DropZone } from '@/components/DropZone'
<DropZone
label="..."
disabled="..."
/>Tokens Used
No design tokens detected