All components
Spinner
A current-color loading indicator sized from inherit up to xl.
Sizes
xs
sm
md
lg
xl
Install
zsh — spinner
1bunx stylexblocks add spinnerUsage — Ark UI
spinner.tsx
123456789import { Spinner } from "#components/ui/ark-ui/spinner.tsx";
export function Example() { return ( {/* the size prop resolves through the StyleX recipe; the spinner inherits currentColor from its surroundings */} <Spinner size="md" aria-label="Loading" /> );}