shadcn.io is not affiliated with official shadcn/ui
Skeleton examples · List
Simple List Items Skeleton for React
Five list rows, each with a small icon block and one line of text.
Framework
UI library
The simplest list placeholder: five rows, each a small square and one line that fills the rest of the row. Every block is a Skeleton.
Use it for menus, link lists or task lists with one line per item.
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
What is in a row?
flex items-center gap-3: a size-4 rounded-sm block and an h-4 flex-1 bar. The bar fills whatever width the icon leaves.
Why is the icon rounded-sm?
rounded-sm replaces the style's default radius on that Skeleton. The text bar keeps the default. Both use bg-muted and animate-pulse.
What keys the rows?
The id from ROWS. The five rows are the same shape, so the key is what tells them apart.
Related
- List with Avatars SkeletonFour list rows, each with a round avatar
- List with Icons SkeletonFive bordered list rows with a leading
- Hierarchical List Items SkeletonA tree placeholder of icon and label
- Simple Card with Image and Text SkeletonA card placeholder with a wide image
- Simple CheckboxA checkbox with a label for a single
- Input Fields SkeletonThree label and input placeholders