Feedback
PanelSpinner
Spinner centered in a full-width block for a loading panel or section.
import { PanelSpinner } from "datui";Playground
<PanelSpinner height={96} size="l" />Examples
Panel loading
Accessibility
- The spinner is
role="status"and announceslabel("Loading…").
API
PanelSpinner
Spinner centered in a full-width block, for a loading panel or section.
| Prop | Type | Default | Description |
|---|---|---|---|
| className | string | — | |
| height | number | 96 | Block height in px. |
| label | string | "Loading…" | Accessible label. Pass `null` when a parent already announces the busy state. |
| paused | boolean | — | Pause the animation (e.g. for screenshots). |
| size | "s" | "m" | "l" | "xl" | l |