shadcn.io is an independent project built on shadcn/ui
A bordered card shows two pill tags, a title, two lines of text, and two button-sized blocks along the bottom.
Use it for a post or a product whose tags and actions already have a size. If only those actions are busy, put a Spinner on the button. In React, Base UI does not know which tags are coming.
Installation
Anatomy

Usage
<div className="flex w-full max-w-sm flex-col gap-3 rounded-md border p-4">
<div className="flex items-center gap-2">
<Skeleton className="h-5 w-16 rounded-full" />
<Skeleton className="h-5 w-20 rounded-full" />
</div>
<Skeleton className="h-6 w-3/4" />
<Skeleton className="h-4 w-full" />
<Skeleton className="h-4 w-5/6" />
<div className="mt-2 flex gap-2">
<Skeleton className="h-8 w-20" />
<Skeleton className="h-8 w-24" />
</div>
</div>FAQ
What is the card frame?
flex w-full max-w-sm flex-col gap-3 rounded-md border p-4. Tags, title, two text lines and two buttons stack in that order.
How are the tags drawn?
A flex items-center gap-2 row holds h-5 w-16 rounded-full and h-5 w-20 rounded-full. rounded-full replaces the radius Skeleton gets from your style.
What sizes are the title and the text?
The title is h-6 w-3/4. The two lines under it are h-4 w-full and h-4 w-5/6.
How are the two buttons shown?
A mt-2 flex gap-2 row holds h-8 w-20 and h-8 w-24. Match those widths to the real button labels.
API Reference
Skeleton
No extra props in this demo. The rest is on the Skeleton page.




