Bootstrap 5 UI Tutorial

Build fast, responsive sites with Bootstrap 5

BS5 Spinners

Bootstrap 5 Spinners

To create a spinner/loader, use the .spinner-border class.

Growing Spinners

If you want the spinner/loader to grow instead of "spin", use the .spinner-grow class.

Colors and Sizes

Use contextual text color classes to color the spinners. Use .spinner-border-sm or .spinner-grow-sm for smaller spinners.

Try It Yourself

Edit the code below and click Run to see the result live.

Source Code
Result
Topics