Skip to content

TextField

stable

Labeled text field with validation and helper text

Data EntryInteractive/Storybook ↗
import { TextField } from "@nodus/design-system"
Loading demo…

Props

label
Type stringDefault

Label text displayed above the input

error
Type stringDefault

Error message — also sets aria-invalid

hint
Type stringDefault

Helper text below the input

fieldSize
Type "sm" | "md" | "lg"Default "md"

Field height and font size

Metadatasemantictypeborderinput
MobileTouch Target

Full-width by default. Font size ≥16px required to prevent iOS auto-zoom. Pair with floating labels for space efficiency on mobile.

Design Rationale

This component was designed to express:

Explore Related

Was this helpful?