Realistic loading state demonstrations
Loading states for text content of various lengths
Avatar with user information skeleton
Image cards with text content
We're excited to announce the latest updates to our platform, including enhanced performance and new customization options.
Read More
List of comments with avatars
Skeleton for tabular data
| Name | Status | Date |
|---|---|---|
| Project Alpha | Active | 2024-01-15 |
| Project Beta | Completed | 2024-01-10 |
| Project Gamma | Pending | 2024-01-20 |
Different animation styles for skeleton loaders
Show and hide skeleton loaders programmatically
Click "Load Content" to see skeleton loading
// Show skeleton
RSL.Skeleton.show('#dynamic-content', function() {
return RSL.Skeleton.card({ lines: 4 });
});
// Simulate loading (2 seconds)
setTimeout(function() {
// Hide skeleton and show real content
RSL.Skeleton.hide('#dynamic-content');
document.querySelector('#dynamic-content').innerHTML =
'Content Loaded!
This is the actual content that was loaded.
';
}, 2000);