AAriaDesign System

Foundations

  • Overview
  • Tokens
  • Theming
Actions
  • Button
  • Copy button
  • Copy underline
Table
  • Data table
  • Table primitives
Forms
  • Field
  • Input
  • Textarea
  • Select
  • Combobox
  • Checkbox
  • Radio group
  • File upload
  • Switch
  • Search input
  • Number input
  • Amount input
  • Password input
  • Phone input
  • Datepicker
  • Calendar
Overlays
  • Dialog
  • Confirm dialog
  • Drawer
  • Dropdown menu
  • Popover
  • Tooltip
Content
  • Badge
  • Card
  • Kbd
  • Separator
  • Link
  • Data list
  • File viewer
  • JSON viewer
  • Avatar
Icons
  • Icon
Typography
  • Paragraph
  • Title
  • Code
Feedback
  • Banner
  • Skeleton
  • Empty state
  • Progress
  • Spinner
  • Toast
Navigation
  • Breadcrumbs
  • Tab nav
  • Tabs
Layout
  • App shell

Chrome and components: @hello-aria/ui

  1. Forms

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