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

An enhanced chat input component with file upload capabilities. It features an auto-resizing textarea, file attachment preview, and submit button. Features: •

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

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

## Install

```bash
npx shadcn@latest add "https://ui.eneawork.it/api/registry/21st-kokonutd--kokonut-ui/ai-input-with-file.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`.
