Button
One primary action per screen. Loading is disabled and busy, and says what it is doing.
Variants
Sizes
States
Usage in Next.js
<button type="button" className="or-btn or-btn--primary">
<Icon name="save" size={16} />
Save changes
</button>
<button type="button" className="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" className="or-btn or-btn--primary" disabled aria-busy="true">
<Icon name="loader-circle" size={16} className="or-spin" />
Saving…
</button>