Button design basics: sizes, states and primary vs secondary vs tertiary actions
Buttons are the most used interactive element in most products, and getting their system right removes many small design decisions later.
Hierarchy
- Primary: the main action on a screen or section. Usually filled with the brand or accent colour. Ideally one per view or area.
- Secondary: alternative actions, often outlined or with a subtle fill.
- Tertiary / text buttons: low-emphasis actions like "Cancel" or "Learn more".
- Destructive: actions like delete, usually styled with a danger colour, and often requiring confirmation.
States to design for every button:
- Default, hover, pressed (active), focus (a clearly visible ring for keyboard users), disabled and loading.
Sizing
- Touch targets: platform guidelines recommend minimum sizes in the region of 44 to 48 points/pixels for comfortable tapping, even if the visual button is smaller.
- Offer a small set of sizes, like small, medium and large, and use them consistently.
Labels
- Use verbs that describe the outcome: "Save changes", "Send invoice", rather than "OK" or "Submit".
- Keep labels short; avoid all caps for long text.
Disabled buttons: they can confuse users who do not know why they cannot proceed. Consider allowing the click and showing what is missing.
Discussion:
- How do you handle multiple primary actions competing on one screen?
- Disabled buttons or validation on click: which do you prefer?
Comments · 3
Don't forget focus and disabled states. A visible focus ring is essential for keyboard users, and a disabled button should still be readable and not look like it's broken.
One primary button per screen area is a good rule of thumb. If three buttons all scream "click me", nothing stands out.
Label buttons with a verb that describes the result, like "Start free trial" and not "Submit". It consistently improves clarity and conversion.