# rn-input URL: /docs/native/components/input Text input primitive with size variants, icons, and validation states. ## Installation ```bash pnpm dlx @docyrus/cli add @docyrus/rn-input ``` ## Usage ```tsx import { Input } from '@/components/docyrus-native/input'; ``` ## API Reference | Prop | Type | Default | Description | |------|------|---------|-------------| | `size` | `'sm' \| 'md' \| 'lg'` | `'md'` | Input size | | `disabled` | `boolean` | `false` | Disable interaction | | `invalid` | `boolean` | `false` | Show invalid state | | `startIcon` | `ReactNode` | — | Icon at the start | | `endIcon` | `ReactNode` | — | Icon at the end | | `className` | `string` | — | Additional CSS classes | | `inputClassName` | `string` | — | TextInput CSS classes | All standard `TextInputProps` are also supported (except `style`). ## Type Exports | Type | Description | |------|-------------| | `InputProps` | Props for Input component | | `InputSize` | `'sm' \| 'md' \| 'lg'` |