Lucent UI
SpinnerSkeletonProgress
✦ LLM-ready

Skeleton

atom

Pulsing placeholder shapes — text lines, circle, and rectangle — that mirror content layout during loading.

"Add Skeleton placeholders from lucent-ui to replicate a card layout while data loads. Use circle for the avatar, rectangle for the image, and text lines for the content."

Usage

React / JSX
import { Skeleton } from 'lucent-ui'

<Skeleton variant="text" lines={1} />

Installation

pnpm add lucent-ui

API Reference

Skeleton props — * required

PropTypeDefaultDescription
variant"text" | "circle" | "rectangle""text"Shape of the skeleton.
linesnumber1Number of text lines (only for variant="text").
widthnumber | stringWidth override.
heightnumber | stringHeight override.