Components/shadcn/Spinner

Spinner

An accessible loading indicator for an action in progress.

shadcn / Base UI
Loading your workspace…

Installation

Add the shadcn primitive and the shared Crafter theme to a Base UI project. The theme updates your project-wide tokens.

Terminal
bunx --bun shadcn@4.21.0 add http://localhost:4324/r/spinner.json
First time here? Read the setup guide ↗

Composition

A foundation for your own components. The source stays close to the upstream API.

Lucide Loader2

From the foundation

These primitives use shadcn Base UI with the same Crafter colors, typography and corners as this entire site. Customize that shared identity in the style generator.

Upstream documentation ↗