Skip to main content

Common Examples

Size variants

Spinners support three sizes: small, medium (default), and large.

Inheriting color

Use the inherit prop to make the Spinner inherit the current text color, useful when placing spinners inline with text or inside buttons.

Custom sizing

Spinners can be sized using CSS width and height properties for cases where the preset sizes don’t fit your needs.
Last modified on February 19, 2026