Spinner
Loading indicators in three flavors — ring, dots and bars — that inherit the current text color.
Feedback
Playground
Tweak the props, the preview and the code follow.
Props
<Spinner size="lg" />
Installation
npx @plumsydev/plum-ui add spinnerUsage
import { Spinner } from "@/components/ui/spinner"<Spinner variant="bars" />Examples
Sizes & color
Size tokens, or any size-* and text-* class.
Inline
Building acme-web
QueuedAPI Reference
Spinner
| Prop | Type | Default |
|---|---|---|
variantAnimation style. | "ring" | "dots" | "bars" | "ring" |
sizeSize token (14, 16 or 24px). | "sm" | "default" | "lg" | "default" |
Notes
- Rendered with
role="status"and an accessible label. Overridearia-labelto describe what's loading.