ComponentsSkeleton

Skeleton

The Skeleton component displays a placeholder that mimics the shape and size of loading content.

GitHub LogoSource Code
My skeleton example content

Content size

If you pass no width or height props, the skeleton will adapt to the content size.

Beatrice

Some text being hidden by the skeleton

Some text being hidden by the skeleton

Background image

Use the backgroundImage prop to show a placeholder image in HvSkeleton—ideal for image loading scenarios.

Custom animation

You can apply custom CSS animations to HvSkeleton by defining them in your own styles.