A placeholder component that mimics the shape of various UI elements while data is loading.
The component can be imported via:
The SkeletonShape component can be used to mimic the shapes of common UI elements like buttons, text fields, icons, and more.
For custom shapes, use the style prop to define dimensions and other CSS properties.
To disable the animation, set the shouldAnimate prop to false.
Ensure SkeletonShape is hidden from assistive technologies using appropriate ARIA attributes or by marking it as purely decorative in the DOM.
PlumaSkeletonShape extends BoxWhether the skeleton shape should animate