Augeo AI Docs
Augeo Design SystemComponents

Skeleton

Loading placeholder that draws any wrapped component as bones in its own layout.

Skeleton

Skeleton is the loading placeholder. Wrap a component in it with placeholder props, and it draws that component's text, media and controls as bones in the component's own layout, so nothing jumps when the real content arrives. The wrapped subtree reports nothing, so the region that swaps in the real content must carry aria-busy and the render report, as InteractionSlot does. The bones take the placeholder's height, so give it copy as long as the content it stands in for.

Scope
Backdrop

Storybook

Loading

Props

Prop

Type

Source

  • src/components/ui/skeleton/skeleton.tsx