Buttons

Buttons allow users to take actions and make choices, with a single click.

Icon for component-button

Primary Button

The Primary Button description from Figma goes here

1<div> 2 <button class="button-primary">Primary Button</button> 3 </div>
Icon for copy

Secondary Button

The Secondary Button description from Figma goes here

1<div> 2 <button class="button-secondary">Secondary Button</button> 3 </div>
Icon for copy

Custom Type Button

The Outline Danger Button description from Figma goes here

1<div> 2 <button class="button-custom-type">Warning Button</button> 3 </div>
Icon for copy

Danger Button

The Danger Button description from Figma goes here

1<div> 2 <button class="button-danger">Danger Button</button> 3 </div>
Icon for copy

Dark Button

The Dark Button description from Figma goes here

1<div> 2 <button class="button-dark">Dark Button</button> 3 </div>
Icon for copy

Large Button

1<button class="btn btn-primary btn-lg"></button>
Icon for copy

Light Button

The Light Button description from Figma goes here

1<div> 2 <button class="button-light">Light Button</button> 3 </div>
Icon for copy

Medium Button

1<button class="btn btn-primary btn-md"></button>
Icon for copy

Outline Secondary Button

The Outline Secondary Button description from Figma goes here

1<div> 2 <button class="button-outline-secondary">Outline Button</button> 3 </div>
Icon for copy

Small Button

1<button class="btn btn-primary btn-sm"></button>
Icon for copy

Accessibility

Make it clear what this button does for the user.

DO

  • Make it clear what this button does for the user.

  • Use at most two buttons in one group.

  • Attribute indicating if the element should be.

DON'T

  • Use more than two words for call to action.

  • First letter of each sentence defaults to a capital letter.

  • Attribute indicating if the element should be.


Classes

Complete list of all CSS classes for the component.

NameClass
Primary Buttonbutton button-primary
Secondary Buttonbutton button-secondary
Custom Type Buttonbutton button-custom-type
Danger Buttonbutton button-danger
Dark Buttonbutton button-dark
Large Buttonbutton button-large
Light Buttonbutton button-light
Medium Buttonbutton button-medium
Outline Secondary Buttonbutton button-outline-secondary
Small Buttonbutton button-small