--- title: Spinner description: An indicator that can be used to show a loading state. --- ## Installation CLI Manual ```bash npx shadcn@latest add @coss/spinner ``` Copy and paste the following code into your project. Update the import paths to match your project setup. ## Usage ```tsx import { Spinner } from "@/components/ui/spinner" ``` ```tsx ``` ## API Reference ### Spinner Use the `Spinner` component to display a loading indicator. | Prop | Type | Default | | ----------- | -------- | ------- | | `className` | `string` | | ## Examples ### Input Group ### Button