Docs
ReportReport
Export-card skeleton with a CSV badge and uniform data rows.
Loading...
Installation
CLI
pnpm dlx shadcn@latest add https://animata.design/r/skeleton/report.json
Manual
Run the following command
mkdir -p components/animata/skeleton && touch components/animata/skeleton/report.tsxPaste the code
import { cn } from "@/lib/utils";
export default function Report({ className }: { className?: string }) {
return (
<div
className={cn(
"flex min-h-52 w-52 flex-col gap-3 rounded-md border bg-background p-3 shadow-xl transition-shadow hover:shadow-sm dark:border-zinc-700",
className,
)}
>
<div className="flex items-center justify-between border-b pb-3 dark:border-zinc-700">
<span className="font-semibold text-foreground">Report</span>
<span className="inline-block w-fit rounded-md bg-blue-600 px-2 py-1 text-center text-xs font-semibold text-white">
CSV
</span>
</div>
{Array.from({ length: 6 }).map((_, i) => (
<div className="h-2 w-full rounded-md bg-muted" key={`item-${i}`} />
))}
<div className="h-2 w-1/2 rounded-md bg-muted" />
</div>
);
}Usage
import Report from "@/components/animata/skeleton/report";
<Report className="w-full max-w-sm" />Props
| Prop | Type | Default | Description |
|---|---|---|---|
className | string | — | Optional wrapper classes for sizing in grids or feature cards. |
Credits
Built by hari.