Skeleton
Skeleton loading state
skeleton-examples.tsx
import { Card, CardContent } from "@/components/ui/card"
import { Stack } from "@/components/ui/stack"
import { Skeleton } from "@/components/ui/skeleton"
export function SkeletonExamples() {
return (
<Card className="w-64">
<CardContent>
<Stack direction="col" className="gap-3 pt-2">
<Stack direction="row" className="items-center gap-3">
<Skeleton className="size-9 rounded-full shrink-0" />
<Stack direction="col" className="gap-1.5 flex-1">
<Skeleton className="h-3 w-3/4" />
<Skeleton className="h-3 w-1/2" />
</Stack>
</Stack>
<Skeleton className="h-3 w-full" />
<Skeleton className="h-3 w-5/6" />
<Skeleton className="h-20 w-full rounded-md" />
</Stack>
</CardContent>
</Card>
)
}