Skeleton

The Skeleton component is a loading placeholder that can be used to indicate content is being loaded. It supports various shapes and sizes, making it versatile for different use cases.

Source

Props

NameDefaultType
radiusvar(--border-radius-s)string number
The border radius of the skeleton
width100%string number
The width of the skeleton
height32pxstring number
The height of the skeleton
circlefalseboolean
Whether to make the skeleton circular

Tokens

CSS variable tokens used for global or per-instance manipulation of certain styling.

TokenDefaultDescription
--vui-skeleton-colorvar(--color-border)Skeleton background color