Forms
Controls, and the Field that wires them up. Start with Field: it owns the label, the hint, the error and the invalid state, so every control inside one is labelled and announced correctly by default rather than when someone remembers.
- FieldLabel, hint, error, and the wiring between them
- InputOne line of text
- TextareaSeveral lines of text
- SelectOne value from a short list
- ComboboxA field that filters a list as you type
- CheckboxOne yes-or-no choice inside a form
- Radio groupExactly one choice, every option visible
- File uploadDrag and drop, or browse
- SwitchA setting that takes effect immediately
- Search inputA field that filters something else
- Number inputA number, against a locale you declare
- Amount inputA number of money, written the way the locale writes it
- Password inputA password, with a named reveal toggle
- Phone inputA country and a number, stored as one E.164 value
- DatepickerReads the locale's own field order, and refuses 31 February
- CalendarThe month grid on its own