Buttons

figma:ready
react:ready
scss:ready
freemarker:ready
vue:ready
webComponent:ready

Anatomy

presentation-buttons

Properties

Layout / sizes

Size nameHeightPaddingsFont-sizeradius
Small32px (2mu)16px (1mu)size.font.04 (14px)radius.m (4px)
Medium (Default size)48px (3mu)32px (2mu)size.font.05 (16px)radius.m (4px)
Large56px (3.5mu)40px (2.5mu)size.font.06 (18px)radius.m (4px)

Icon / sizes

Size nameWidth and height
S16px (1mu)
M24px (1.5mu)
L32px (2mu)

Color themes

Available themes are :

  • solid
  • solid-neutral
  • solid-primary-02
  • solid-danger
  • bordered
  • bordered-neutral
  • bordered-primary-02
  • bordered-danger

buttons states colors are defnied for each theme :

StatePropertyToken
Defaultbackground-colorcolor.button.[theme].background
Defaultcolorcolor.button.[theme].font
Defaultborder-colorcolor.button.[theme].border
Hoverbackground-colorcolor.button.[theme].hover.background
Hovercolorcolor.button.[theme].hover.font
Focusborder-colorcolor.button.[theme].focus.border
Activebackground-colorcolor.button.[theme].active.background
Disabledbackground-colorcolor.button.[theme].disabled.background
Disabledcolorcolor.button.[theme].disabled.font