Skip to content
Feedback & Data

SkeletonFlow

A light runs from one placeholder block to the next. When the data lands, the real content wipes in while the placeholder folds away, so the page height eases over instead of jumping.

Download
  • React
  • Tailwind CSS v4
  • motion

Props

NameTypeDefaultWhat it does
loadingboolean—True shows the placeholder, false shows the children.
childrenReactNode—The real content.
shape"text" | "list" | "card""text"Placeholder layout. Pick the one closest to the content.
countnumber1How many times the shape repeats.
labelstring"Loading"Read by screen readers while loading.
accentstring"#a78bfa"Colour of the light that runs through the blocks.
classNamestring"bg-white/10"Replaces the block look.