Button
One primary action per screen. Loading is disabled and busy, and says what it is doing.
Variants
Sizes
States
Usage in Nuxt
<button type="button" class="or-btn or-btn--primary">
<Icon name="save" :size="16" />
Save changes
</button>
<button type="button" class="or-btn or-btn--icon or-btn--sm" aria-label="Notifications">
<Icon name="bell" :size="16" />
</button>
<!-- Loading: disabled and busy, the label says what is happening. -->
<button type="button" class="or-btn or-btn--primary" disabled aria-busy="true">
<Icon name="loader-circle" :size="16" class="or-spin" />
Saving…
</button>