The library is still in early development. Breaking changes and bugs may occur without prior notice. Thanks for your interest in using the library!
A loading indicator component for displaying progress or activity.
import { Spinner } from "@bun-ui/react"
<Spinner />
Use the size
prop to change the size of the spinner.
Use the color
prop to change the color of the spinner.
Prop | Type | Default | Description |
---|---|---|---|
color | "current" | "primary" | "secondary" | "destructive" | "accent" | "neutral" | "primary" | Color of the spinner. |
size | "xs" | "sm" | "md" | "lg" | "md" | Size of the spinner. |