Skip to content

Loading indicators (progress & spinners)

Walkthrough · All levels

Use spinners and loading indicators to communicate progress and improve perceived performance.

Use progress bars when you know the percentage. A progress bar is made of a container (.progress) and a bar element (.progress-bar).

Use progress bars and spinners to indicate loading, processing, or completion.

Use Height to make thicker or thinner progress bars.

The inner .progress-bar element controls the fill amount and variant styling.

Set Width to control the percentage fill. In production, you’ll typically bind this to data.

Use Back Color to set the bar’s color variant.

Use Striped and Animated for visual emphasis during long operations.

Spinners are best when you don’t know the percentage (indeterminate loading).

Border spinners are a compact indicator for indeterminate loading.

Use Color to set the spinner variant.

Use Type to switch between default and small sizes.

Growing spinners are a softer, pulsing alternative to border spinners.

Continue with other Components tours or return to the Components menu.