Skip to content
Source
Sign inSign up
pingdotgg/t3code
Open History to see the last commit

skeleton.tsx

13 lines307 Bytes

1import { cn } from "~/lib/utils";
2​
3function Skeleton({ className, ...props }: React.ComponentProps<"div">) {
4 return (
5 <div
6 className={cn("rounded-sm bg-muted-foreground/15 motion-safe:animate-skeleton", className)}
7 data-slot="skeleton"
8 {...props}
9 />
10 );
12​
13export { Skeleton };