Florida Association of the Deaf

Forms

Form fields

A visible label, a 48 px control and an optional hint.

Source: components/FormField.tsx

Live

Art Deco

The name people know you by.

Sunrise

The name people know you by.

Usage

DoKeep the label visible above the field.

Don’tUse placeholder text as the label.

DoState errors in text next to the field.

Don’tSignal an error with a red border alone.

Accessibility

  • Label is tied to the control by id.
  • Hints are linked with aria-describedby.
  • Controls are 48 px tall. Autocomplete attributes on personal data.

Props

Form fields props
NameTypeNote
idstringMust match the control's id.
labelstringAlways visible.
hintstring?Rendered as <id>-hint.