A shadcn-style spinner component built with Ark UI primitives.

Installation

npx shadcn@latest add @ark-cn/spinner

Usage

import * as Spinner from "@/components/ui/spinner"

Read exported parts in src/components/ui/spinner.tsx and compose the primitive according to the Ark UI pattern for this component.

Examples

API reference

This component mirrors the upstream Ark UI primitive.

See the ARK UI documentation for the full API.