Spinner
Used to allow users to make selections from a range of values.
Installation
CLI
Add component to your project.
npx @perceptui/cli@latest add spinnerImport from @perceptui/ui
Note: If you have installed @perceptui/ui package, then import Spinner
from @perceptui/ui.
import { Spinner } from "@perceptui/ui";API References
| Prop | Type | Description | Default | 
|---|---|---|---|
| color | string | Color of the Spinner | blue | 
| size | "xs"|"sm"|"md"|"lg"|"xl" | Size of the Spinner | md | 
| className | string | className | _ | 
Examples
Color
There are more color properties. Take your time to explore.