Actions

Buttons and menu buttons.

Buttons

44px high, square, bold 0.875rem. One primary button per view. Words say what happens: "Save connection", not "OK".

http://example.test:8080

Variants

  • .btn--primary: the one main action.
  • .btn--quiet: Cancel and secondary links.
  • .btn--danger: removing; asks first in a dialog.
  • .btn--compact: 32px, inside dense tables only.

Accessibility

  • Icon-only buttons have a name that includes the thing: "More actions for The Salt Road".
  • A button that cannot act yet says why beside it, or stays available and explains when pressed.