structyl

Skeleton

stable

A placeholder preview of content before the data loads.

Basic usage

Examples

Card placeholder

Compose Skeleton into a card layout while data is loading.

Page loading skeleton

Shape Skeleton with Tailwind utilities to match the eventual content.

Features

  • Pulse animation.
  • Compose any shape with utility classes.

Installation

bash
pnpm dlx structyl add skeleton

API Reference

Skeleton

A pulse-animated placeholder. Shape it with classes.

PropTypeDefault
classNamestring

Additional Tailwind classes, merged with the component defaults.

Skeleton | structyl