Skeleton
Loading placeholder.
Import
tsx
import { ZSkeleton } from "@zurto/ui";Usage
tsx
<ZSkeleton width={200} height={20} />
<ZSkeleton variant="circle" size={40} />
<ZSkeleton variant="text" lines={3} />Props
| Prop | Type | Default | Description |
|---|---|---|---|
variant | 'rect' | 'circle' | 'text' | 'rect' | Shape variant |
width | number | string | 100% | Width |
height | number | – | Height |
lines | number | 1 | Text lines |