A form control for single-line text entry with multiple size and validation states.
npx micomponents-cli add inputimport { Input, ClearableInput } from "@/components/ui/input";<Input
type="email"
placeholder="Enter your email"
size="m"
validation="none"
/>Email is invalid
Email is valid
| Prop | Type | Default | Description |
|---|---|---|---|
| size | s | m | l | xl | m | The size of the input field |
| validation | none | error | success | none | The validation state of the input |
| validationMsg | string | - | Message displayed for validation states |