# File Upload

> Drag-and-drop file upload with preview, validation, and progress.
> Source: https://otf-kit.dev/components/file-upload

## At a glance

- **Platform:** Web (React)
- **Category:** Input
- **Package:** `@otfdashkit/ui` (free, MIT)
- **Tags:** upload, file, drag-drop

## Install

```bash
bun add @otfdashkit/ui
```

## Usage

```tsx
import { FileUpload } from '@otfdashkit/ui'
```

The `<FileUpload>` component ships the same prop API on web (`@otfdashkit/ui`) and native (`@otfdashkit/ui-native`) where a parity version exists.

## Links

- Live preview + code: https://otf-kit.dev/components/file-upload
- Storybook: https://ui.otf-kit.dev
- All components: https://otf-kit.dev/components
