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

PropTypeDefaultDescription
labelstring--Optional label rendered above the input.
errorstring--Error message. Turns border red and shows message below.
placeholderstring--Placeholder text.

Usage

import { Input } from "@doss/tetris-ui";