Installation
pnpm dlx shadcn@latest add https://loading.design/r/orbit.jsonUsage
import { Orbit } from "@/components/loading/orbit"
<Orbit size={36} speed={1.2} />API
| Prop | Type | Default | Description |
|---|---|---|---|
| size | number | 36 | Rendered width and height in pixels. |
| speed | number | 1.2 | Duration of one animation cycle, in seconds. |
| label | string | Loading | Accessible status label. Pass an empty string for decorative use. |
Accessibility
The component exposes a polite status through its label. Use an empty label only when nearby text already communicates the loading state, or when the motion is purely decorative.