16 lines · 545 B · TypeScript
RawDownload
import { cn } from "~/lib/utils"; function Skeleton({ className, ...props }: React.ComponentProps<"div">) {  return (    <div      className={cn(        "animate-skeleton rounded-sm [--skeleton-highlight:--alpha(var(--color-white)/64%)] [background:linear-gradient(120deg,transparent_40%,var(--skeleton-highlight),transparent_60%)_var(--color-muted)_0_0/200%_100%_fixed] dark:[--skeleton-highlight:--alpha(var(--color-white)/4%)]",        className,      )}      data-slot="skeleton"      {...props}    />  );} export { Skeleton };

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t