Ballmac UI home

Loading Dots

A compact loading status with staggered token-colored dots that stop for reduced motion.

Preparing your workspace

Installation

$ pnpm dlx shadcn@latest add @ballmac/loading-dots

Usage

import { LoadingDots } from "@/components/ballmac/loading-dots"

The full example is in the Code tab above.

Examples

States and variants

API reference

PropTypeDefault
label

Status text available to screen readers.

string—
size

Dot size.

"sm" | "default" | "lg""default"

Also accepts the standard attributes of its root element.

Accessibility

KeyAction
NoneAccessible status label

Use with AI

A compact loading status with staggered token-colored dots that stop for reduced motion. With the shadcn MCP server set up (guide), ask your agent:

Add the Ballmac UI Loading Dots (@ballmac/loading-dots) to this project with the shadcn MCP, then use it where it fits.

Use it for

  • Indicate short pending work
  • Pair a compact loader with a button label

Not for

  • Use skeleton for a full content placeholder

Registry JSON: https://ui.ballmac.com/r/loading-dots.json

Credits

Free to use in personal and commercial projects.

npm
None