Skip to content

Spinner

Free

A small ring that turns while something loads and you cannot say how long it takes. It comes in 12, 16, and 24px and takes the color of the text.

  • React 19
  • Tailwind CSS 4

Added Nov 8, 2026 · MIT + Commons Clause

Playground

Loading the preview

Props

Set aria-label to the task, such as "Loading invoices", in the language of the page.

invoice-list-loading.tsx

Spinner

<output>
PropTypeDefaultDescription
size"default""lg""sm"—
...props<output> attributes—Every other attribute goes to the <output>, with a ref.
  • Use it when something loads and you do not know how long it takes.
  • Set aria-label to the task in the language of the page, for example "Saving".
  • In a button, set loading on the Button.
  • When you know how much is done, show the percent done, not a spinner.

Spinner is a native <output> with the role status.

Turn
animate-spin · 1s · linear · repeats
  1. AddedSpinner.
Open the release