Skip to content

Naming map

Different libraries call the same component different things. If you can’t find what you’re looking for, scan the left column — one row per common name, with a one-line reason for our choice.

You may know it as… Here it’s called Why this name
Toast Notification One name for the whole family — “toast” describes a position, not the job.
Snackbar Notification Same family; the bottom single-line look is the snackbar layout.
Alert (banner) Inline Notification “Alert” collides with the alert() dialog; this one sits in the page flow.
Banner Inline Notification Same component.
Modal Dialog The WAI-ARIA role name; every modal here is a dialog.
Drawer Sheet Dialog One edge-anchored dialog covers both drawer and sheet (side picks the edge).
Sheet Sheet Dialog Same component.
Command palette / ⌘K Search Dialog Nothing in it is a command — it searches and picks from a list.
Confirm (2-button alert) Confirm Dialog The platform’s confirm() job; add urgent for role="alertdialog".
Badge (number) Count A numeric badge counts; a textual one labels — two jobs, two components.
Badge (label) / Chip / Pill Tag Same component.
OTP / one-time code input PIN Input
Spinner / Loader Loading Named for what the user experiences, not the drawing.
Progress (indeterminate) Loading Progress Progress is determinate by design; the waiting side is Loading.
Empty state / zero state / no data Empty State Nothing failed: there is simply no content yet.
Error page / 404 / 500 Error State Something failed and the user needs to recover.
Autocomplete / typeahead Combobox The WAI-ARIA pattern name.
Advanced select (rich options) Combobox with searchable={false} The native Select keeps the platform picker; rich options need the styled popup.
Dropzone / file upload Upload Drop Area Says both what it’s for (upload) and how (drop).
Input / Text field Text Input
Toggle (a setting) Switch A switch is a setting; screen readers announce on/off.
Toggle (an action, e.g. Bold) Toggle Button A pressed/unpressed action — different job from a Switch.
Kbd Keyboard shortcut The page is named for humans; the component stays Kbd (the HTML element).
Disclosure Collapsible
Hover card Popover in hover mode One positioning primitive; hover preview is a mode, not a component.
Segmented button Segmented Control
Menu (button + actions) Dropdown Menu Items run commands; picking a value is a Select.
Notification center Notification Center A composed pattern, under Patterns.

If a name is missing from this table and from the sidebar, the component probably doesn’t exist yet — suggestions are welcome as issues.