Skip to content

Spinners

Spinners tell people that something is happening right now. The examples cover the border and grow styles, colours, sizes, speed and thickness, plus spinners placed in buttons, inputs, cards, tables, alerts and dialogs - always with a status text for screen readers.

1Border spinner

A rotating ring - the default loading indicator.

Loading...

2Colored border spinners

Text colour utilities change the spinner colour.

Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...

3Grow spinner

A dot that grows and fades instead of spinning.

Loading...

4Colored grow spinners

The grow spinner in every theme colour.

Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...

5Sizes

<code>.spinner-border-sm</code> / <code>.spinner-grow-sm</code>, or any size through width and height.

Loading...
Loading...
Loading...
Loading...
Loading...

6Loading buttons

Disabled buttons with a small spinner while a request runs.

7Alignment with flex

Center a spinner, or push it to the end of a line of text.

Loading...
Loading dashboards...

8Text alignment

Text alignment utilities place an inline spinner left, center or right.

Loading...
Loading...
Loading...

9Card overlay

A translucent overlay with a spinner covers a card that is updating.

Smart reporting

Our workflow automation lets the whole team on the same page wherever you are.

Open
Updating...

10Inside an input group

A spinner in the input group addon while search results load.

Searching...

11Custom speed

Change the animation speed with <code>--bs-spinner-animation-speed</code>.

Loading...
Loading...
Loading...
fast / default / slow

12Custom thickness

<code>--bs-spinner-border-width</code> makes the ring thinner or bolder.

Loading...
Loading...
Loading...

13Process steps

Finished steps show a check, the running step a spinner, upcoming steps a muted circle.

  • Files uploaded
  • Data checked
  • Building preview...
  • Publishing

14Table loading row

A full width row with a spinner while table data is fetched.

OrderCustomerTotal
Loading orders...

15Alert with spinner

An info alert reporting a background sync.

16Section loader

A large grow spinner with a message, centered in an empty area.

Loading...

Preparing your workflow

This only takes a moment.

17Typing dots

Three small grow spinners with staggered delays look like a chat typing indicator.

Ruby is typing

18In badges and tabs

Tiny spinners inside a badge and a nav link mark items still processing.

Processing

19Upload dialog

A static dialog card with a spinner, file name and cancel button.

Uploading team-45.pdf

Please keep this window open.

20Spinner with progress

A spinner for activity plus a bar for the amount done.

Downloading update63%