Buttons
Status: drafted introduction, awaiting review
A button is what a person presses to make something happen. Its label is often the only text they read before they press it, so the label alone has to say what will happen. This section covers the label, the destructive case, and how many buttons compete for attention on one screen. A button that shows only an icon needs a name as well; Accessible names covers it.
Button labels
Section titled “Button labels”Label a button with the verb that says what happens. Sentence case, no period, and no OK, Yes, or Submit when a specific verb exists. The label answers “what will pressing this do?” without help from the surrounding text. Role-dependent: buttons.
- Instead of
Submit- Write
Create project
Destructive actions by name
Section titled “Destructive actions by name”Name a destructive action for what it does, never “Confirm.” In a confirmation, the primary button repeats the action from the title: Delete project, Remove member, Cancel subscription. A person who sees Confirm has to go back and reread the body to know what they’re confirming. Role-dependent: buttons, where a pattern catches the word “Confirm” on its own.
- Instead of
Confirm- Write
Delete 3 files
One primary action
Section titled “One primary action”Put one primary action on a screen, and make “Cancel” always mean nothing changes. One button gets the primary style; everything else is secondary or a link. If two actions feel equally primary, the screen is doing two jobs. Cancel is never primary, and selecting it saves no data and keeps no partial result.
- Instead of
- Save and Publish at the foot of the editor, both styled as primary buttons.
- Write
- Publish as the primary button, with Save draft as a secondary button beside it.

