Shape and borders

Identify an action, field or panel by its outline. Use the stronger boundary around controls.

Corner radii

  • Small detail6px--ex-radius-small
  • Field or secondary button10px--ex-radius-field
  • Panel or dialog14px--ex-radius-panel
  • Primary buttonFull pill--ex-radius-button

Border colours and thicknesses

  • Divider · 1pxSeparate two rows.--ex-border
  • Field outline · 1pxIdentify an editable field.--ex-control-border
  • Secondary button · 2pxGive a supporting action a clear edge.--ex-control-border
  • Keyboard focus · 2pxLeave a 3px gap around the control.--ex-focus

See the light and dark border colours

Try the focus ring

Tab to the field to see its focus ring.

Try a centred dialog

Flat and raised surfaces

Page section
Floating menu

A page section can rest on the canvas. A menu uses the raised shadow to show where it sits above its trigger.