package.docs.components.spinners.mdx Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of core Show documentation
Show all versions of core Show documentation
Premium and Open Source dashboard template with responsive and high quality UI.
The newest version!
---
title: Spinners
description: Spinners are used to show the loading state of a component or page. They provide feedback for an action a user has taken, when it takes a bit longer to complete.
bootstrapLink: components/spinners/
---
## Default markup
Use the default spinner to notify users that an action they have taken is in progress, helping them avoid confusion.
```html example code centered
```
## Colors
Choose one of the available colors to customize the spinner and make it suit your design.
```html example centered separated
```
```html
```
## Size
Choose the size of your spinner. You can use the default size or use the `spinner-border-sm` class to display a smaller spinner.
```html example code centered separated
```
## Growing spinner
Use the growing spinner, if you are looking for a more original design than a border spinner. The spinner grows to show the loading state.
```html example code centered
```
Growing spinners also come in a variety of colors to choose from.
```html example centered separated
```
```html
```
### Button with spinner
Use buttons with spinners to notify users that an action they have taken by clicking the button is in progress and prevent them from clicking multiple times or giving up.
```html example centered separated code
Button
Button
Button
Button
Button
```
## Animated dots
```html example centered code
Loading
```
```html example centered code separated
Loading
Loading
```