Scintillar logo/UI

Skeleton

Install this component from the Scintillar registry.

Preview

Installation

npx shadcn@latest add @scintillar/skeleton

Source

import { cn } from "@/lib/utils"

function Skeleton({ className, ...props }: React.ComponentProps<"div">) {
  return (
    <div
      data-slot="skeleton"
      className={cn("animate-pulse rounded-md bg-accent", className)}
      {...props}
    />
  )
}

export { Skeleton }