Skeleton

Placeholder loading state showing content structure before it loads

Preview

Installation

Usage

Examples

Wrapping Content

Wrap existing elements to automatically match their dimensions. The skeleton inherits the size of its children while hiding them with a shimmer overlay.

CN

shadcn

@shadcn

API Reference

Props

Skeleton

Animated placeholder that displays a shimmer effect. Can be used standalone with explicit dimensions or as a wrapper around content.

Prop