Spinners

Indicate the loading state of a component or page with spinners, built entirely with HTML, CSS, and no JavaScript.

Border spinner

Loading...
              
  
              
            

Colors

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

Growing spinner

Loading...

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

Alignment

Margin

Use margin utilities like .m-5 for easy spacing.

Loading...
              
  
              
            

Placement

Use flexbox utilities, float utilities, or text alignment utilities to place spinners exactly where you need them in any situation.

Flex

Loading...
              
  
              
            
Loading...
              
  
              
            

Floats

Loading...
              
  
              
            

Text align

Loading...
              
  
              
            

Sizes

Add .spinner-border-sm and .spinner-grow-sm to make a smaller spinner that can quickly be used within other components.

Loading...
Loading...
              
  
              
            

Or, use custom CSS or inline styles to change the dimensions as needed.

Loading...
Loading...
              
  
              
            

Loading Buttons

Use spinners within buttons to indicate an action is currently processing or taking place. You may also swap the text out of the spinner element and utilize button text as needed.