Buttons
Buttons are clickable elements that are used to trigger actions. They communicate calls to action to the user and allow users to interact with pages in a variety of ways. Button labels express what action will occur when the user interacts with them.
Uses
A screen may contain more than one button. We should display a single high-emphasis button (primary button), which may be accompanied by other buttons of lower emphasis (secondary or neutral) that perform less important actions. The level of emphasis of a button helps determine its appearance.
How to use
How not to use
Behaviour
Types of buttons by use
Primary
Secondary
Tertiary
Neutral
Types of buttons by size
S
M
L
XL
Types of buttons by content
Text
Icon + Text
Text + Icon
Icon
Types of buttons by states
Active
Hover
Focus
Pressed
Disabled
States of chatbot button
Default
Hover
Focus
Pressed
Disabled
Accessibility
This component has been validated to comply with the accessibility requirements of UNE-EN 301549:2022 which encompasses the criteria of WCAG 2.1 (AA), however, changes to content and styles may affect accessibility compliance. Be sure to review and follow the guidelines in this section when updating or adding new content or styling to this component.
This website uses own and third party cookies to provide a better service. If you continue browsing we consider that you accept its use.