Spinner
Show active processes. Simple, clear feedback. Prevent duplicate actions.
Loading invoices
Pulling the last 12 months from Stripe.
Installation
pnpm dlx nachui add spinnerAnatomy
Examples
Default
Loading invoices
Pulling the last 12 months from Stripe.
Sizes
You can change the size of the spinner using the
size prop.Table cell
Card body
Side panel
Full page
Variants
You can change the color of the spinner using the
variant prop.Building web-app
step 3 of 5
Queued: docs site
waiting for a runner
Promoting to production
almost done
Syncing environment variables
18 of 24
Retrying image upload
attempt 2 of 3
Rolling back api-gateway
triggered by CI
API Reference
Spinner
| Prop | Type | Default | Description |
|---|---|---|---|
size | 'sm' | 'md' | 'lg' | 'xl' | 'md' | The size of the spinner |
variant | 'default' | 'primary' | 'muted' | 'success' | 'destructive' | 'warning' | 'info' | 'default' | Visual style |
className | string | - | Additional CSS classes |
Found something to improve?
Notice a bug, typo, or missing detail on this page? Help us make the documentation better by opening a GitHub issue.