Ask Natuna

Ask about the design system

Hi, I am Natuna.

Ask me about the design system: components, tokens, statuses, and how to use them.

Natuna can be wrong. The docs are the source of truth.

Skip to content
  • IntroductionPage
  • Ask NatunaAsk about the design systemPage
  • FoundationColor, type, number, effectPage
  • Components overviewPage
  • ThemesLight and dark modePage
  • NamingProperty and page namesPage
  • Privacy statementPage
  • Text-safe stepsFirst AA and AAA step per color rampSection
  • AccessibilityWCAG 2.2 AAA rulesSection
  • Dark modeThemesSection
  • Using it todayFigma file and React codeSection
  • Component statusDesign status and In ReactSection

Arrow keys to move, Enter to open, Esc to close.

Spinner

Indicates that content is loading or an action is in progress.

Status
ReadyBuild day 19 of 21
Code
In React
Role
Feedback

Usage

This demo is live, and the code below it is the same code, imports included. The component lives in src/ui of this repository and is not published to npm yet.

Loading transactions

Pastes as editable layers. Shadows are not exported.

import { Spinner, type SpinnerSize } from "@/ui";

const size: SpinnerSize = "md";

export default function SpinnerDemo() {
  return <Spinner size={size} label="Loading transactions" />;
}

Variants and states

Every specimen is the real component from src/ui, held in one state.

type circularneutral, primary, on-primary · xs to lg
LoadingLoadingLoadingLoading
LoadingLoadingLoadingLoading
LoadingLoadingLoadingLoading
type dotsneutral, primary, on-primary · xs to lg
LoadingLoadingLoadingLoading
LoadingLoadingLoadingLoading
LoadingLoadingLoadingLoading

Pastes as editable layers. Shadows are not exported.

Props

type
"circular" | "dots" · default "circular"
tone
"neutral" | "primary" | "onPrimary" · default "primary"
onPrimary is for a brand fill, such as inside a primary button.
size
"xs" | "sm" | "md" | "lg" · default "md"
12, 16, 24, 32.
label
string · default "Loading"
Read by screen readers.

Figma to code

Figma properties by their exact names from Naming, and the React prop that carries each one. The table covers the shared properties that bear on this component; the Figma file decides which of them its component exposes. None means there is no prop for it yet.

🧰 Type
type
circular or dots.
🎨 Tone
tone
Neutral, Primary, On-Primary.
📐 Size
size
xs to lg.

Accessibility

What the code in src/ui does today, and what it leaves to you.

Keyboard

  • Not focusable.

Screen readers

  • role=status with a hidden label, so Loading is announced once.

What you still need to do

  • Use it inline or in a button. For a whole area, use Skeleton; for measurable progress, use Progress Bar.
  • Motion stops for people who ask for reduced motion; the static ring still shows.

When to use

Short waits. For longer operations, consider a progress bar with more context.

Do and don't

Do

  • Pair with a label when the wait may be longer than a second or two.
  • Use consistent sizing across similar contexts.

Don't

  • Use a spinner for waits long enough to need progress feedback.
  • Leave the user without any indication that something is happening.

4 of 16 other atoms, same role and ready ones first.

See all components

Status reflects the component tracker snapshot of 29 October 2026.