18 / 18

Principle 18

One primary action per view

A screen should answer one question at a glance: what is the next step. When three buttons shout, none of them does, and the person has to stop and compare.

In a real interface

✕ Avoid

✓ Do

01

Why

Apple asks to keep the number of prominent buttons to one or two per view, because presenting too many increases cognitive load and makes people spend more time considering options before choosing.

NN/g describes the hierarchy: primary buttons have the most visual emphasis to direct attention to an important or common action, and secondary buttons have medium emphasis for actions that are less important.

02

How to apply it

Give the most likely action the filled, accented style, which is what Apple recommends for the most likely action in a view. Everything else goes to an outline, a text button or a menu.

Refactoring UI calls this de-emphasize to emphasize: often the primary stands out because the rest stepped back, not because it got louder. Label it with what it does; Vercel's example is Save API Key instead of Continue.

03

Edge cases

A destructive action is never the styled primary by default, even if it is common. Lists with an action per row keep those actions quiet, so the page still has one clear main step.

✓ Do

  • Fill only the most likely action
  • Turn the rest into outline or text buttons
  • Label the primary with its result
  • Lower the others before raising the primary

✕ Avoid

  • Give two actions the same filled style
  • Style a destructive action as primary
  • Use Continue or Submit as the label
  • Repeat a loud button on every row

For agents · PRINCIPLE.md

## One primary action per view

 

- Only the most likely action gets the filled, accented style.

- Every other action is an outline button, a text button or a menu item.

- Label the primary with its result, never Continue or Submit.

- Destructive actions are never the styled primary by default.

Enforced bytypebien one primary action per pagekero-audit warns when more than one action looks primary