Icon button

Close, back and help. A 52pt circle that is the whole hit area.

Specs

Every value is a token from Foundations. The names match Figma and the Flutter file.

Size
52 circle (size/icon-button), also the hit area
Icon
26pt, from the Moonshot set: 2.5 stroke, round ends
Help
the plain question mark (Icon/Question), never the ringed one: the button is already the ring
Filled
bg/control, pressed bg/control-pressed
Plain
no fill until pressed
Accent
accent/fill with a text/on-accent icon (5.89:1), pressed accent/pressed. Solid in the glass modes, like the primary button
Action row
four Accent buttons spread over the width, each with its name under it in Moonshot/Caption, text/secondary, 8 below the circle

Usage

Do

  • Use Filled or Plain for chrome: close, back, help.
  • Use Accent for the coin page's action row: Share, Send, Receive, Alerts.

Don't

  • Don't use an icon button for the main action.
  • Don't use Accent for chrome, or the header competes with the actions.
  • Don't drop below 52.

Accessibility

  • Always has an aria-label that names the action ("Close", not "X").
  • Focus: a 2px focus/ring 2px outside the shape, for keyboard and switch control only. Targets are 44pt or more.