Components
Spinner
A simple animated loading spinner indicator.
Preview
Installation
bunx shadcn@latest add @sft-ui/spinnerSizes
API Reference
Spinner
An animated loading indicator using Loader2Icon. Set size via className (default is size-4).
| Prop | Type | Default | Description |
|---|---|---|---|
className | string | — | Additional CSS classes to apply (use for sizing, e.g. size-6). |
All standard SVG attributes are supported via React.ComponentProps<"svg">.