Skip to content

Spinner

A loading indicator for a section, a button or a table that is still fetching data.

The label is visually hidden: screen readers announce it, nothing shows on screen.

Without variant, the spinner takes the color of the surrounding text.

type="grow" pulses instead of spinning; size="sm" shrinks either type:

A small spinner next to a short message:

Prop Type Default Description
type string 'border' border (spinning ring) grow (pulsing dot)
variant string? null primary secondary success danger warning info dark light (text-*)
size string 'md' md sm
label string? null Visually-hidden text (<span class="visually-hidden">)

Other attributes go to the root <div role="status">.

Block Default
content The visually-hidden label, when it is set