Search...

Spinner

Bootstrap 5 Spinner

The Bootstrap 5 Spinner is an animation used to indicate a running process. It helps to improve users' experience on websites or web applications.

Spinner Types

Bootstrap 5 Spinner

HTML
html
<div class="spinner">loading...</div>
<div class="spinner text-danger">loading...</div>
<div class="spinner text-info">loading...</div>
<div class="spinner text-warning">loading...</div>
<div class="spinner text-secondary">loading...</div>
<div class="spinner text-success">loading...</div>
>

Multicolor Spinner

To indicate that you want your spinner to have various colors, give it the class spinner-multicolor.

loading...
HTML
html
<div class="spinner spinner-muilticolor">loading...</div>

Size Variations

Contrast Bootstrap 5 Spinners allow you to specify a size for your spinner.

For a large spinner, use the'spinner-lg' class, and for a small spinner, use the 'spinner-sm' class. A Contrast Bootstrap 5 Spinner's default size is medium.

loading...
loading...
loading...
HTML
html
<div class="spinner spinner-lg text-info">loading...</div>
<div class="spinner text-primary">loading...</div>
<div class="spinner spinner-sm text-success">loading...</div>

Build modern projects using Bootstrap 5 and Contrast

Trying to create components and pages for a web app or website from scratch while maintaining a modern User interface can be very tedious. This is why we created Contrast, to help drastically reduce the amount of time we spend doing that. so we can focus on building some other aspects of the project.

Contrast Bootstrap PRO consists of a Premium UI Kit Library featuring over 10000+ component variants. Which even comes bundled together with its own admin template comprising of 5 admin dashboards and 23+ additional admin and multipurpose pages for building almost any type of website or web app.
See a demo and learn more about Contrast Bootstrap Pro by clicking here.