1. Docs
  2. Components
  3. Spinner

Spinner

Displays a spinner to indicate loading state.

Installation

npx shadcn@latest add @kanpeki/spinner

Anatomy

import { Spinner } from "~/components/ui/spinner";

<Spinner />

Examples

Size

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

Color

Use the text- utility class to change the color of the spinner.