loadercn.

Classic loader

Classic dot morph

A dotted outline shifts from circle to triangle to square. A single React component with its CSS built in and no dependencies. Install it with the shadcn CLI or copy the source.

Preview and installation

Size
48px
Cycle
1.6s
Color

Run this command in any project set up with shadcn.

npx shadcn@latest add https://loadercn.vercel.app/r/classic-dot-morph.json

Added the @loadercn registry? Use the short form:

npx shadcn@latest add @loadercn/classic-dot-morph

Then add it to your interface:

import { ClassicDotMorph } from "@/components/ui/classic-dot-morph"

<ClassicDotMorph size={48} speed={1.6} />

Inherits text color. Accepts className, style, and a custom loading label. Respects reduced-motion preferences.

When to use it

A geometric loader for creation and transformation tasks. Use it at card size so the changing outline has room to read.

Props

Classic dot morph accepts size, speed, label, className, and style, like every loader in the collection. See the installation guide for the full reference.