Skeleton
Use a skeleton component to show a loading state.
Class names
- component:
skeleton - modifier:
skeleton-text
Syntax
<div class="skeleton"></div>
Example with a text skeleton:
<div class="skeleton skeleton-text">Loading data...</div>
Rules
- Add the
h-*andw-*utility classes to set the height and width.