# Input Text input component with consistent styling. Supports all standard HTML input types with proper focus states and accessibility features. ## Installation ```bash deno run -A jsr:@lockness/ui add input ``` ## Usage ```tsx import { Input } from '@lockness/ui/components' ``` ## Props | Prop | Type | Default | Description | | ------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------- | -------------------------- | | type | `'text' \| 'email' \| 'password' \| 'number' \| 'tel' \| 'url' \| 'search' \| 'date' \| 'time' \| 'datetime-local' \| 'month' \| 'week' \| 'file' \| 'hidden'` | `'text'` | Input type | | name | `string` | - | Input name attribute | | value | `string \| number` | - | Input value | | placeholder | `string` | - | Placeholder text | | disabled | `boolean` | `false` | Disable input | | readonly | `boolean` | `false` | Read-only input | | required | `boolean` | `false` | Required field | | autocomplete | `string` | - | Autocomplete attribute | | class | `string` | - | Additional CSS class names | | id | `string` | - | Element id attribute | ## Input Types ### Text (default) ```tsx ``` ### Email ```tsx ``` ### Password ```tsx ``` ### Number ```tsx ``` ### Search ```tsx ``` ### Date & Time ```tsx ``` ### File ```tsx ``` ### Telephone & URL ```tsx ``` ## States ### Disabled ```tsx ``` ### Read-only ```tsx ``` ### Required ```tsx ``` ## Examples ### With Label ```tsx
Please enter a valid email address.