Skip to content
shadcn.io

shadcn.io is not affiliated with official shadcn/ui

Shadcn Skeleton for React and Tailwind

Displays a loading state.

Installation

bunx --bun shadcn@latest add https://kit.dev/r/skeleton.json

Usage

import {
  SkeletonCircle,
  SkeletonText,
} from "@/components/ui/skeleton";
<div className="flex w-full max-w-xs items-center gap-4">
  <SkeletonCircle className="size-16" />
  <SkeletonText lines={3} />
</div>

Demos

Loading Card

Skeleton

Skeleton Circle

Skeleton Text

API Reference

Skeleton

div

PropType
AttributeType

SkeletonCircle

div

PropType
AttributeType

SkeletonText

div

PropType
AttributeType