Skip to content
nexubDesign System
v12.7.0

Components · Loading States

Skeleton

StableAdded v0.0.1

Placeholder loading animation that mimics content layout.

import { Skeleton } from '@nexub/react';
View as Markdown

Playground

Props

animation
shape
TSX
<Skeleton width="60%" />

Examples

Default

Shapes

Props

Props
PropTypeDefaultDescription
shape'circle' | 'line' | 'rect''line'Shape of the skeleton placeholder.
widthstring | number—Width of the skeleton element.
heightstring | number—Height of the skeleton element.
animatedbooleantrueEnables the shimmer animation.
animation'pulse' | 'shimmer''pulse'Effect when animated: pulse fades, shimmer sweeps a highlight across. Both stop under reduced motion.