Usage
Skeleton can be used to build placeholder “loading” UI. The default dimensions are width=100% and height=16px, it
is recommended to specify dimensions as required.
import { Skeleton } from '@houzz/ui';Shape variants
There are three shape variants available: rectangle, pill andcircle.
Animation
By default, a pulsating flash animation is used. It can also be disabled by setting none.
Props
SkeletonSystem Props
COMMONTYPOGRAPHYBORDERLAYOUTPOSITIONFLEXGRID- Learn More
| Name | Type | Description |
gradient | ResponsiveValue<TLengthStyledSystem, Required<Theme<TLengthStyledSystem>>> | - |
variant | "circle" | "rectangle" | "pill" | Shape of the skeleton loader |
animation | "none" | "flash" | Animation style |