Skip to Content
Skip to content

Spinner

Loading spinner in the muted text tone. Size via className.

Installation

bunx --bun shadcn@latest add https://neu.beyondtheinnovation.com/r/neu-spinner.json

Usage

import { Spinner } from "@/components/ui/neu/spinner"
<Spinner />

Size

className styles the icon, so size and color it there. The wrapper carries role="status" with an aria-label of "Loading"; pass aria-label to change it. Under reduced motion it turns slowly instead of stopping.

<Spinner className="size-6" aria-label="Saving" />

On this page