Input
A text input component with validation states and icon support.
Installation
tsx
npx smi-ui add inputPreview
Variants
Sizes
With Icons
🔍
✓
Props
| Prop | Type | Default |
|---|---|---|
| variant | default | error | success | default |
| inputSize | sm | default | lg | default |
| startIcon | ReactNode | - |
| endIcon | ReactNode | - |