Skeleton
Shimmer-animated placeholder shapes for loading states. Three primitives (block, text, circle) and three composites (Chart, Table, Card) cover all common dashboard loading patterns.
Primitives
Block
Text
Circle
Composites
SkeletonChart
SkeletonTable
SkeletonCard
Interactive Variant Toggle
Usage
import { Skeleton, SkeletonChart, SkeletonTable } from '@so.boss/gloss-ui';
// Primitive variants
<Skeleton variant="block" width={200} height={20} />
<Skeleton variant="text" lines={3} lineHeight={14} gap={8} />
<Skeleton variant="circle" size={40} />
// Composites
<SkeletonChart bars={10} maxHeight={120} />
<SkeletonTable rows={5} columns={4} />
<SkeletonCard variant="value" />