Tessera UI

Skeleton

Animated placeholder for loading states. Wave shimmer (default) and pulse variants, five rounded options, and composable with any layout.

Installation

pnpm add @tessinaui/ui

Usage

import { Skeleton } from "@tessinaui/ui";
<Skeleton className="h-10 w-40" />

Playground

Preview

Showcase

Preview

Variants

VariantDescription
waveA shimmer gradient sweeps across the element. Default.
pulseOpacity fades in and out using Tailwind's animate-pulse.

API Reference

Skeleton

PropTypeDefaultDescription
variant"wave" | "pulse""wave"Animation style
rounded"none" | "sm" | "md" | "lg" | "full""md"Border radius
classNamestringExtra classes — typically set h-* and w-* to size the placeholder

The component extends all standard div HTML attributes.

On this page