Components / Feedback
Spinner
Indeterminate or determinate circular progress.
@ruckc/truss-ui Feedback
Import
import { Spinner } from '@ruckc/truss-ui'; Playground
size
value
intent
API
| Prop | Type | Default | Description |
|---|---|---|---|
size | number | 24 | Control size: `sm` (24px), `md` (32px, default) or `lg` (40px). |
value | number | — | 0–100 for determinate; omit to spin. |
intent | 'primary' | 'success' | 'warning' | 'danger' | 'neutral' | 'primary' | Semantic colour: `primary`, `neutral`, `success`, `warning` or `danger`. |
label | string | 'Loading' | Visible label shown above the control. |