Skip to content
aq-ui
Back to ComponentsComponent

Spinner

Open-code aq-ui accessible component family for Spinner.

Preview

This is a live example. Interact with the available controls and use the keyboard to inspect the component's states and behavior.

Loading interactive preview…

Installation

pnpm dlx aq-ui@alpha add spinner

API reference

SSR-safe

Import the parts you need, then jump to an export for its contract.

View full source

Quick start

import { Spinner } from "@/components/ui/spinner"

<Spinner />

Spinner

constSource L5

Open-code aq-ui accessible component family for Spinner.

const Spinner = React.forwardRef<React.ComponentRef<typeof Loader2Icon>, React.ComponentProps<"svg">>(…)
Props type
React.ComponentProps<"svg">
<Spinner />

Registry dependencies

utils

Package dependencies

lucide-react@^1.31.0

Files

  • components/ui/spinner.tsx

Source