Components

Forms

Field, Input, Select, and Textarea — all share the .control visual treatment. Field is the wrapper that ties labels, help text, and error states together.

Example form

Input — states

Invalid state is applied via the parent .field.invalid class (or invalid prop on Field).

Select

Textarea

Field — help & error states

Must be 3–20 characters, letters and numbers only.

Props — Field

PropTypeDefaultDescription
labelstringVisible label (required)
idstringTies label to control via htmlFor
helpstringHelp text below control
errorstringError message; triggers invalid styling
invalidbooleanfalseForce invalid state without error text
requiredbooleanfalseShows * indicator on label