shadcn.io is not affiliated with official shadcn/ui
Skeleton examples · Profile
Profile with Stats Skeleton for React
A profile placeholder with a large avatar, three lines, three bordered stat boxes and a button.
A loading profile with its numbers up front: a large avatar beside three lines, three bordered boxes for stats, and a button across the card. Every block is a Skeleton; the boxes get their border from the div around them.
Use it for creator profiles or dashboards that lead with counts.
Preview
Installation
FAQ
What wraps this profile?
flex w-full max-w-md flex-col gap-6 rounded-md border p-6. A header, three stat boxes, then a button.
How is the header aligned?
flex items-start gap-4. The circle is size-20 shrink-0 rounded-full. Beside it, gap-2 stacks h-6 w-40, h-4 w-32 and h-4 w-48.
How are the stat boxes built?
grid grid-cols-3 gap-4. Each box is flex flex-col items-center gap-2 rounded-md border p-3, with h-8 w-16 over h-3 w-12.
What is the bar under the stats?
h-10 w-full, so it spans the card. The stat numbers stay w-16 inside their boxes.
Related
- Profile Card SkeletonA profile card placeholder with an
- User Profile Header SkeletonA centered profile header placeholder
- Card with Badge and Tags SkeletonA bordered card placeholder with two pill
- Badge with Text (Standard)A default badge with a short label for a
- List with Avatars SkeletonFour list rows, each with a round avatar
- Button with Text (Standard)The one filled action