Components
Loading Spinner
Loading spinners indicate that content is loading or an action is in progress.
Stable
GitHubAnatomy
Anatomy
import {LoadingSpinner} from '@staffbase/design';
<LoadingSpinner />Examples
Sizes
With progress
API reference
| Name | Type | Description |
|---|---|---|
aria-label | string | Describes the process that the progress spinner refers to. This will be read with the progress status eg. "Uploading 40%" if used with a progress value. |
size | 12244864 | Defines the size of the Progress Spinner. Default: 48 |
progress | number | Progress percentage. Values must always be between 0—100. |
When to use
When not to use
How to use
Structure
Do
Skeleton placeholders for list content that is about to render.
Don't
A spinner standing in for the same list content.
Sizes
Progress
Accessibility
Uploading video