Zephora UI

Feedback

Skeleton

Animated placeholder shown while content loads. Text, circular and rectangular shapes with pulse or wave shimmer, announced to screen readers via role="status".

Import

import { Skeleton } from "@zephora/react";

Examples

Shapes

Loading…
Loading…
Loading…

Card placeholder

Compose shapes to sketch the layout that is loading.

Loading…
Loading…

Animations

pulse (default), wave, or none.

Loading…
Loading…
Loading…

API

Skeleton props

PropTypeDefaultDescription
variant"text" | "circular" | "rectangular""text"Placeholder shape.
widthnumber | stringExplicit inline size (number = px).
heightnumber | stringExplicit block size (number = px).
linesnumber1Number of text bars to render (text variant only; last bar is shorter).
animation"pulse" | "wave" | "none""pulse"Loading shimmer style.
labelReactNode"Loading…"Screen-reader announcement.
unstyledbooleanfalseHeadless mode — skips Zephora styling.