loadercn.

Classic loader

Classic hourglass

Sand slips between two chambers before the hourglass turns over. 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-hourglass.json

Added the @loadercn registry? Use the short form:

npx shadcn@latest add @loadercn/classic-hourglass

Then add it to your interface:

import { ClassicHourglass } from "@/components/ui/classic-hourglass"

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

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

When to use it

Use it for longer waits such as exports or queued jobs. The repeated flip indicates ongoing work without suggesting a measured completion percentage.

Props

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