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
Name | Type | Default | Description |
---|---|---|---|
height | string | number | undefined | Pass a pixel value for circular and rectangular variants |
variant | SkeletonVariant | SkeletonVariants.Text | Either text, circular, or rectangular |
width | string | number | undefined | Pass a pixel value for any variant |
Slots
Name | Description |
---|---|
default | Default slot for style inheritance |
Events
None