Loading placeholder with various presets.
import { Skeleton } from "@/components/ui";<Skeleton width={200} height={20} />Different skeleton shapes
<div className="space-y-4"> <Skeleton width={200} height={20} /> <Skeleton width={100} height={100} rounded /> <Skeleton width="100%" height={150} /></div>Loading state for cards
<Card> <CardContent className="space-y-4 pt-6"> <div className="flex items-center gap-4"> <Skeleton width={48} height={48} rounded /> <div className="space-y-2"> <Skeleton width={150} height={16} /> <Skeleton width={100} height={12} /> </div> </div> <Skeleton width="100%" height={60} /> <div className="flex gap-2"> <Skeleton width={80} height={32} /> <Skeleton width={80} height={32} /> </div> </CardContent></Card>Without animation
<Skeleton width={200} height={20} animate={false} />Configure your app with the features you need and download production-ready code.
Start Configuring