Web Design & UI/UX8 min read

Why Your Buttons Look Junior: 6 Button Design Fixes

Six button design fixes that make an interface look senior: one filled button, style over size, padding wider than tall, labels on one line, the main action on the right and actions that look tappable. Each shown side by side, with the values.

By Boone
XLinkedIn
Why Your Buttons Look Junior: 6 Button Design Fixes

A button has one job: tell people what to press next. Buttons look junior when every one of them shouts, when they change size to make a point, or when they stop looking like buttons at all. Below are six fixes, each built side by side on a real screen, with the values you can copy.

1. One filled button per screen

Junior

A publish dialog with three identical filled blue buttons: Publish Now, Schedule for Later and Save as Draft

Senior

The same dialog with a filled Publish Now button, an outlined Schedule for Later button and a plain text Save as Draft link

Three filled buttons ask the reader to compare all three before doing anything. One filled button answers the question for them.

Publish is what most people came to do, so it gets the color. Scheduling is a real option, so it keeps a border. Saving a draft is the quiet way out, so it is text.

This is the button hierarchy most design systems use: filled, then outlined, then text. Material Design puts it plainly, a layout should have a single prominent button. Apple allows one or two prominent buttons per view. If you have two filled buttons on one screen, one of them is usually wrong.

In CSS the three levels are one component with three variants. The filled one gets background: #0570DE; color: #fff. The outlined one gets background: #fff; border: 1px solid #D5DBE1. The text one drops the background and the border and keeps the blue label.

2. Use style, not size

Junior

A trial ending card with a tiny 34 pixel Not Now button next to a large 56 pixel Upgrade to Pro button

Senior

The same card with two 48 pixel buttons of the same width, Not Now outlined and Upgrade to Pro filled

Making the preferred button bigger feels persuasive, but it reads as a mistake. The pair stops lining up, and the small one looks like it was forgotten. Keep both buttons the same height and width, and let the fill do the persuading. Upgrade is filled, Not Now is outlined, and the choice is still clear.

Apple's guidelines say the same: two buttons of different sizes near each other look confusing and inconsistent. Pick one height for your buttons and use it everywhere. The examples here use 48, but the exact number matters less than using the same one on every button in a row.

3. Pad wider than tall

Junior

A Send Invoice button with 16 pixels of padding top and bottom and only 6 on the left and right, drawn in pink

Senior

The same button with 12 pixels top and bottom and 24 on the left and right

A button with more padding above the label than beside it looks squeezed, like the label is about to fall out of the sides. Flip it. Less padding top and bottom, more on the left and right. The pink bands show the padding the way Figma draws auto layout.

Material's 2019 button spec uses 16 on the left and right. We use 12 and 24 here because the extra side room makes a short label like "Send Invoice" feel deliberate. In Figma auto layout, set vertical padding to 12 and horizontal to 24 on the button frame. In CSS that is padding: 12px 24px.

4. Keep labels on one line

Junior

A Camp Mug product card with two narrow buttons whose labels wrap onto two lines: Continue to Payment and Keep Shopping

Senior

The same card with both buttons full width and stacked, each label on one line

A label that wraps turns a button into a paragraph. People read the first line, miss the second, and the two buttons stop matching. When two labels do not fit side by side, give each button the full width and stack them, main action on top.

Material says it directly: do not wrap button text. It also says not to stack buttons when there is room to put them side by side, so stacking is the fix only when the row is too narrow, as on this phone card. In CSS, add white-space: nowrap to the label so a wrap shows up as overflow in testing, not as a two-line button in production.

5. Main action on the right

Junior

A Save your changes dialog with Save on the left and Cancel on the right

Senior

The same dialog with Cancel on the left and Save on the right, both aligned to the right edge

People read a dialog left to right and end on the answer. Put Cancel first and the main action last, at the trailing edge, where the eye finishes. Align the pair to the right of the footer, the way Shopify Polaris modals do.

Apple's alert guidelines place the default button on the trailing side of a row and Cancel on the leading side. Trailing means right in left-to-right languages, so in Arabic or Persian the whole row flips. Use justify-content: flex-end on the footer and let dir="rtl" mirror it for you.

6. Make it look tappable

Junior

A weekly revenue card for Maya Chen where View Report is set in the same plain dark text as the sentence above it

Senior

The same card with View Report as a full width filled blue button with an arrow

"View Report" set like the sentence above it is not an action, it is another line to read past. Give it a shape, a color and an arrow, and it says "tap me" before anyone reads it.

This one is measured. NN/g tested pages where clickable things looked flat and plain, and people spent 22% more time on them and made 25% more fixations looking for what to click. If an action can be missed, it will be.

At the very least, a text action needs its own color and weight. Better, give the main action a real button.

The six fixes in one table

#JuniorSeniorValue
1Three filled buttonsFilled, outlined, textOne filled button per screen
234 tall next to 56 tallSame size, different styleOne height, such as 48
316 top, 6 sidesWider than tall12 top and bottom, 24 sides
4Label wraps to two linesFull width, stackedwhite-space: nowrap
5Save left, Cancel rightCancel left, Save rightjustify-content: flex-end
6Action looks like textFilled button with an arrowShape, color and an icon

Every example uses #0570DE, the default primary color in Stripe's Appearance API, with a radius of 6 and buttons 48 tall. The radius and height are our picks.

Once the buttons are right, check what they say. Our button labels paper covers why "OK" and "Submit" fail. The same junior-to-senior fixes for the rest of the screen are in cards, colors and typography.

FAQ

How many primary buttons should a screen have?

One. A single filled button marks the main action. Other actions step down to outlined or text buttons. Apple allows two prominent buttons per view at most.

What is the difference between a primary and a secondary button?

Style. The primary button is filled with your brand color. A secondary button is outlined or plain text. Both keep the same height so the row lines up.

How much padding should a button have?

More on the sides than on the top and bottom. 12 vertical and 24 horizontal is a good default. Material's 2019 spec uses 16 on each side.

Should the Cancel button be on the left or right?

On the left, with the main action on the right. That follows Apple's guidelines for left-to-right languages. Windows dialogs have historically put OK before Cancel, so on a Windows desktop app follow the platform.

Can a button label go onto two lines?

No. Keep labels on one line. If the label does not fit, make the button full width, stack the buttons, or write a shorter label.

Why do my buttons look amateur?

Usually too many filled buttons, mixed sizes and tight side padding. Fix those three first and most screens look senior.

Sources

  • Buttons, Material Design (2019 edition): a single prominent button per layout, 16dp side padding, do not wrap text, text buttons need a distinct color or style.
  • Buttons, Apple Human Interface Guidelines: one or two prominent buttons per view, distinguish the preferred choice by style, not size.
  • Alerts, Apple Human Interface Guidelines: the default button on the trailing side, Cancel on the leading side.
  • Dialog boxes, Microsoft Windows design guidelines: commit buttons right-aligned, with OK before Cancel.
  • Flat UI Elements Attract Less Attention and Cause Uncertainty, Kate Moran, NN/g, 2017: 22% more time and 25% more fixations on pages with weak signifiers.
  • Appearance API, Stripe: #0570DE is the default primary color. White text on it is 4.8:1, which passes WCAG AA.
  • The examples use Stripe's default primary color and a Shopify Polaris style modal footer. The lookbook, the Pro trial and its price, the Camp Mug and its prices, the invoice, Maya Chen, Fern & Co and the $48,210 report are invented. The 12 and 24 padding, the radius of 6 and the 48 height are values we chose, not standards.
  • First published as a carousel on UX Brainy.

More from Brainy Papers

Keep reading