Skeleton
Renders subtle animated pulse loading placeholders while data or media content is fetching.
import
import { Skeleton } from "@/components/ui/skeleton/skeleton";$
npx @bloomui-react/cli add skeletonskeleton.tsx
Default
Standard skeleton card loading placeholder.
Loading...
Loading...
Loading...
Media Card Placeholder
Complex UI card skeleton preview structure.
p-4: anyborder: anyrounded-2xl: anyspace-y-3: anyvariant: anyrectangle: anyw-full: anyh-36: anyrounded-xl: anytext: anyw-4: anyh-4: anyh-3: any
Loading...
Loading...
Loading...
Loading...
Animation Switcher (Pulse vs Shimmer)
Switch between classic pulse animation (animation="pulse") and glowing gradient shimmer wave (animation="shimmer").
animation:
pulse | shimmer | nonePulse Animation
Loading...
Loading...
Shimmer Wave Animation
Loading...
Loading...
API Reference
Props — Skeleton
Supported properties for Skeleton.
| Prop | Type | Default | Description |
|---|---|---|---|
| animation | 'pulse' | 'shimmer' | 'none' | 'pulse' | Animation effect switcher (pulse fade or shimmer gradient wave). |
| variant | 'circle' | 'rectangle' | 'text' | 'rectangle' | Shape layout of the loading placeholder. |
| isLoaded | boolean | false | When true, replaces skeleton with real children. |