ProUnlock everything for $49.99 a year, or $79.99 once. See plans ›

Nexus UI

Skeleton Morph, animated React component

A card whose loading skeletons are cut to the exact shape of the content that replaces them, with one light sweeping across every block. When the data arrives each block dissolves into its real content in reading order, and nothing shifts.

  • Pro
  • Loaders
  • Glow

Play with it

Move the controls and watch it change. Copy code gives you a snippet with only the props you changed.

Loading content

Props

PropTypeDefaultWhat it does
ready—Controlled: true shows the content, false the skeletons. Leave it out to use the built-in toggle button and defaultReady.
defaultReadyfalseStarting state when ready is not controlled.
onReadyChange—Called when the toggle button, or autoplay, changes the state.
author"Maya Chen"Author name shown beside the avatar.
initials"MC"Initials in the avatar.
avatarColor"#ff9f0a"Avatar colour.
meta"4 min read"Reading time line under the author.
title"Designing for the empty state"Headline of the card.
linesSKELETON_MORPH_LINESLines of body copy, one skeleton each.
autoplayfalseFlips between skeleton and content on a loop until someone touches the card. Pauses off screen, never runs under reduced motion, and works when ready is not controlled.
className—Extra classes for the wrapper.