Mesa Design System White Logo

A button is an element in web design that represents an action or operation that the user can perform on a platform. Buttons are typically used for actions such as submitting a form, navigating to another page, confirming a decision, or initiating a process. They are visually designed to draw attention to the user to encourage them to interact with it.

Color

Primary Color

ElementPropertyColor token
LabelText Color$text-on-color
Iconsvg$icon-on-color
Containerbackground-color$button-primary
Container:hoverbackground-color$button-primary-hover
Container:activebackground-color$button-primary-active
Container:focusborder$border-focus

 

Secondary button

ElementPropertyColor token
LabelText Color$text-on-color
Iconsvg$icon-brand
Containerbackground-color$button-inverse
Borderborder$button-primary
Border:hoverborder$button-primary-hover

 

Typography

ElementFont-size (px/rem)Font-weightType token
Button text18 / 1.125Semibold / 600$title-01

Structure

Margins and padding

ElementPropertypx / remSpacing token
Containerpadding-left, padding-right24 / 1.5$spacing-06
Containerpadding-top, padding-bottom12 / 0.75$spacing-04
Iconheight13px