Skeleton
The `HvSkeleton` component is used to create a placeholder element that represents the shape and size of the content that will be loaded.
My skeleton example content
Content size
If you pass no width
or height
props, the skeleton will adapt to the content size.
Some text being hidden by the skeleton
Some text being hidden by the skeleton
Background image
You can use a background image for the skeleton component by using the backgroundImage
prop.
This is useful when you want to show a placeholder image while the real image is being loaded.
Custom animation
You can use custom CSS animations with the skeleton component by defining your own in your styles.