Skip to content
SENVENLI UI

Spinner

A small indeterminate loading indicator.
Sizes
import { Spinner } from "@senvenli/react/feedback";

Examples

Beside visible text

The text already says it, so the spinner is decorative.
Checking the invoice number…

Guidelines

When to use it

  • Something short is loading in place.

Use something else when

Accessibility

Built in

  • Named "Loading…" unless decorative or labelled.

You provide

  • isDecorative when visible text already says what is loading.

API reference

Spinner

size
SpinnerSizeDefault "medium"
aria-label
string

What is happening ("Checking availability"). Omit when visible text next to it says it, and pass isDecorative; otherwise "Loading…".

isDecorative
boolean

Visible text already says it (a pending button): hidden from assistive tech.