Toggle Sidebar B
AppearanceLight & dark mode D

Spinner

Looping loading indicator. Use inside buttons, empty states, or inline next to text.

Default

Default size and colour.

Dark previewReplay preview

With text

Inline next to status text.

Dark previewReplay preview
Loading…

Sizes

Scale the spinner with a size-* utility class.

Dark previewReplay preview

Custom colour

Tint the spinner with a text-* colour utility.

Dark previewReplay preview

In a button

A disabled button pairs the spinner with a loading label.

Dark previewReplay preview

In a badge

A small spinner reads as an in-progress badge status.

Dark previewReplay preview
Syncing
Processing

In an input group

Use the spinner as an addon to signal a loading field.

Dark previewReplay preview
Saving...

In an empty state

Drop the spinner into an Empty media slot as a loading placeholder.

Dark previewReplay preview
Loading workspace

Fetching your projects. This will only take a moment.

API Reference

Spinner

PropTypeDefaultDescription
classstring—Override size (size-4, size-6, ...) and colour.