Installation
Examples
Default
Basic text input with placeholder.
With icon
Left and right element slots.
Sizes
sm, md (default), lg.
States
Disabled and invalid states.
This field is required.
API Reference
| Prop | Type | Default | Description |
|---|---|---|---|
| size | 'sm'|'md'|'lg' | 'md' | Controls height and font size. |
| leftElement | ReactNode | — | Element inside the left side. |
| rightElement | ReactNode | — | Element inside the right side. |
| invalid | boolean | false | Applies error ring and border color. |
| disabled | boolean | false | Prevents interaction. |