5Sponsor

Skeleton

Shimmer loading placeholder

Terminal
skeleton-demo
No opentui live preview is registered for this example yet.

Installation

pnpm dlx shadcn@latest add @termcn/skeleton

Usage

import { Skeleton } from "@/components/ui/skeleton";
<Skeleton width={30} height={3} />

Examples

Static (No Animation)

Terminal
skeleton-static
No opentui live preview is registered for this example yet.

API Reference

Skeleton

PropTypeDefault
widthnumber20
heightnumber1
animatedbooleantrue