ns-ui

Skeleton Develop

Loading wrapper whose placeholder blocks develop into the real content — a masked sweep resolves the text instead of swapping it.

Use when content that already exists and is mid-fetch, stood in for by declared placeholder blocks that develop into the real thing, with the children never mounted until data arrives; pick empty-state-dashed or empty-state-pegboard instead when nothing is on its way and the region is empty because the user has not acted yet, or skeleton-schema when the incoming payload has a declared schema whose fields can be molded individually.

Install

npx shadcn add https://design.helpmarq.com/r/skeleton-develop.json
  • skeleton
  • loading
  • placeholder
  • transition
  • css-animation

ns-ui / skeleton-develop — placeholder resolving into content

Loading

Props

PropTypeDefaultDescription
loadingbooleanWhile true the placeholder is shown; flipping it false runs the develop.
childrenReactNodeThe real content. Not rendered — and so never measured — while loading.
blocks?SkeletonBlock[]Placeholder layout. Defaults to a heading over three lines of text.
developMs?numberDuration of the develop transition, ms.
loadingLabel?stringAnnounced to screen readers while loading.
className?string