To display a loader, apply the .spinner-border
class
apply any text color utility class to change the spinner’s color.
To create a growing loader instead of a spinning one, use the .spinner-grow
class
Use .spinner-border-sm
or .spinner-grow-sm
to create a smaller spinner:
You can also add spinners to a button, with or without text: