Skip to main content

Spinner

Spinner — Prism component.

Signature
Density
Viewport
Theme follows the navbar ☀/☾ toggle
Live demo
Open ↗

When to use

Spinner — Prism component.

Accessibility

Fully keyboard operable: Tab to focus, Enter/Space to activate. The visible focus ring uses --focus-ring — never remove it. Provide an accessible label (aria-label) for icon-only controls.

Import

const { Spinner } = window.PrismDesignSystem_39d121;

Props

PropTypeRequiredDescription
size"sm" | "md" | "lg"
labelstringScreen-reader label. Default "Loading".
classNamestring