Skeleton

PreviousNext

Displays a placeholder preview of your content before it loads.

Docs
bunduicomponent

Preview

Loading preview…
examples/components/skeleton/01/page.tsx
import { Skeleton } from "@/components/ui/skeleton";

export default function SkeletonDemo() {
  return (
    <div className="flex items-center space-x-4">
      <Skeleton className="h-12 w-12 rounded-full" />
      <div className="space-y-2">
        <Skeleton className="h-4 w-[250px]" />
        <Skeleton className="h-4 w-[200px]" />
      </div>
    </div>
  );
}

Installation

npx shadcn@latest add @bundui/skeleton

Usage

import { Skeleton } from "@/components/skeleton"
<Skeleton />