File Drop Input
A production-scale, light + dark File Drop Input component. Copy-paste via the CLI; you own the code.
npx lerpa-cli add file-drop-inputLive preview available in the gallery.
Usage
import { FileDropInput } from "@lerpa/ui";
<FileDropInput />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| accent | string | — | |
| maxFiles | number | — | |
| hint | string | — | |
| defaultFiles | DropFile[] | — |
Accessibility
- Keyboard accessible interactive elements.
- Respects prefers-reduced-motion where animated.
- Color is never the only signal.