Notes On Work - by Caleb Porzio

The height of a button says everything about your design system

· Summarized

Share this episode
Anyone with this link can open it.
Share Link
Start at 0:00

Key takeaways

  • A design system’s default button is a useful diagnostic: if its complete component is well designed, many other components become easier to establish.
  • The height of inputs and other controls should determine the default button height, since buttons frequently sit beside or within those controls.
  • Common control scales range from roughly 28 pixels in compact systems to 40 pixels in spacious ones, with 36 pixels offering a balanced compromise for Flux.
  • Button radius should generally shrink as the button size shrinks; 8 pixels is a standard radius, while 6 pixels feels tighter and 10 pixels rounder.
  • The speaker has identified patterns in typography and spacing but has not yet settled on a precise theory for how line heights and gaps should scale.

Summary

Why Flux needs a deliberate redesign

The speaker is reconsidering Flux for React, alongside work on Paraframe and a future Flux revision. Rather than asking Fable 5.2 to generate “Flux for React”—which they have already done several times—they want a system they have personally “sweat over,” not more generic slop. They also want to revisit Flux itself because roughly two or three years have passed since its original release and application design has changed. Their starting thesis is that a design system can be understood through its default button: once the button component is right, the rest of the system becomes much easier to build.

ChatGPT revealed a 36-pixel interface pattern

The speaker began investigating interfaces by inspecting ChatGPT, after finding its controls unusually light and airy. DevTools showed an unexpectedly consistent rule: nearly every interactive element—buttons, dropdowns, inputs, sidebar items, and menu items—is 36 pixels tall. The main prompt box is roughly 44 pixels, but the speaker treats that as a special “hero” control. They then compared this with Flux’s 40-pixel default buttons and inputs, the same size they found in YouTube, Airbnb, and TransferWise. This led them to examine many applications, settings pages, login forms, and onboarding flows rather than relying on generated recommendations.

Four density levels emerge from surveying applications

The speaker records each button using height, horizontal padding, border radius, font size, line height, and weight—although the weight is almost always 500. Most interfaces use 14-pixel text with a 20-pixel line height, while compact systems such as Shopify and Linear often use 13 pixels, 12 pixels, or even 10 pixels. They describe broad categories including spacious, balanced, and compact systems, with the boundaries overlapping. Airbnb, YouTube, TransferWise, and Flux are spacious; ChatGPT and Cloudflare are around 36 pixels; Linear, Shopify, and Stripe are denser, with Figma and possibly Paper smaller still.

Control height determines the practical button scale

The speaker argues that the most important measurement may be the application’s control height—meaning the height of inputs and related form controls—because buttons placed beside inputs must fit the same scale. Their examples range from Adio at about 28 pixels, Linear at 32, ChatGPT at 36, and Flux, YouTube, and Airbnb at 40. Forty pixels feels “big and jolly,” but the speaker finds Flux’s 40-pixel buttons too large inside settings cards, while smaller buttons feel too small. Switching Flux’s default to 36 pixels would make those card controls feel better balanced, like ChatGPT’s.

Radius and exceptional button sizes should follow the scale

For border radius, the speaker identifies 8 pixels as a standard value, 6 pixels as tighter, and 10 pixels as a more modern, rounded choice. As buttons get smaller, the radius should usually shrink by about 2 pixels. They consider large and extra-small variants unnecessary in most systems, though an extra-small control can help when placing an X or similar action inside an input. A hero button is likewise optional rather than foundational: Flux generally stops at 40 pixels, but a landing-page button may be a one-off 48-pixel control.

The speaker’s broader spacing theory remains unfinished

The speaker then tries to develop a unified theory for type sizes, line heights, gaps, and associations, while admitting they may be “talking out of my ass.” Common typography pairs include 14/20, 16/24, 18/28, 20/28, and 24/32, suggesting that line-height gaps change as text grows; very large hero text eventually approaches a line height equal to its font size. They suspect spacing behaves similarly: small objects need proportionally larger gaps, while large objects can sit closer together. A form might use 4 pixels from label to input, 16 between fields, and 24 before a save button, but the exact curve is unresolved.

Follow this show on AudioBrevity and new episodes get summarized for you. Create a free account

Couldn't load the audio. A blocker may be stopping the show's tracking links. Open the file