Orb
The loading state: a dark sphere with a light travelling around its edge.
| Name | Type | What it does |
|---|---|---|
orb | component | The sphere. Put a label inside, or leave it empty |
orb-sm | size | Icon-sized |
--s | modifier | CSS variable: the diameter |
orb-primary | colour | Tints it with the primary colour |
orb-secondary | colour | Tints it with the secondary colour |
orb-success | colour | Tints it with the success colour |
orb-warning | colour | Tints it with the warning colour |
orb-danger | colour | Tints it with the danger colour |
Orb with a label
Generating
<div class="orb" role="status"><span class="shimmer">Generating</span></div>Sizes and colours
<div class="orb orb-secondary" role="status" aria-label="Loading" style="--s: 5rem"></div>
<span class="orb orb-sm" role="status" aria-label="Loading"></span>