The component is deprecated and will be removed in future versions. Use CdsProgressCircle: it covers both indeterminate loading and progress.
Variations
Sizes
The size prop sets the diameter of the indicator: from xs to xl or a number in pixels. The default size is md.
Overlay
The overlay prop expands the indicator to the full screen and dims the content underneath. Add fixed so that the overlay takes the nearest container with position: relative instead of the whole page. The description prop describes what is going on for screen readers (aria-label).
API
Props
| Name | Type | Default | Description |
|---|---|---|---|
description | string | undefined | — | Description that best explains the loading state (aria-label) |
fixed | boolean | undefined | — | Pins the loader to the current container |
overlay | boolean | undefined | — | Renders a fixed full-screen loader |
size | number | "xs" | "sm" | "md" | "lg" | "xl" | undefined | 'md' | Size of the component |
theme | string | undefined | — | Component theme |