shadcn.io is not affiliated with official shadcn/ui
Skeleton examples · Table
Table with Avatars Skeleton for React
A four-column table placeholder with an avatar and a name in the first column.
Framework
UI library
A loading table of people: the first cell of each row holds a small round avatar and a name bar, and three more cells follow. The rows are a four-column grid; every block is a Skeleton.
Use it for user, team or customer tables.
Preview
Installation
Sign in to get your install command
Free with an account. It carries your token, so the CLI installs everything in one go.
FAQ
How is the table grid set up?
max-w-2xl with gap-3. The header and each row are grid grid-cols-4 gap-4. The header adds border-b pb-3. Rows add items-center.
What is in the first cell?
flex items-center gap-3: a size-8 shrink-0 rounded-full circle and an h-4 flex-1 bar. size-8 is the default Avatar size. The other three cells are h-4 w-full.
How many body rows are there?
Four, from ROWS. Each row repeats the circle and the three full-width bars.
Related
- Simple Table Rows SkeletonA four-column table placeholder with a
- Table with Actions SkeletonA five-column table placeholder whose
- Comment Thread SkeletonThree comment placeholders, each with an
- Avatar StandardA round avatar with a profile picture and
- Expandable Rows SkeletonA table placeholder with a header and two
- Basic TableA bordered table of users with their