Forms

Forms collect user input with consistent spacing, typography, labels, and validation. Use this page for text fields, selects, and field-level feedback — not for full panel layout (see Feature Panels).

When to use

When not to use

Anatomy

Element Guidance
Field wrapper Vertical stack; consistent spacing between fields (--space-3 / 6px rhythm)
Label Sentence case; above the control; associate with for / id
Input / select 28px min-height; border, focus ring, disabled state
Help text Optional; secondary color; below control
Error message Specific and actionable; linked via aria-describedby

Example — default fields

Light mode

Dark mode

Validation example

Enter a valid email address.

Accessibility

Related components