A placeholder component used to indicate loading state before content is available.
Anatomy
<Skeleton />Examples
Variants
Skeleton components come with three built-in variants: solid, pulse, and shimmer.
solid
pulse
shimmer
Loading State
Use the loading prop to toggle between the skeleton and its children. When loading is false, the children are rendered instead of the skeleton placeholder.
Loading
This is the content
Loaded
This is the content
Composition
Skeletons can be composed to represent more complex loading layouts.