Skip to main content
v7

Spinner

An animated loading indicator with ARIA live region support. Loading wraps Spinner in a full-height centered container.

Package@g4rcez/componentsSectionDisplay Components

Examples

Default Spinner

Renders a circular spinner with role=status and aria-live=polite for screen readers.

Default

Custom Size

Override size via className using Tailwind size utilities.

Custom sizes

Loading Component

Loading centers a Spinner inside a full-height flex container, ideal for page or section loading states.

Loading

When to use Spinner

Use when

You need the documented Spinner interaction or presentation in a product workflow.

Avoid when

A native HTML element already provides the Spinner behavior you need.

Accessibility

Keep the Spinner labeled and use its documented keyboard interaction. The component preserves visible focus and communicates state without relying on color alone.