Inline loading
Color
Class | Property | Color token |
---|---|---|
.bx--loading__background | stroke | $ui-03 |
.bx--loading__stroke | stroke | $interactive-04 |
.bx--inline-loading__text | color | $text-02 |
status: finished | svg | $support-02 |
status: finished | svg | $support-01 |
![Example of inline loading states Example of inline loading states](/static/5e043773e48e5e1decd805f54eea1954/3cbba/inline-loading-states.png)
Typography
Button text should be set in sentence case, with only the first word in a phrase and any proper nouns capitalized.
Class | Font-size (px/rem) | Font-weight | Type token |
---|---|---|---|
.bx--inline-loading__text | 12 / 0.75 | Regular / 400 | $label-01 |
Structure
Class | Property | px / rem | Spacing token |
---|---|---|---|
Spinner | width, height | 16 / 1 | – |
Checkmark | width, height | 16 / 1 | – |
![Inline loading spinner structure measurements Inline loading spinner structure measurements](/static/6d38f58609aa5d12651ab6b2a4d2ee73/3cbba/inline-loading-style-1.png)
Placement
The inline loading component should appear during any user action loading. If button is used to trigger the action, the inline loading component should replace that button.
![Inline loading spinner in context example Inline loading spinner in context example](/static/ad8f9f3cbdaa57358edef496e5e0b9a2/3cbba/inline-loading-style-3.png)
Structure measurements for small and large loading spinner | px / rem