Getting Started
Foundations
Integrations
Components
Input
A flexible input field component supporting various types and states. Designed for seamless form integration.
#Installation
npx @dinachi/cli@latest add input#Usage
tsx
import { Input } from '@/components/ui/input'#Examples
#API Reference
| Prop | Type | Default | Description |
|---|---|---|---|
| type | string | 'text' | The type of the input field |
| placeholder | string | — | Placeholder text displayed when the input is empty |
| disabled | boolean | false | Whether the input is disabled |