Related components
Links to navigate to a new page, website, file, or section on the current page.
Details to hide or show a section of content.
<gcds-button>
Also called: call to action, CTA.
The button is an interactive object that emphasizes an action.
Take a look at what buttons do to see if they fit the problem you're solving for. Then select the best subtype, called the button role, for the use case you need to meet.
Use a button to initiate an action, like:
Links to navigate to a new page, website, file, or section on the current page.
Details to hide or show a section of content.
The button type changes the HTML to do a specific task. Pick the type based on the function you need.
Use the button type when you're expecting a person to:
Use the submit type when you're expecting a person to:
Use the reset type when you're expecting a person to:
Tip: Use the reset type sparingly as it’s a destructive action.
Use the link type when you’re expecting a person to:
Note: Use the link component when you need to embed a link in paragraph text or navigation bars.
The button role changes the styling of a button to visually signal its action. Pick the role that best fits the action.
Primary button preview
Note: More than one main call to action on the same page makes it harder for a person to know what to do next.
Start button preview
Formerly called supertask button.
Tip: Use either primary button or start button on a page, not both.
Secondary button preview
Danger button preview
Tip: For permanent actions, ask a second time so a person explicitly agrees before accepting.
Have questions or a request? Give feedback on our contact form.
Something's wrong? Raise it through GitHub with an