Primary
Use primary buttons for the highest-priority action that the user must do to complete the task. Primary buttons should only be used once per page, though an additional primary button can appear within modals, popovers, or alerts when needed to signal critical actions.
Only use the on-dark-background variation when the button is placed on dark backgrounds (e.g., on popovers or modal dialogs).
-
htmlCopy to Clipboard
<button class="indi-button indi-button--primary" type=button> Button Text </button>
-
htmlCopy to Clipboard
<button class="indi-button indi-button--primary indi-button--on-dark" type=button> Button Text </button>
-
htmlCopy to Clipboard
<button class="indi-button indi-button--primary indi-button--disabled" type=button> Button Text </button>