The library is still in early development. Breaking changes and bugs may occur without prior notice. Thanks for your interest in using the library!

v0.2.49Beta

Search

Spinner

Source

A loading indicator component for displaying progress or activity.

Usage

import { Spinner } from "@bun-ui/react"
<Spinner />

Examples

Sizes

Use the size prop to change the size of the spinner.

Colors

Use the color prop to change the color of the spinner.

Props

Spinner

PropTypeDefaultDescription
color
"current" | "primary" | "secondary" | "destructive" | "accent" | "neutral""primary"

Color of the spinner.

size
"xs" | "sm" | "md" | "lg""md"

Size of the spinner.