Button

Buttons are clickable items used to perform an action.

<!--Types-->
<button type="button" class="btn btn-primary">Default</button>
<button type="button" class="btn btn-outline">Outlined</button>
<button type="button" class="btn btn-link">Link</button>

<!--Variants-->
 <button type="button" class="btn btn-primary"><i class="fal fa-list-alt mr-2"></i>Icon left</button>
<button type="button" class="btn btn-link"><i class="fal fa-list-alt mr-2"></i>Text</button>
<button type="button" class="btn icon-only"><i class="fal fa-list-alt"></i></button>

When to be used

Buttons should be used in situations where users might need to:

  • submit a form

  • begin a new task

  • trigger a new UI element to appear on the page

  • specify a new or next step in a process

Last updated