Skip to content

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

PropTypeDefaultDescription
variant'rect' | 'circle' | 'text''rect'Shape variant
widthnumber | string100%Width
heightnumberHeight
linesnumber1Text lines

Released under the MIT License.