Skip to main content

Skeleton

<gstock-skeleton> | GstockSkeleton

API

Properties

Name Description Reflects Type Default
effect Determines which effect the skeleton will use. 'pulse' | 'sheen' | 'none' 'none'
updateComplete

A read-only promise that resolves when the component has finished updating.

Learn more about attributes and properties .

Custom Properties

Name Description Default
--border-radius The skeleton’s border radius.
--color The color of the skeleton.
--sheen-color The sheen color when the skeleton is in its loading state.

Learn more about custom properties .

CSS Parts

Name Description
base The component’s base wrapper.
indicator The skeleton’s indicator which is responsible for its color and animation.

Learn more about CSS parts .