Spinner

An indicator that can be used to show a loading state.

shadcn/ui docs

Installation

pnpm dlx shadcn@latest add https://neobrutalism.dev/r/spinner.json

Usage

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

Examples

Default

Size

Use the size-* utility class to change the size of the spinner.

In Button

With Badge

SyncingSyncing