shadcn.io is not affiliated with official shadcn/ui
Skeleton examples · Profile
User Profile Header Skeleton for React
A centered profile header placeholder with a large avatar, a name, a subtitle and two buttons.
A loading profile header: a large round avatar, a name and a subtitle, and two buttons, all centered in a bordered frame. Every block is a Skeleton.
Use it at the top of a profile page while the user loads.
Preview
Installation
FAQ
How is the header centered?
flex w-full max-w-md flex-col items-center gap-4 rounded-md border p-6. The circle, the name and the buttons center in that column.
How big is the avatar?
size-24 rounded-full. That class replaces the style's default radius on Skeleton.
What is under the circle?
A w-full column with items-center gap-2: h-6 w-40 for the name and h-4 w-32 for the subtitle.
How are the two actions shown?
flex w-full justify-center gap-2 of two h-9 w-24 bars. Match h-9 to your buttons: the default height depends on the style.
Related
- Profile Card SkeletonA profile card placeholder with an
- Profile Settings Form SkeletonA profile settings placeholder with three
- Card with Avatar and Content SkeletonA bordered card placeholder with a round
- Avatar StandardA round avatar with a profile picture and
- List with Avatars SkeletonFour list rows, each with a round avatar
- Button with Text (Standard)The one filled action