Files
ui-kit/src/components/skeleton.tsx
T

17 lines
356 B
TypeScript
Raw Normal View History

2026-07-23 04:23:19 -05:00
import * as React from "react";
import { cn } from "../lib/cn";
export function Skeleton({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) {
return (
<div
aria-hidden
className={cn(
"animate-pulse rounded bg-surface-2",
"motion-reduce:animate-none",
className
)}
{...props}
/>
);
}