Button. Overview

What does the component do?

  • It triggers an action.

When should the component be used?

  • When starting or ending a process.
  • When sending a form.
  • When selecting a function.

Rules

  • It cannot be used within body copy.
  • The text is always single-line.
  • Only one primary button can be used per page/dialogue.
  • Several secondary buttons are permitted per page/dialogue.
  • Secondary buttons can only be used if a primary button already exists.
Variants

States

The component has the following states:

  • Normal
  • Pressed
  • Disabled
  • Loading

Variants

Primary

[object Promise]

  • Full width of the screen or modal dialogue (minus spacing).

Secondary

[object Promise]

  • Full width of the screen or modal dialogue (minus spacing).

Tertiary

Label and Icon

[object Promise]

Label

[object Promise]

Icon

[object Promise]

Tertiary small

Label and Icon

[object Promise]

Label

[object Promise]

Icon

[object Promise]

Specification

[object Promise]