Skip to content
Components

Skeleton

BetaBeta — the props contract is close to final, but small breaking changes can still land.

Loading placeholders with seamless shimmer, pulse, and static variants. Match their dimensions to the incoming content.

Composition

Loading placeholder

  • <Skeleton />

Installation

The Control UI source installs this primitive from src/registry/sources/control-ui/ui/skeleton.tsx.

Registry command
See registry manifest

Dependencies

Effectssrc/registry/sources/control-ui/effects.cssSupport

Raw code

Primary installed source

src/registry/sources/control-ui/ui/skeleton.tsx

Knobs

Typed custom properties the recipe paints with. Set one on the root — style, a utility class, or a skin — and every slot inherits it.

--cui-skeleton-* · 7 knobsHow the cascade resolves
--cui-skeleton-radius<length-percentage>var(--radius-control)
--cui-skeleton-background<color>var(--muted)
--cui-skeleton-background-image*none
--cui-skeleton-highlight-background<color>oklch(from var(--foreground) l c h / 0.06)
--cui-skeleton-animation-duration<time>calc(var(--duration-slow) * 5)
--cui-skeleton-easing*var(--ease-standard)
--cui-skeleton-pulse-opacity<number>0.5