# Input Component shadcn-nuxt Input component with TypeScript support and variants. ## Features - **Two-way binding** - Full v-model support - **Variants** - Default and error states - **Sizes** - Small, default, and large - **TypeScript** - Full type safety - **All HTML input types** - text, email, password, number, etc. ## Basic Usage ```vue ``` ## With VeeValidate Form ```vue ``` ## Variants ```vue ``` ## Sizes ```vue ``` ## Input Types ```vue ``` ## Props | Prop | Type | Default | Description | |------|------|---------|-------------| | modelValue | string \| number | undefined | The input value | | type | string | 'text' | HTML input type | | placeholder | string | undefined | Placeholder text | | disabled | boolean | false | Disable the input | | required | boolean | false | Mark as required | | name | string | undefined | Input name attribute | | id | string | undefined | Input ID attribute | | autocomplete | string | undefined | Autocomplete attribute | | variant | 'default' \| 'error' | 'default' | Visual variant | | size | 'sm' \| 'default' \| 'lg' | 'default' | Input size | | class | string | undefined | Additional CSS classes | ## Events | Event | Payload | Description | |-------|---------|-------------| | update:modelValue | string \| number | Emitted when value changes |