Go Main page
Go Main page

Web components

cover

components

Skeleton

v.1.0.0 | Saturn

Usage

import { Skeleton } from '@kubit-ui-web/react-components'
1
<Skeleton variant="DEFAULT" shapeVariant="SQUARE" width="100px" height="25px" />

Props

Let's delve into the versatility of the skeleton component by examining all its avalaible props.

PropertyVariantDefaultDescription
variant
Required
string-Set the component variant theme
shapeVariant
Required
string-Set the shape type
width
Required
string-Set the shape width
height
Required
string-Set the shape height
durationstring1.2sSet the shape animation duration
aria-labelString-Skeleton aria label
aria-labelledbyString-Skeleton aria labelledby
aria-describedbyString-Skeleton aria describedby
dataTestIdstring-String for testing purposes
ctvSkeletonShapeStylesType-Modify styles for the default version of the component