To create a spinner/loader, use the .spinner-border class.
If you want the spinner/loader to grow instead of "spin", use the .spinner-grow class.
Use contextual text color classes to color the spinners. Use .spinner-border-sm or .spinner-grow-sm for smaller spinners.
Edit the code below and click Run to see the result live.