Spinner preview
A compact loading indicator with an optional visible label.
free · Feedback · primitive
When to use
- Use it when a product interface needs a compact loading indicator with an optional visible label.
- Choose it when the host application can supply the required state and keep business logic outside the presentation component.
Alternatives
- Choose alert instead when inline notices with icons, actions and optional dismissal is the actual interface need, rather than spinner.
Configure components.json and the @tidal-pro namespace before installing Pro components.
Installation
npx shadcn@latest add https://tidalui.com/r/spinner.jsonImport components/ui/tidal.css, components/ui/spinner.css. Wrap installed components in tidal-scope.
Preview

Minimal example
import"./components/ui/tidal.css";
import"./components/ui/spinner.css";
import{TidalSpinner}from"./components/ui/spinner";
export default()=><div className="tidal-scope"><TidalSpinner decorative/></div>;API and props
TidalSpinner.decorativeboolean | undefinedOptional decorative value accepted by this exported component.
TidalSpinner.labelstring | undefinedOptional label value accepted by this exported component.
TidalSpinner.labelVisibleboolean | undefinedOptional label visible value accepted by this exported component.
TidalSpinner.pausedboolean | undefinedOptional paused value accepted by this exported component.
TidalSpinner.size"sm" | "md" | "lg" | undefinedOptional size value accepted by this exported component.
Complete usage
Full example, stylesheet imports, API and accessibility documentation
Gotchas
- Install the declared registry dependencies and render inside a tidal-scope with the foundation stylesheet loaded.