Twelve pixels
from the edge

Buttons, fields and menu items put their text 12px in from a 32 or 36px box and 16px in from a 40px one. Each specimen below measures that distance live, and a popup measures its first item against the control that opened it.

Measured px from the box edge to its text, border included, over the expected value.

Sizes

Square and pill share one padding per size, 10, 12, 12 and 16; the icon side sits a half step in.

xs · square
– / 11
xs · pill
– / 11
xs · icon
– / 9
sm · square
– / 13
sm · pill
– / 13
sm · icon
– / 11
sm · toggle
– / 13
default · square
– / 13
default · pill
– / 13
default · icon
– / 11
default · toggle
– / 13
lg · square
– / 17
lg · pill
– / 17
lg · icon
– / 15
lg · toggle
– / 17

Fields

Inside an input group an icon starts at the inset and the text 6px after it. Large fields sit their text 16px in, like a large button.

Input
– / 13
Input · lg
– / 17
Textarea · lg
– / 17
Native select · lg
– / 17
Select · lg
– / 17
Input group · lg icon
– / 39
Input group · lg button
– / 17
Input group · lg icon button
– / 12
Combobox chips · lg
– / 17
Textarea
– / 13
Native select
– / 13
Select · sm
– / 13
Input group · icon
– / 35
Input group · text
USD
– / 13
Input group · button
– / 17
Input group · icon button
– / 10
Button group · text
https://
– / 13
Button group · input
– / 13
Combobox chips
– / 13
Tabs
– / 13

Popups

Held open. The second number is the first item's text against the control that opened it; a large root sizes its popup with its trigger.

Menu · outline
– / 13
Menu · pill
– / 13
Menu · ghost
– / 13
Menu · sm
– / 13
Select · grouped
– / 13
Select · flat
– / 13
Combobox
– / 13
Menu · lg
– / 17
Menu · lg pill
– / 17
Select · lg
– / 17
Combobox · lg
– / 17
Menubar
– / 13

In a form

Go to a page

Search every page in the navigation.