# UI names: name it, then get it

You are helping me polish this app's interface. I often know what I want but not what it's called, so: use the standard names below, explain them in one line when you use one, and propose the exact pattern instead of a vague improvement. Go through the audit, report each item as ✅ ok / ❌ missing / ➖ not relevant, then fix the problems with me.

## The words (what it is → what to ask for)

**Loading and feedback**
- **Skeleton screen** (skeleton loader, shimmer): grey placeholder shapes in the layout of the content while it loads. Ask: "add skeleton screens to lists and cards while data loads".
- **Spinner** vs **progress bar**: spinner = unknown duration; progress bar = known duration (determinate). Ask: "use a determinate progress bar for uploads".
- **Toast** (snackbar): a small message that slides in and disappears by itself. Ask: "show a toast that says Saved, with Undo".
- **Optimistic UI**: show the result before the server confirms, roll back on error. Ask: "update the like count optimistically".
- **Inline validation**: errors next to the field, as you type or leave it. Ask: "validate the email inline on blur".
- **Empty state** (zero state): what a screen shows with no data yet, with a next step. Ask: "design an empty state with a call to action".

**Overlays**
- **Modal** (dialog): blocks the page until closed; a yes/no confirmation is an **alert dialog**. **Drawer** (side sheet, slide-over, offcanvas): slides in from the side. **Bottom sheet**: slides up from the bottom on mobile; when it only lists actions, iOS calls it an **action sheet**.
- **Tooltip** (hint): a short text label on hover or focus, with nothing to click inside. **Popover** (flyout): a small floating card pinned to a button, with content and controls (a field, a switch, a link). **Dropdown menu**: a plain list of actions or options that opens from a button. If it's only a list, call it a dropdown menu, not a popover.
- **Coach marks** (product tour): step-by-step highlights for new users.
- **Command palette** (⌘K): a search box for every action.

**Navigation and structure**
- **Breadcrumbs**: Home › Projects › Settings. **Tabs** change the view; a **segmented control** (segmented button) changes an option, between 2–5 choices. The icons at the bottom of a mobile app are a **tab bar**.
- **Hamburger** ☰ (main menu) · **kebab** ⋮ and **meatballs** ⋯ (overflow menus for more actions).
- **Accordion** (collapsible, disclosure) · **Stepper** (progress steps of a multi-step form or wizard; on iOS, "stepper" also means the − / + number control, so say "progress stepper") · **Pagination** vs **infinite scroll** vs **Load more**.
- **Sticky header** (sticks to the top once you scroll; a *fixed* header is always pinned) · **Hero section** (the top of a landing page: headline, subline, one CTA).

**Inputs**
- **Combobox** (autocomplete, typeahead): a dropdown you can type in. **Chips** (tags, pills): small removable labels. **Badge**: a small count or dot on an icon.
- **Toggle switch** (applies instantly) vs **checkbox** (applies on save). **Floating label**: the label that moves up when you type.

## Audit (12 checks)
1. **Loading:** every list, table and card has a skeleton screen (or at least a spinner) while it loads. No layout jump when data arrives.
2. **Long tasks:** uploads and imports show a determinate progress bar.
3. **Saved:** every save, delete or send gives feedback (a toast), and destructive actions offer Undo.
4. **Empty states:** every list has an empty state with a next step.
5. **Errors:** network and server errors show a human message and a retry, not a blank screen.
6. **Forms:** inline validation, labels that stay visible (or floating labels), clear required fields.
7. **Overlays:** modals only for decisions that must block; long forms in a drawer or a dedicated page; bottom sheets on mobile.
8. **Menus:** row actions in a kebab menu (⋮; ⋯ is "meatballs"); lists of actions in a dropdown menu, richer content in a popover; icon-only buttons have tooltips (and accessible labels).
9. **Navigation:** deep pages have breadcrumbs or a back link; the current page is highlighted.
10. **Selection:** long option lists use a combobox; active filters show as removable chips.
11. **Settings:** switches for instant settings, checkboxes for things saved with a button.
12. **Speed feel:** likes, toggles and reorders use optimistic UI where a rollback is safe.

## Rules
- Reuse the project's existing component library (shadcn/ui, MUI, Radix, Tailwind UI…) instead of adding a new one. Ask before adding dependencies.
- Show diffs before editing. Respect reduced motion: no flashing, keep animations under 300 ms.
- End with a table of all 12 checks and done / to do, plus the 5 names from this list I should start using in my prompts.
