Documentation menu

Image Generation

A shimmering dot canvas for image generation without visible status copy.

Installation

pnpm dlx shadcn@latest add https://loading.design/r/image-generation.json

Usage

import { ImageGeneration } from "@/components/loading/image-generation"
<ImageGeneration size={14} speed={1.8} active={true} />

API

PropTypeDefaultDescription
sizenumber14Scale of the dot canvas in pixels.
speednumber1.8Duration of the dot shimmer in seconds.
activebooleantrueWhether the dot animation is active.
labelstringGenerating image…Accessible status label. Pass an empty string for decorative use.

Accessibility

The component exposes a polite status through its label. Use an empty label only when nearby text already communicates the loading state, or when the motion is purely decorative.