# use file input, 21st-kokonutd--kokonut-ui component by kokonutd

A React hook for handling file input operations with validation and error handling. It supports file type restrictions, size limits, and provides a clean inte

> Page: https://ui.eneawork.it/comp/21st-kokonutd--kokonut-ui/use-file-input
> Markdown: https://ui.eneawork.it/comp/21st-kokonutd--kokonut-ui/use-file-input.md

- Library: [21st-kokonutd--kokonut-ui](/components/lib/21st-kokonutd--kokonut-ui)
- HTML page: https://ui.eneawork.it/comp/21st-kokonutd--kokonut-ui/use-file-input

## Install

```bash
npx shadcn@latest add "https://ui.eneawork.it/api/registry/21st-kokonutd--kokonut-ui/use-file-input.json?token=YOUR_TOKEN"
```

The registry endpoints are token-gated (create a free account in the app, then copy the registry token). The raw source is also readable at `/api/registry/<library>/<name>.json`.
