Standalone spinner sizes
Use these when the loading state is visible on its own.
<CwSpinner size="sm" />
<CwSpinner size="md" />
<CwSpinner size="lg" />
<CwSpinner size="xl" />Reusable loading indicator shared by buttons, tables, and async UI states.
<CwSpinner size="md" />
<CwSpinner size="lg" showLabel label="Loading data..." />CwSpinner is the shared loading indicator used across buttons and async UI. Most screens only need a size choice and, occasionally, an accessible label.
| API | Type | Details |
|---|---|---|
size Default: | 'sm' | 'md' | 'lg' | 'xl' | Spinner size preset. |
showLabel Default: | boolean | Renders an inline status label and enables status ARIA attributes. |
label Default: | string | Status text used when `showLabel` is enabled. |
These snippets intentionally show the full public API surface the live demo relies on.
Use these when the loading state is visible on its own.
<CwSpinner size="sm" />
<CwSpinner size="md" />
<CwSpinner size="lg" />
<CwSpinner size="xl" />Enable `showLabel` when the spinner is not next to its own explanatory text.
<CwSpinner size="lg" showLabel label="Syncing greenhouse devices..." />