Loading dots styling reference
On this page
Loading dots show POS users that a status is still changing, such as an order being prepared. The three dots pulse in turn beside the status text, at the same height and in the same color as that text. Use this reference to style loading dots, following the POS styling API rules.
Where loading dots appear
Beside a status that is still changing, such as the preparing state on an open order’s line.
Parts of the loading dots
| Part | What it is | Available from |
|---|---|---|
loading-dots-root |
The three dots, in the square they sit in. They draw in the color of the text around them. | v22.0.14 |
The Available from column shows the first release that carries the name.
Component properties
Set this on loading-dots-root.
| Property | What it sets | Default | Available from |
|---|---|---|---|
--sc-loading-dots-size |
The width and height of the square the dots sit in. | 1em | v22.0.14 |
Loading dots examples
Each example is tested against the POS on every change.
“Make the dots bigger.”
```css
[part~=’loading-dots-root’] { –sc-loading-dots-size: 1.5em; } ```
“Draw the dots in our brand color.”
```css
[part~=’loading-dots-root’] { color: #0b5394; } ```
What can’t be styled yet
- The dots on their own, apart from the square they sit in
- How fast they pulse
Retired
None yet.
Was this article helpful?
Thanks for your feedback! It helps us improve our docs.