Tooltip

A small dark label that appears on hover. Used sparingly — only when the trigger isn't already self-explanatory.

Stable .tooltip Dark by default12 px label

Usage

Hover-reveal label for icon-only triggers. Always pair with an aria-label so screen readers see the label too.

Settings
Print Z-report ⌘P
Add filter

Placement

Four placements. Default is bottom; use top when the trigger sits near the page bottom.

Above
Below
On the left
On the right

With keyboard shortcut

Tooltips for buttons with shortcuts pair the label with a Kbd.

Charge saleF12
Search⌘K

Anatomy

PropertyValueNotes
bg--inkDark by default; very rarely surface
fg--canvas
padding5 px 9 px7 px 12 px when shortcut is included
radius6 px8 px for the shortcut variant
delay300 ms hover-in120 ms hover-out
offset8 px from trigger

Do & don't

Do

Use a tooltip on icon-only buttons. They look ambiguous without one.

Don't

Add a tooltip to a labeled button. The label already says what it does.

Do

Keep the text under three words when possible.

Don't

Use a tooltip to hide essential information. Long descriptions belong inline or in a popover.