A placeholder component that mimics the shape of text content while data is loading.
The component can be imported via:
By default, the SkeletonText component renders a single-line placeholder.
To display multiple lines, use the lines prop.
The text prop determines the size and width of the skeleton based on the text sizes within Pluma.
To disable the animation, set the shouldAnimate prop to false.
Ensure the SkeletonText is hidden from assistive technologies and provide alternative descriptions where needed.
PlumaSkeletonText extends TextNumber of lines to display
Whether the skeleton shape should animate