AddressInput
A postal address in separate boxes (street, line 2, postal code and city). A browser can fill them all in at once.
Autocomplete
A text field that suggests as the user types.
Checkbox
One yes-or-no answer, such as a declaration or a consent.
CheckboxGroup
One question with several answers that can all be true, such as how a resident wants to be contacted.
Combobox
A text field with a list of options that shrinks as the user types, for choosing one option or several from a long list.
DateInput
A date answered with three text boxes: day, month and year, in the order the region writes dates in.
DatePicker
A button next to a date field that opens a calendar in a dialog, so a day can be picked instead of typed.
DateRangePicker
A button after a From and a To date field that opens a calendar in a dialog, so a start and an end can be picked.
ErrorSummary
All the problems of a failed submit in one place at the top of the form, each a link to its field.
Field
One form question: it joins a control to its visible label, an optional description, a help text and an error, so people hear them when the control gets focus.
Fieldset
A native fieldset that groups related questions, or the controls of one question, under a legend that names the group.
FileUpload
Attach files to a form.
InputGroup
The box around an input and what sits inside it: a unit, an icon or a button such as clear.
Listbox
A list of options that opens from a box, for choosing one option or several.
NumberInput
A box for a quantity or an amount.
OneTimeCode
A field for a code sent to the user by text message, email or an authenticator app.
PhoneInput
A box for a phone number, with an optional select for the country calling code.
RadioGroup
One question with exactly one answer, such as how long a permit should last.
RichTextEditor Separate package
A formatted text box with a toolbar, for text that will be published or sent, such as a news item or a case description in a staff tool.
Slider
One approximate number in a range, such as a search distance or a volume.
Switch
One setting that is on or off and takes effect at once, such as text message reminders on My pages.
Textarea
A box for a longer answer, such as describing a situation or giving a reason.
TextInput
A native text box for a short answer such as a name, an email address or a case number.
Forms
23 components and hooks. Each page shows an example, the keyboard contract and the API.