ComponentsSkeleton
Skeleton
A placeholder surface that preserves layout while content is loading.
Installation
bunx @swift-rust/ui add skeleton
Usage
tsx
1import { Skeleton } from "@/components/ui/skeleton";23<div className="flex items-center gap-3">4<Skeleton className="size-10 rounded-full" />5<Skeleton className="h-4 w-40" />6</div>