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

Skeleton
System Props

  • COMMON
  • TYPOGRAPHY
  • BORDER
  • LAYOUT
  • POSITION
  • FLEX
  • GRID
  • Learn More
NameTypeDescription
gradientResponsiveValue<TLengthStyledSystem, Required<Theme<TLengthStyledSystem>>>-
variant"circle" | "rectangle" | "pill"Shape of the skeleton loader
animation"none" | "flash"Animation style