Actions
Button
A button that does something, such as sending a form or saving a draft.
ButtonGroup
A row of related buttons, such as the actions of a form or a card.
CopyButton
A button that copies a text to the clipboard, such as a case number.
Link
A link that goes to another page or place.
QuickExit
A link that takes a person off a sensitive page in one action and on to a neutral site you choose.
Toolbar
A row of related controls with one Tab stop and the arrow keys between them, so a keyboard user passes a long row of formatting buttons with a single Tab.
Content
Accordion
A list of questions or sections, each with a heading and a button that opens its answer.
Address
Contact details for the page or the article around it, as the native address element.
Alert
A status message in the content: something people need to know now, or the result of what they just did.
Badge
A short status or category in words, such as “Granted” or “Draft”, drawn as a pill.
Card
A container for one thing on the page, such as a service, a news item or a case.
CodeBlock
A code sample or a command with a label and a copy button.
Disclosure
A button that shows and hides one panel of content, such as the opening hours or a longer explanation.
Divider
A line that marks where one topic ends and the next begins.
Heading
A heading with its element as a required prop and its look as an optional one.
Icon
A small drawing that supports the text next to it.
Kbd
A key name in running text, drawn as a key.
List
A short list of links or items, with or without bullets or numbers, as the native list.
Progress
Says that something is working and, when it is known, how far along.
Prose
Styles for text you don't control, with inset text, steps and figures.
VisuallyHidden
Text that screen reader users get and nobody sees.
Layout
Container
A block that limits how wide the page’s content gets, centred for the page and start-aligned for reading and forms.
Grid
Columns and rows from one to twelve, or as many as fit, each changing at a breakpoint.
ScrollArea
Holds content that may be wider or taller than its box, such as a wide table or a long code sample, and scrolls it with the browser’s own scrollbars.
Section
A container for a region of the page, such as a sidebar or a band of content.
Stack
Its children one below the other, with an even space between them.
Wayfinding
Breadcrumb
A named landmark with the trail from the start page down to the page you are on, so a resident sees where they are and can go up a level.
Navigation
A named landmark around a list of links to pages, with the current page marked and an optional second level.
Pagination
A named landmark with a list of links for moving through a long list page by page.
SkipLink
A link that is the first stop when you press Tab, so keyboard and screen reader users can jump past the header to the main content.
SkipPanel
A list at the top of the page, shown when someone first presses Tab, with links that skip to the main content, the menu or the search, and the keyboard shortcuts the site offers.
Stepper
Says where the user is in a multi-page form, as one line of text: “Step 2 of 5: Your vehicle”.
TableOfContents
The headings of a long page as a list of links, with the one the reader is in marked.
Tabs
Tabs show one panel of content at a time, with a list of tabs to switch between them.
TopBar
A slim bar above the site header with a line of text at the start and a navigation of tools at the end, such as the language or contact.
Forms
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.
Choice and overlays
AlertDialog
A dialog for a message that needs an answer: a confirmation before deleting, a warning that the session is about to end.
Dialog
A window on top of the page that asks for the user’s attention: a form, a short read, a decision.
Menu
A button that opens a short list of actions.
Popover
A small panel that a button opens: a hint, a short form or a few controls.
Toast
A short status message in the corner after something worked.
Toggle
A button that is on or off, and says which.
Tooltip
A short text next to a control that shows its name or a shortcut when the pointer rests on it or it has keyboard focus.
Data and behaviour
Announcer
The shared live regions that tell screen reader users something changed without moving focus.
Calendar
A month as a grid of days, for choosing one date near today or, in range mode, a start and an end.
DefinitionList
Terms with their descriptions, and optionally a link to change each, as one native description list.
Focus
FocusScope and useFocus move focus into your own drawer or wizard step, can hold it there, and return it when the scope ends.
Route focus
A hook that moves focus to the page title after a client-side navigation, so keyboard and screen reader users start at the top of the new page instead of on a link that may be gone.
Table
A data table built on the native table elements.
Maps and places
AddressSearch Separate package
A search field that finds an address as you type or on Search, on its own or with a map.
Map Separate package
Places on a map and the same places as a list, with the keyboard and a button for every gesture.
Read aloud
ReadAloud Separate package
A player that reads a region of the page aloud, one sentence at a time, with the browser’s own speech.