Component docs
Loading
import { Skeleton } from "@pixxl-tools/components";
// In Server Components:
import { Skeleton } from "@pixxl-tools/components/server";| Prop | Type | Default | Description |
|---|---|---|---|
width | number | string | — | — |
height | number | string | — | — |
widthnumber | string
heightnumber | string
Other props are passed to the root element (HTMLAttributes<HTMLSpanElement>), including className, style, id and aria-* attributes.
<Skeleton width="calc(var(--pixxl-size-sidebar) / 2)" />