Skip to content

Feedback

Spinner

Also calledloading spinnerbusy indicatorloading wheel

A looping loading indicator that shows work is ongoing without measuring how much has finished.

How people describe it

  • “spinning circle while I wait”
  • “rotating ring while something loads”
  • “small wheel turning beside loading text”

Good for

  • Brief waits for an action
  • Loading when the remaining time is unknown

Don’t mix it up with

  • Can show measurable completion; a spinner gives no percentage.

What your library calls it

LIBRARYCALLS IT
shadcn/uiSpinner

Accessibility checklist

  • Include meaningful loading text in a polite status region
  • Hide decorative motion from screen readers
  • Respect reduced motion and communicate completion

Try it

Loading…

Spinners should always have a text label for people who cannot see them.

Prompt

Add a spinner with loading text and respect reduced-motion preferences.

~18 estimated prompt tokensDetailed: ~66 estimated prompt tokens

Rough estimate for prompt text only; actual counts vary by model and context.

// Show while loading; replace the status text when the task finishes.
export function LoadingStatus() {
  return (
    <div role="status" className="flex items-center gap-2">
      <span aria-hidden="true" className="size-5 shrink-0 rounded-full border-2 border-current border-r-transparent motion-safe:animate-spin" />
      <span>Loading results...</span>
    </div>
  );
}