Skip to content

Skeleton API

API reference docs for the Stash Skeleton component. Learn about the props, CSS, and other APIs of this exported module.

Import

ts
import Skeleton from '@leaflink/stash/Skeleton.vue';

Props

NameTypeDefaultDescription
heightstring | numberundefinedPass a pixel value for circular and rectangular variants
variantSkeletonVariantSkeletonVariants.TextEither text, circular, or rectangular
widthstring | numberundefinedPass a pixel value for any variant

Slots

NameDescription
defaultDefault slot for style inheritance

Events

None