For accessibility purposes, each loader here includes
role="status" and a nested
Use the border spinners for a lightweight loading indicator.
If you don’t fancy a border spinner, switch to the grow spinner. While it doesn’t technically spin, it does repeatedly grow!
Spinners in Bootstrap are built with
display: inline-flex. This means they can easily be resized, recolored, and quickly aligned.
Use margin utilities like
.m-5 for easy spacing.
.spinner-grow-sm to make a smaller spinner that can quickly be used within other components.
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.