Components

Spinner

An indeterminate loading indicator.

Installation

npx shadcn@latest add @blank/spinner

Usage

import { Spinner } from "@/components/ui/spinner"
<Spinner />

Examples

In buttons and badges

Spinner is a 16px icon, so it takes the slot an icon would. Disable the button while it spins so a second click does nothing.

Building