Input
A flexible, accessible form input component supporting icons, sizes, validation states, character counters, and password toggles.
1Installation
npm i elementra-ui2Add Component CLI
npx elementra-ui add3Component Preview
4API Reference
Input Props
| Prop | Type | Default | Description |
|---|---|---|---|
type | string | "text" | HTML input type (text, email, password, etc.) |
size | "sm" | "md" | "lg" | "md" | Size variant of the input field |
intent | "default" | "success" | "error" | "default" | Validation intent border styling |
showPasswordToggle | boolean | true | Shows show/hide password toggle for type="password" |