Input
A single-line text field for entering short values, such as an email or a name.
components/ui/input.tsx
Preview
Code
Installation
npx betterone-ds add inputProps
| Prop | Type | Default |
|---|---|---|
| type | "text" | "email" | "password" | ... | "text" |
| placeholder |
Accessibility
- Always pair an input with a visible label. A placeholder is not a label.
- Keep the focus ring visible when the field is active.

