Files
upstream-shadcn-ui/apps/v4/registry/bases/radix/blocks/preview-02/cards/loading-card.tsx
upstream-mirror 1416db152c
All checks were successful
Release / Create Version PR or Publish Stable Release (push) Has been skipped
Release / Publish Prerelease to NPM (push) Has been skipped
Monitor Registries / Monitor registry health (push) Has been skipped
snapshot of https://github.com/shadcn-ui/ui.git (main, 2026-09-15; blobs > 131072B omitted)
2026-09-15 22:44:43 +05:00

26 lines
829 B
TypeScript

import { Card, CardContent, CardHeader } from "@/registry/bases/radix/ui/card"
import { Skeleton } from "@/registry/bases/radix/ui/skeleton"
export function LoadingCard() {
return (
<Card>
<CardHeader>
<Skeleton className="h-5 w-32" />
<Skeleton className="h-4 w-48" />
</CardHeader>
<CardContent className="flex flex-col gap-4">
<Skeleton className="h-32 w-full rounded-lg" />
<div className="flex flex-col gap-2">
<Skeleton className="h-4 w-full" />
<Skeleton className="h-4 w-3/4" />
<Skeleton className="h-4 w-1/2" />
</div>
<div className="flex gap-2">
<Skeleton className="h-9 flex-1 rounded-md" />
<Skeleton className="h-9 flex-1 rounded-md" />
</div>
</CardContent>
</Card>
)
}