Skip to Content

Spinner

Loading spinner example: spins the Phosphor spinner icon. It carries a status role and a Loading label so screen readers announce it, and sizes to a small default.

View as Markdown
pnpm dlx shadcn add @01orbital/spinner

Dependencies

npm: @phosphor-icons/react, cn. The CLI installs them for you. cn merges Tailwind class names, in place of clsx and tailwind-merge.

Used in blocks

2 blocks are built with Spinner: