Theme studio

Design a theme, preview it live, then export it. Saved in this browser.

Quick picks #10b981
Generated scale
50100200300400500600700800900
Some text is below AA

SpinnerLabel

  • Stable
  • WCAG 2.2 evidence
  • RTL

A spinner with a status message. The whole block is a polite status region (WCAG 4.1.3); the spinner itself is decorative. Presentational: renders in React Server Components.

import { SpinnerLabel } from "@nexera-ui/react";
Loading example…
3
examples
3
props
3
live controls
1
platform
3
WCAG criteria
2
blocks use it

Try every prop. Copy the code.

Change the props and the code updates. Check light and dark, LTR and RTL, and phone width.

Loading…
children
layout
description
Generated code
import { SpinnerLabel } from "@nexera-ui/react";

<SpinnerLabel />

Examples 2

The same examples as Storybook, rendered live. Open Code to copy one.

Inline

Loading example…

Stacked

Layout=Stacked with a description.

Loading example…

Props 3

Press "Try it" on a card to load that prop into the playground.

3 props shown

children*Nexera
ReactNode

Text next to the spinner, for example "Loading payroll". It is announced as a polite status message.

Default –
layoutNexera
"inline" | "stacked"

Row (small spinner, quiet text) or centred column (large spinner, heading).

Default inline
descriptionNexera
ReactNode

Secondary line under the label. Shown in the stacked layout only, as in Figma.

Default –

* Required. React Aria props shown are the ones most apps use; the component accepts the rest of its React Aria props too.

Accessible by default.

Built on React Aria, and covered by the WCAG 2.2 evidence generated on every build.

WCAG 2.2 evidence

3 direct · 0 supporting
  • 1.3.1Info and RelationshipsLevel A · tested directly
  • 4.1.2Name, Role, ValueLevel A · tested directly
  • 4.1.3Status MessagesLevel AA · tested directly

Fits any width.

Nexera components respond to the space they are given. Drag the corner of the frame, or pick a width.

0 px · drag the corner

Styling hooks

Pass className to add Tailwind classes (merged last). State is exposed as data attributes, so you can style it with variants like data-pressed:.

Usage
<SpinnerLabel className="shadow-sm" />

Used in blocks

Related components