Forms
Input
Single-line text input with label and error state.
Sourceinput.tsx
Input States
Default, with label, and error state.
Invalid key format
API Reference
| Prop | Type | Default | Description |
|---|---|---|---|
label | string | -- | Optional label rendered above the input. |
error | string | -- | Error message. Turns border red and shows message below. |
placeholder | string | -- | Placeholder text. |
Related
Usage
import { Input } from "@doss/tetris-ui";