- When should you not use skeleton loading?
- Why use skeleton loading?
- What does it mean for text thumbnail and page to be skeleton?
- How do you add skeleton loading?
When should you not use skeleton loading?
A skeleton loader shouldn't be used in combination with a spinner, choose the one that fits the use case best.
Why use skeleton loading?
A skeleton screen is an animated placeholder that simulates the layout of a website while data is being loaded. They let the user know that some content is loading and, more importantly, provide an indication of what is loading, whether it's an image, text, card, and so on.
What does it mean for text thumbnail and page to be skeleton?
Skeleton thumbnail is used to provide a low fidelity representation of an image before it appears on the page, and improves load times perceived by merchants. Use for thumbnails in or outside of a card.
How do you add skeleton loading?
Create a new file index. html and write some HTML for the layout inside a parent <div> with class=”profile-container”. Add class=”skeleton” to every element in order to apply the skeleton screen loading effect. You'll be removing this class when the content is loaded using JavaScript.