RzSkeleton
The RzSkeleton component reproduces the shadcn/ui skeleton pattern as a feedback placeholder for loading states. Use it to reserve layout space while async content is loading. Compose multiple RzSkeleton groups to build realistic placeholders for entire pages while data loads.<div class="flex w-fit items-center gap-4">
<RzSkeleton class="size-10 shrink-0 rounded-full" />
<div class="grid gap-2">
<RzSkeleton class="h-4 w-[150px]" />
<RzSkeleton class="h-4 w-[100px]" />
</div>
</div><RzSkeleton class="h-4 w-2/3" />
<RzSkeleton class="h-4 w-1/2" />
<RzSkeleton class="aspect-video w-full" /><RzSkeleton class="h-4 w-full" />
<RzSkeleton class="h-4 w-full" />
<RzSkeleton class="h-4 w-3/4" /><RzSkeleton class="h-4 w-20" />
<RzSkeleton class="h-8 w-full" />
<RzSkeleton class="h-8 w-24" /><RzSkeleton class="h-4 flex-1" />
<RzSkeleton class="h-4 w-24" />
<RzSkeleton class="h-4 w-20" />