Sketchbook
On this page

Tag <sb-spinner> · status stable · version 0.1.0

Example

<sb-spinner label="Loading"></sb-spinner>

Properties

Name Type Default Notes
label text Loading Accessible name announced by the status role. Change it to say what is loading.
decorative boolean false Hides the spinner from assistive technology. Use it when the container already announces busy (e.g. a loading Button).

Accessibility

  • Role: status
  • Accessible name: The label prop as aria-label on the host (default "Loading").

View as Markdown