# What we call things

Source: https://watership.ca/ux-writing/what-we-call-things/

These names are for the team, in specs, tickets, and design files, so that everyone means the same component. The person using the product sees the component; the name is for the team. The names are Watership’s own. Most match Material Design, and where Material uses a different name, the entry says so. Apple’s vocabulary differs for two of them: in the Human Interface Guidelines a sheet is a modal view that slides up from the bottom on iOS and, on macOS, a card that floats over its parent window, and a popover is a panel anchored to a control, which can hold controls of its own and on an iPhone becomes a sheet.

- A dialog is a window that needs a response before the person can continue.
- A drawer or panel slides in from an edge; the page behind it stays where it was.
- A sheet is a panel that rises from the bottom of a mobile screen.
- A menu is a list of actions or destinations that opens from a control.
- A tab switches between views of the same object, in place.
- A toggle changes an on/off state and takes effect at once. Material calls it a switch. A checkbox is part of a form and takes effect when the form is saved.
- A tooltip is short help that appears on hover or keyboard focus. A popover is richer, can hold controls, and stays until dismissed. Material has no popover. Its nearest component is a rich tooltip.
- A toast is a brief confirmation that goes away by itself. Material calls it a snackbar. A banner stays until dismissed or until the condition it reports is resolved. A notification arrives while the person is somewhere else.
- A card is a bounded block that summarizes one object and usually opens it.
- An empty state is what a list, page, or panel shows when it has nothing in it yet.
- A button does something. A link goes somewhere.

### No modal or popup in visible text

Rule `ux-dialog-not-modal`: avoid, mechanical. Address: https://watership.ca/ux-writing/what-we-call-things/#ux-dialog-not-modal

**Don’t say “modal” or “popup” in text a person sees.** Those are engineering words for how a dialog behaves. Say “dialog” if you must name it, and usually you don’t: “Select **Save** to continue” beats “Close the modal and select **Save**.”

- Instead of: A modal will open asking for your password.
- Write: You’ll be asked for your password.

### Button or link

Rule `ux-button-vs-link`: avoid, judgment. Address: https://watership.ca/ux-writing/what-we-call-things/#ux-button-vs-link

**Use a button for an action and a link for a destination.** If selecting it changes data or state, it’s a button. If it only takes the person somewhere else, it’s a link, styled as one. Don’t dress a link as a button to make it prominent.

- Instead of: **Delete account** rendered as an underlined link below the form.
- Write: **Delete account** as a secondary button beside **Save**.
