Skeleton

Use to show a placeholder while content is loading.

Installation

$npx shadcn@latest add @craftdotui/craftui-skeleton

Anatomy

<Skeleton className="h-4 w-50" />
<SkeletonRoot className="h-4 w-50" />

Demo

Card

Loading...

Text

Table

Loading...

Form

Loading...

Props

Skeleton

Prop
Type
Default