Atelier UI

Search components…

Search components…

Spinner

Five CSS-only loaders (ring, dots, bars, pulse, orbit) with size prop and screen-reader label.

Edit in sandbox

Copy a prompt for your AI coding tool with the source, dependencies and usage

Props

SpinnerProps

Also accepts all props of Omit<React.ComponentProps<"span">, "children">

PropTypeDefaultDescription
variantSpinnerVariant"ring"—
sizenumber24Box size in px
labelstring"Loading"Screen-reader label

Install

$ npx shadcn@latest add https://chromotion.dev/r/spinner.json

More like this