datui
Color scheme

Feedback

PanelSpinner

Spinner centered in a full-width block for a loading panel or section.

import { PanelSpinner } from "datui";

Playground

Loading…
<PanelSpinner height={96} size="l" />

Examples

Panel loading

Loading…
Loading comments…

Accessibility

  • The spinner is role="status" and announces label ("Loading…").

API

PanelSpinner

Spinner centered in a full-width block, for a loading panel or section.

PropTypeDefaultDescription
classNamestring—
heightnumber96Block height in px.
labelstring"Loading…"Accessible label. Pass `null` when a parent already announces the busy state.
pausedboolean—Pause the animation (e.g. for screenshots).
size"s" | "m" | "l" | "xl"l