Skip to main content

Text Input

Accessible labeled input with required marker, hints, errors (role=alert), prefix/suffix, and full native input props.

Default

We use this for receipts and login links.

Optional

Prefix & suffix

https://
USD

Error

Disabled & read-only

Loading

Loading field
Loading field

API

PropRequiredTypeDefaultDescription
themeOptionalSiteThemeatelierVisual theme for the field group.
modeOptional"light" | "dark"lightColor mode — swaps token palette for light or dark surfaces.
labelOptionalstringVisible label linked via htmlFor.
requiredOptionalbooleanShows required marker + aria-required.
hintOptionalstringHelper text linked via aria-describedby.
errorOptionalstringValidation message; aria-invalid + role=alert.
prefix / suffixOptionalReactNodeInline affixes (e.g. https://, .com).
name, value, onChange, onBlurOptionalnative inputStandard controlled/uncontrolled form wiring.
type, autoComplete, inputMode, patternOptionalnative inputPass through for email, tel, password, etc.
readOnly, disabled, maxLengthOptionalnative inputNative states with visible styling.
TextInputSkeletonOptionalcomponentColocated loading preset — label, control, optional hint bars.