Spinner
Live example
Spinner
Installation
npx shadcn@latest add https://hextech-ui.vercel.app/r/spinner.jsonAPI reference
These are the main Spinner options. See the exported TypeScript types for inherited native or primitive props.
| Prop | Type | Default |
|---|---|---|
label | string | Loading |
size | small | medium | large | medium |
Loading announcements
Use a label that describes the pending task. Avoid adding several live loading announcements for one operation. A spinner indicates activity; it does not communicate a measured percentage.