Design4 min

Button design best practices: size, states, labels and hierarchy

Button design best practices for apps and websites: touch target sizes, primary vs secondary hierarchy, every button state, clear labels and accessibility.

Saurabh YadavFounder, Design Studio by Saurabh
DesignButton designUI componentsAccessibility
Share

Buttons are the verbs of an interface. They're where intention turns into action, which is why a small change to a button can change how many people sign up, pay or give up.

Here are the button design best practices I use on every project.

1. Make them big enough to tap

Small buttons cause mis-taps and frustration, especially on phones and for people with motor impairments.

GuidelineMinimum target
Apple Human Interface Guidelines44 × 44 points
Material Design48 × 48 dp
WCAG 2.2 Target Size (Minimum, AA)24 × 24 CSS pixels, with exceptions

The visible button can be smaller than the target as long as the tappable area is big enough. I aim for 44 to 48 pixels for anything important.

2. Create a clear hierarchy

Every screen should have one obvious main action.

TypeLookUse for
PrimaryFilled, high contrastThe main action (one per view)
SecondaryOutlined or tonalAlternative actions
TertiaryText onlyLow-priority actions like "Skip"
DestructiveRed or clearly markedDeleting or cancelling something important

Tip

Squint at your screen. If you can't instantly tell which button matters most, your hierarchy isn't working.

3. Write labels that say what happens

A button label should describe the outcome, ideally starting with a verb.

  • "Submit" → "Create account"
  • "OK" → "Delete 3 photos"
  • "Continue" → "Continue to payment"

Specific labels reduce hesitation and errors. Match the label to the screen title or the user's goal. My post on plain language UX writing has more examples.

4. Design every state

A button isn't one design. It's a set of states, and missing states are a common source of bugs.

StateWhat it communicates
DefaultAvailable to use
HoverInteractive (desktop)
FocusKeyboard focus, must be clearly visible
Pressed / activeYour tap registered
LoadingWorking on it, don't tap again
DisabledNot available right now
Success / errorWhat happened

Watch out

Disabled buttons with no explanation are frustrating. If "Continue" is disabled, show what's missing, or keep it enabled and explain the problem when it's tapped.

5. Show loading inside the button

After a tap that triggers a network request, show a spinner or progress state inside the button and prevent double taps. This prevents duplicate payments and duplicate form submissions, and reassures people that something is happening.

6. Place buttons where thumbs and eyes expect them

  • On mobile, put the primary action in the bottom third, within thumb reach. See designing for one hand.
  • Keep button order consistent across the product.
  • Follow platform conventions for dialogs.

7. Make them accessible

  • Text and background contrast of at least 4.5:1 for normal text, and the button's boundary at least 3:1 against its surroundings. See the colour contrast guide.
  • Use a real button element, so keyboards and screen readers work.
  • Icon-only buttons need an accessible label.
  • Don't rely on colour alone to show a state.

A quick button checklist

  • Touch target at least 44 × 44
  • One clear primary action per view
  • Labels describe the outcome
  • All states designed, including focus and loading
  • Double taps prevented during loading
  • Contrast and focus rings meet WCAG

Work with us

Want this set up properly? Our design system agency builds Figma libraries, tokens and documentation that scale with your team.

FAQ

What is the ideal button size for mobile?

Aim for a touch target of at least 44 × 44 points (Apple) or 48 × 48 dp (Material Design). WCAG 2.2 sets a minimum of 24 × 24 CSS pixels, but larger targets are easier for everyone to tap.

How many primary buttons should a screen have?

One. A single primary button makes the main action obvious. Other actions should use secondary or tertiary styles so they don't compete.

What button states should designers create?

Default, hover, focus, pressed, loading and disabled at minimum, plus success or error feedback where relevant. Focus states are essential for keyboard users and are often forgotten.

Key takeaways

  • Make tap targets at least 44 to 48 pixels.
  • One primary action per view, with a clear hierarchy.
  • Labels should say exactly what will happen.
  • Design every state, especially focus and loading.
  • Meet contrast rules and use real button elements.

What to do next

Audit the buttons on your sign-up or checkout flow against the checklist above. If you'd like a full UI review or a design system with buttons done right, get in touch.

Saurabh Yadav's Memoji

Written by

Saurabh Yadav

Founder of Design Studio by Saurabh, a UI/UX design studio in India. We design apps and websites that feel effortless, from research to shipped pixels. Most recently: Pukaar.ai, as seen on Shark Tank India, and the Demerara Bank app.

Keep reading

All articles →