Components / Controls
Input
A single-line text field for names, identifiers and short values.
@fabrials/ui
Installation
Import the control from
@fabrials/ui, after setting the app up.TypeScript import { Input } from "@fabrials/ui";Or install it under shadcn's name, so code that imports
@/components/ui/inputgets this control. See shims.npx shadcn@latest add @fabrials/input
API reference
| Prop / export | Type | Description |
|---|---|---|
aria-label / label | string | Pair it with Label or Field. Placeholder text is not the name. |
disabled | boolean | Keeps the value readable. |
Behavior
Validation belongs to the host. Field connects the label, hint and error.
Accessibility
Keyboard and contrast
Keep visible labels, keyboard focus and status announcements when customizing. These components inherit your theme; maintain sufficient contrast in both color modes. The preview is keyboard operable.