A loading indicator component for displaying ongoing operations.
npx micomponents-cli add spinnerimport { Spinner } from "@/components/ui/spinner";<Spinner show={true} />Small
Medium
Large
Primary
Secondary
Success
Warning
Loading...
| Prop | Type | Default | Description |
|---|---|---|---|
| show | boolean | true | Whether to display the spinner |
| size | small | medium | large | medium | Size of the spinner |
| variant | primary | secondary | success | warning | secondary | Color variant |