Spinners Indicate the loading state of a component or page with spinners, built entirely with HTML, CSS, and no JavaScript!
About
CSS “spinners” can be used to show the loading state in your projects. They’re built only with HTML and CSS, meaning you don’t need any JavaScript to create them. You will, however, need some custom JavaScript to toggle their visibility. Their appearance, alignment, and sizing can be easily customized with our amazing utility classes.
Learn more about this plugin on bootstrap's official documentation.
CSS “spinners” can be used to show the loading state in your projects. They’re built only with HTML and CSS, meaning you don’t need any JavaScript to create them. You will, however, need some custom JavaScript to toggle their visibility. Their appearance, alignment, and sizing can be easily customized with our amazing utility classes.
Learn more about this plugin on bootstrap's official documentation.
Border spinner
Use the border spinners for a lightweight loading indicator
Loading...
Color spinners
The border spinner uses
currentColor
for its border-color
, meaning you can customize the color with text color utilities. You can use any of our text color utilities on the standard spinner
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Spinner Alignment
Flex
Loading...
Float
Loading...
Text align
Loading...
Spinner sizes
Add
.spinner-border-sm
to make a smaller spinner that can quickly be used within other components. Or, use custom CSS or inline styles to change the dimensions as needed.
Loading...
Loading...
Loading...
Shape changes
Change the shape of your spinner using border utilities
Loading...
Loading...
Loading...
Spinner nested
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.
Growing spinner
If you don’t fancy a border spinner, switch to the grow spinner
Loading...
Growing spinner colors
Once again, this spinner is built with
currentColor
, so you can easily change its appearance with text color utilities
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Growing spinner alignment
Flex
Loading...
Float
Loading...
Text align
Loading...
Growing spinner sizes
Add
.spinner-grow-sm
to make a smaller spinner that can quickly be used within other components. Or, use custom CSS or inline styles to change the dimensions as needed.
Loading...
Loading...
Loading...
Shape shifting
Change the shape of your growing spinner using border utilities
Loading...
Loading...
Loading...
Growing spinner nested
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.