Skeleton

Display a placeholder preview of component before the data gets loaded, it can help to the user aware and that the data is processing.

Variant

The skeleton has two variations in appearance, combining multiple skeletons to make a component holder.

Size

Sizes of Skeleton can be customize with width & height props.

Animation

Animation can be disabled by setting animation to false.

API

Skeleton
PropDescriptionTypeDefault
animationWhether to active animationbooleantrue
asElementRender elementstring'span'
heightHeight of Skeletonstring | number-
variantAppearance of Skeleton'block' | 'circle''block'
widthWidth of Skeletonstring | number-