Components
Every component, with its examples, its parts, and how to add it.
Actions
ButtonAn action, in four variants and three sizes; render draws one as another element, such as a link.Icon buttonA ghost button with an icon, whose label is its accessible name and tooltip.Copy buttonCopies a value, such as a link or a snippet, and draws a check once it has; with a label, it is a Button.ChipPill buttons for bars over a canvas; aria-pressed shows one on.KbdA shortcut written as Mod Z, which shows as ⌘ on a Mac and Ctrl elsewhere.BadgeA short label that isn't a control, such as a status or a count.AvatarA person's picture, round, with their initials until it loads.
Inputs
InputA sunken text field, with icons, text, or buttons over its edges; aria-invalid rings it red.Number fieldA number that drags, types, and steps, as a ScrubInput, in a field as tall as an Input.TextareaA multi-line field that grows with its text.FieldA label, one control, and a description or error, connected for assistive technology.FieldsetA legend over a group of controls, such as checkboxes, and a description or error.CheckboxA native checkbox; its label is clickable too.Drag toggleDrag across checkboxes or pressed buttons to set them all as the first one flips.RadioA native radio: radios that share a name choose one, without JavaScript.SwitchA native checkbox with the switch role.Toggle groupSegmented choices from hidden radios, without JavaScript.SelectOne value, or several with multiple, from a list.ComboboxA choice from a list, filtered as you type, for lists too long to scan.SliderA labeled value with a bar, or a compact value that edits by dragging.Scrub inputA number that drags sideways, types on click, and steps with the arrow keys.
Containers
CardContent on a raised surface, padded as one section until it holds Sections.SeparatorA line between groups, across or upright.CollapsibleA section whose trigger shows and hides its panel.AccordionCollapsible sections that open one at a time, or several at once.Scroll areaVertical scrolling with a thin bar and faded edges.TableRows of data in columns, as a card's content, that scroll where they don't fit.Code blockCode with a copy button, colored by any highlighter.
Navigation
BreadcrumbThe path to the current page, as links.PaginationButtons that move through the pages of a table or list.TabsTabs and the panels they show, in a row or a column, with arrow-key navigation.List itemSelectable rows for collections, such as layers.TreeRows that nest into groups that open and close, and drag to reorder, as a site's navigation or a panel's list.
Overlays
TooltipA hint on hover or focus, with an optional shortcut.MenuCommands, with checkbox and radio items, groups, separators, and submenus.Context menuA menu's commands at the pointer, on a right-click or a long press.PopoverSettings that open beside their trigger.DialogA modal for decisions that need an answer.DrawerA panel that slides in from an edge and swipes away.NoticeA message that floats without blocking the app.ToastNotices in a corner, shown with toast.add from anywhere.