Skeleton
Install this component from the Scintillar registry.
Preview
Installation
npx shadcn@latest add @scintillar/skeletonSource
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 }