Skip to content
RivetUI

Spinner

Indicates indeterminate activity in controls and compact status regions.

@rivetui/spinner

Preview

Explore each composition interactively, then open its code in the same context.

Default

Communicate short, indeterminate work without shifting nearby content.

Note
The available sizes are sm, md, and lg.
Building deployment

Inside a control

Hide the decorative spinner from assistive technology when the button already names the action.

Registry

Installation

Add the component source and its declared dependencies with the shadcn CLI.

Install component
bunx --bun shadcn@latest add @rivetui/spinner
Inspect registry item

Public interface

API reference

Component-specific props are listed here. Native element and Base UI props continue to pass through.

PropTypeDefault
size"sm" | "md" | "lg""md"
aria-labelstring"Loading"
classNamestring—
Rivet UI / SpinnerComponents engineered, not decorated.