shadcn.io is not affiliated with official shadcn/ui
Skeleton examples · Content
Detailed Article Skeleton for React
A long-form article placeholder with a title, a hero image, two titled sections and a second image.
A loading page for long reads: a title and a subtitle, a tall hero image, two sections that each open with a heading, and a second image. The blocks are Skeleton elements in one column.
Use it for tutorials, guides or magazine articles where the page has several sections.
Preview
Installation
FAQ
How is the article column spaced?
flex w-full max-w-3xl flex-col gap-8. A header group, an h-96 image, then a gap-6 stack of two sections and a second image.
How does a section differ from a paragraph?
Each section starts with an h-6 heading, w-48 then w-40, above h-4 lines in a gap-3 column. The first section ends on w-5/6. The second ends on w-4/6.
What sizes are the two images?
The hero is h-96 w-full. The later image is h-48 w-full, inside the gap-6 stack. Match both heights to the images you render.
Related
- Blog Post SkeletonA blog post placeholder with a large
- Article Preview SkeletonAn article preview placeholder with an
- Content with Sidebar SkeletonA page placeholder with a wide article
- Standard CardA basic card with a title, a description
- Simple List Items SkeletonFive list rows, each with a small icon
- Avatar StandardA round avatar with a profile picture and