3 #permalink Buttons

The button tag defines a clickable button. Inside a button element you can put content, like text or images. This is the difference between this element and buttons created with the input element.

.button
Basic .button used throughout the site.
Link button Small button
.button--inverse
Basic .button used throughout the site.
Link button Small button
.button--transparent--dark
A transparent button with gray text and border.
Link button Small button
.button--transparent--light
A transparent button with white text and border.
Link button Small button
.button-sm
Use .button-sm for small buttons.
Link button Small button
.button--success
Use .button for most common page actions.
Link button Small button
.button--success--inverse
Use .button for most common page actions.
Link button Small button
.button--success--transparent
Use .button for most common page actions.
Link button Small button
.button--purple
A flat purple button.
Link button Small button
.button--purple--inverse
A flat purple button.
Link button Small button
.button--purple--transparent
A flat purple button.
Link button Small button
.button--warning
To indicate to a user that an intended action is potentially dangerous, apply the .button--warning class to a button or link.
Link button Small button
.button--warning--inverse
To indicate to a user that an intended action is potentially dangerous, apply the .button--warning class to a button or link.
Link button Small button
.button--warning--transparent
To indicate to a user that an intended action is potentially dangerous, apply the .button--warning class to a button or link.
Link button Small button
.button--info
Use this for links that provide additional information.
Link button Small button
.button--info--inverse
Use this for links that provide additional information.
Link button Small button
.button--info--transparent
Use this for links that provide additional information.
Link button Small button
.button--dark-gray
A dark button to be used in the footer.
Link button Small button
.button--dark-gray--inverse
A dark button to be used in the footer.
Link button Small button
.button--dark-gray--transparent
A dark button to be used in the footer.
Link button Small button
<button class="[modifier class]">Button Element</button>
<a class="button [modifier class]" href="#" role="button">Link button</a>
<a class="button [modifier class] button-sm" href="#" role="button">Small button</a>
.button--dark-gray
Dark Gray button group.
.button--green
Green button group.
.button--blue
Blue button group.
.button--purple
Purple button group.
<div class="button-group">
  <button class="button [modifier class]">Button Element</button>
  <button class="button [modifier class]">Button Element</button>
  <button class="button [modifier class]">Button Element</button>
</div>
.disabled
Basic .button used throughout the site.
Disabled button Small button
.button--transparent--dark
A transparent button with gray text and border
Disabled button Small button
.button--transparent--light
A transparent button with white text and border.
Disabled button Small button
.button--success
Use .button for most common page actions.
Disabled button Small button
.button--success--inverse
Use .button for most common page actions.
Disabled button Small button
.button--success--transparent
Use .button for most common page actions.
Disabled button Small button
.button--purple
A flat purple button
Disabled button Small button
.button--purple--inverse
A flat purple button.
Disabled button Small button
.button--purple--transparent
A flat purple button.
Disabled button Small button
.button--warning
To indicate to a user that an intended action is potentially dangerous, apply the .button--warning class to a button or link.
Disabled button Small button
.button--warning--inverse
To indicate to a user that an intended action is potentially dangerous, apply the .button--warning class to a button or link.
Disabled button Small button
.button--warning--transparent
To indicate to a user that an intended action is potentially dangerous, apply the .button--warning class to a button or link.
Disabled button Small button
.button--info
Use this for links that provide additional information.
Disabled button Small button
.button--info--inverse
Use this for links that provide additional information.
Disabled button Small button
.button--info--transparent
Use this for links that provide additional information.
Disabled button Small button
.button--dark-gray
A dark button to be used in the footer.
Disabled button Small button
.button--dark-gray--inverse
A dark button to be used in the footer.
Disabled button Small button
.button--dark-gray--transparent
A dark button to be used in the footer.
Disabled button Small button
<button class="button [modifier class]" type="button" disabled>Disabled button</button>
<a class="button [modifier class] disabled" href="#" role="button">Disabled button</a>
<a class="button [modifier class] disabled button-sm" href="#" role="button">Small button</a>