Skip to content
nexubDesign System
v2.4.0

Components · Loading States

Skeleton

StableSince v0.0.1

Placeholder loading animation that mimics content layout.

import { Skeleton } from '@nexub/react';

Examples

Default

Shapes

Props

Props
PropTypeDefaultDescription
shape'line' | 'rect' | 'circle''line'Shape of the skeleton placeholder.
widthstring | number—Width of the skeleton element.
heightstring | number—Height of the skeleton element.
animatedbooleantrueEnables the shimmer animation.