Buttons are used to signal actions, submit forms, or trigger new content within the current context. Buttons can be grouped when multiple calls to action are available. If a primary call to action exists, that should lead the list and be styled accordingly.
Icons can be added to buttons if it improves usability and discoverability.
Asking the user to do something. Such as:
Author: Mary Ditchen
Since: 0.9.0
Source: /source/patterns/components/buttons.scss#L9
<!-- button -->
<a class="c-button" href="#">Button Link</a>
<!-- button secondary -->
<a class="c-button c-button--secondary" href="#">Button Link</a>
<!-- button disabled -->
<a class="c-button c-button--disabled" href="#">Button Link</a>
<!-- button disabled secondary -->
<a class="c-button c-button--disabled c-button--secondary" href="#">Button Link</a>
Author: Mary Ditchen
Since: 0.9.0
Source: /source/patterns/components/buttons.scss#L117
<!-- button neutral -->
<a class="c-button c-button--neutral" href="#">Button Link</a>
<!-- button neutral secondary -->
<a class="c-button c-button--neutral c-button--secondary" href="#">Button Link</a>
<!-- button disabled neutral -->
<a class="c-button c-button--neutral c-button--disabled" href="#">Button Link</a>
<!-- button disabled neutral secondary -->
<a class="c-button c-button--neutral c-button--disabled c-button--secondary" href="#">Button Link</a>
Author: Mary Ditchen
Since: 0.9.0
Source: /source/patterns/components/buttons.scss#L224
<!-- button on-dark -->
<a class="c-button c-button--on-dark" href="#">Button Link</a>
<!-- button on-dark secondary -->
<a class="c-button c-button--on-dark c-button--secondary" href="#">Button Link</a>
<!-- button disabled on dark -->
<a class="c-button c-button--on-dark c-button--disabled" href="#">Button Link</a>
<!-- button disabled on dark secondary -->
<a class="c-button c-button--on-dark c-button--disabled c-button--secondary" href="#">Button Link</a>
Author: Mary Ditchen
Since: 0.9.0
Source: /source/patterns/components/buttons.scss#L334
<!-- button with icon -->
<a class="c-button c-button--icon" href="#">
<span class="c-button__copy u-space-inline-right-compact">Button Link</span>
<span class="c-button__icon icon-download" aria-hidden="true" focusable="false"><!--icon--></span>
</a>
Author: Mary Ditchen
Since: 0.9.0
Source: /source/patterns/components/buttons.scss#L359
<!-- button full width -->
<a class="c-button c-button--full-width" href="#">Button Link</a>
Author: Mary Ditchen
Since: 0.9.0
Source: /source/patterns/components/buttons.scss#L371
<!-- button small -->
<a class="c-button c-button--small" href="#">Button Link</a>
Author: Mary Ditchen
Since: 0.9.0
Source: /source/patterns/components/buttons.scss#L384
<!-- button large -->
<a class="c-button c-button--large" href="#">Button Link</a>
Author: Mary Ditchen
Since: 0.9.0
Source: /source/patterns/components/buttons.scss#L397
<!-- button jumbo -->
<a class="c-button c-button--jumbo" href="#">Button Link</a>