# Input

> A versatile input component with support for various states, clear functionality, and validation indicators. Built with shadcn/ui principles and modern design patterns.  Features  - Input States   - Default state   - Focus state with ring effect   - Error state with validation   - Success state with confirmation   - Disabled state   - Clear functionality  - Visual Feedback   - Status indicators   - Validation messages   - Clear button   - Focus rings   - Smooth transitions

- Author: [Kokonut Baffier](https://21st.dev/@kokonutd)
- Library: [Kokonut UI](https://21st.dev/@kokonutd/library/kokonut-ui)
- License: mit
- Tags: Input
- npm dependencies: lucide-react
- Live preview: https://21st.dev/@kokonutd/components/input

## Install

```bash
npx shadcn@latest add "https://21st.dev/r/kokonutd/input?api_key=$API_KEY_21ST"
```

Requires a 21st API key (generate one at https://21st.dev/mcp) passed as `API_KEY_21ST`. Free accounts get a limited number of installs per day; unlimited on a paid plan — see https://21st.dev/pricing.

Full component directory: https://21st.dev/llms.txt · More like this: https://21st.dev/community/components/s/input.md
