Rise Layouts logo Rise LayoutsDesign and layout, explained clearly
Web Design

Button Design for Beginners and How Big a Button Should Be

You finish a page layout, show it to a friend, and they scroll right past the button you spent an hour on. Or they tap the wrong one on their phone because two links sit too close together.

Designer's monitor showing a set of colorful web buttons in different sizes and states next to a sketchbook

You finish a page layout, show it to a friend, and they scroll right past the button you spent an hour on. Or they tap the wrong one on their phone because two links sit too close together. Button design looks like the smallest job on a web page, yet it is where most beginner layouts quietly fail the reader.

This guide covers the practical numbers: how big a button should be, how much padding to give it, how to tell a primary button from a secondary one and which states you need to design before handing anything off.

Button design starts with size and tap targets

The most useful single number in button design is the minimum tap target. Apple's guidelines ask for 44 by 44 points, Google's Material guidance asks for 48 by 48 density independent pixels, and the WCAG 2.2 accessibility standard sets a floor of 24 by 24 CSS pixels with enhanced guidance at 44. In practice, design every tappable button at least 44 pixels tall and you will satisfy all three.

That does not mean the visible shape has to be huge. A text link in a footer can look small as long as the area around it that reacts to a tap is big enough. For main action buttons, though, keep the visible shape and the tap area the same, because people aim at what they can see.

Some starting sizes that work well on most sites:

  • Height: 44 to 48 px for standard buttons, 36 to 40 px for compact buttons inside tables or toolbars on desktop only.
  • Horizontal padding: 16 to 24 px on each side, so the label never touches the edge.
  • Label size: 15 to 17 px, the same as or slightly larger than your body text.
  • Spacing between buttons: at least 8 px, and 12 to 16 px on mobile where thumbs are less precise.
  • Corner radius: anything from 4 to 8 px, or fully rounded. Pick one and use it everywhere.

If you are unsure how your label size relates to the rest of the page, our guide on picking heading sizes with a type scale shows how to build a set of sizes that fit together.

Primary, secondary and text buttons

Most pages need a clear hierarchy of actions. When every button looks equally loud, the reader has to stop and think, and many simply leave.

TypeLookUse for
PrimarySolid fill in your accent color, white or dark labelThe one action you most want on this screen
SecondaryOutline or light tint, accent color labelA reasonable alternative, such as "Learn more"
TextLabel only, no borderLow-stakes actions like "Cancel" or "Skip"

The rule I teach is one primary button per visible section. A hero area with "Start free trial" and "See pricing" should make the first solid and the second outlined. The reader's eye lands on the filled shape first, which is exactly what you want. The same thinking applies to the whole page, as covered in designing a web page layout that guides the eye.

Color and contrast

The label must have a contrast ratio of at least 4.5 to 1 against the button fill. A white label on a mid green or light orange often fails this, even when it looks fine on your bright monitor. Check it in any contrast tool before you commit. The button shape itself should also stand out from the page background at 3 to 1 or better, so people can tell it is a button at all.

Writing button labels people trust

A label is the smallest piece of copy on the page and it carries the most weight. Three habits make a big difference:

  1. Start with a verb. "Download the guide" beats "Guide". "Book a call" beats "Calendar".
  2. Say what happens next. "Continue to payment" tells the reader they will not be charged yet. "Submit" tells them nothing.
  3. Keep it to one to four words. Long labels wrap on mobile, and a two line button looks broken.

Avoid vague pairs like "Yes" and "No" in dialogs. "Delete project" and "Keep project" leave no doubt about which button does what.

The button states beginners forget

A static mockup shows one version of each button. A live site needs at least five. When you hand a design to a developer, or build it yourself, sketch each of these:

  • Default: how it looks at rest.
  • Hover: a slightly darker or lighter fill on desktop, so the pointer gets feedback.
  • Focus: a visible outline, usually 2 px with a small offset, for people using a keyboard. Never remove it without replacing it.
  • Pressed: a darker shade for the split second of the click or tap.
  • Disabled: reduced contrast and no hover change.
  • Loading: a spinner or "Sending..." label so people do not tap twice.

In Figma, set these up as variants of one component. It takes about 20 minutes the first time and saves hours of inconsistent buttons later.

Why I avoid disabled buttons on forms

A common piece of advice says to grey out the submit button until every field in a form is valid. It sounds tidy. In practice it causes more problems than it solves.

A disabled button gives no reason. The reader sees a grey shape, taps it, and nothing happens. They do not know whether the site is broken or which of the eight fields is wrong. Low contrast disabled buttons are also hard to read for people with low vision, and many screen readers skip them entirely.

The better pattern is to keep the button active, let people press it, and then show clear error messages next to the fields that need fixing, with focus moved to the first problem. People learn faster from a specific message than from a locked door. The same principle sits behind our article on why placeholder text makes web forms harder: hidden or missing guidance always costs the reader more than visible guidance.

A quick button checklist

Before you call a layout finished, run every button through these questions. Is it at least 44 px tall? Does the label start with a verb? Is there only one primary action in this section? Does the label pass 4.5 to 1 contrast? Are hover, focus and pressed states designed? If all five answers are yes, your buttons are doing their job.

Frequently asked questions

What is the best button size for mobile?

Aim for at least 44 by 44 px, which meets Apple's guidelines and comfortably clears the WCAG minimum. Leave at least 8 to 12 px between neighbouring buttons so thumbs do not hit the wrong one.

Should buttons have rounded corners?

Rounded corners are a style choice, not a usability rule. What matters is consistency. Pick one radius, such as 6 px or fully rounded, and use it on every button so the reader learns what a button looks like on your site.

How many buttons should a web page have?

There is no fixed number, but each visible section should have one clear primary button. Extra actions can be secondary or text buttons so they stay available without competing for attention.

TB
Theo Brandt

Theo explains web and interface design for beginners, focused on clarity and usability over trends.

More posts by Theo

More in Web Design

01doorganico 084goad 3hot8 4465456 after5internprogram ahandfulofblessings ahmadpc ahomcybersecurity allodialresources annodex antiquesandperiodcollectibles aotc asianworldkashmir beedlectrics bloggertemplatefree bluefeatheragency bodyweightsolution campaign08blog carfixadvisor catstreetcollective cbstvsports cnfanspurchasing committeeof500yearsofdignityandresistance covertopsdjs cs-kaiyuangame cuestacomunicaciontotal cxoutlet dancebetgame deskgearhub destinyvillastay detectmagazine di33 diamondsteelbuildings donmo dyanadropship emarsysfinance emimattl escapechan eskitarih evautoplay everythingweddings-orlando farmzone feedviewerapp foxstudiosscratch gamevui123 gleasongrade greetingsday hacklabasu haskell iw-kaiyun jagoanproperti jilidskripsi joltbusinessfinance juegodepokergratis juegospucca kaeru-festival latestmehndidesigns lestanzediottaviano litemagazines localcommunityhero lustrsazan mariashebets menswheels newwebstechs1 nikkit ootheday oxigenvpn plurfitness prefetial probudgetcarpetcleaning psychicmrsmartin pyaten qvantor rejoignezlogis rexzbot ruchin rwxqsgd5 sakaltime shibiaowang shop-bot skrtips spotlesshaven strcoding tetapatrium topselller uneplanteartificielle vipertechcr webtech1223411 wo-kygaming yamaha-mekar yeknava yoybuysheets zenunwa yamaha-mekar jilidskripsi ankertoto ankertoto ankertoto