Expand description
Β§π¬ Demo
Β§π Intro
Skeleton RS is a lightweight, highly customizable loading placeholder component for WASM-based UI frameworks like Yew, Dioxus, and Leptos. It helps deliver a smooth loading experience with animated placeholders, responsive sizing, and fine-grained visibility control using IntersectionObserver
.
Β§π€ Why Use Skeleton RS?
The following features make Skeleton RS an essential building block for modern frontend apps built with Rust and WebAssembly:
- β¨ Smooth UX: Mimics content structure while loading, avoiding layout shifts.
- ποΈ Animate on Visibility: Supports visibility-based animations using
IntersectionObserver
. - ποΈ Fully Customizable: Control height, width, border radius, animation style, and more.
- π± Responsive Ready: Automatically adapts to screen sizes when enabled.
- β³ Delay-Aware Rendering: Prevents unnecessary skeleton flashes using
delay_ms
.
Β§Yew Usage
Refer to our guide to integrate this component into your Yew app.
§𧬠Dioxus Usage
Refer to our guide to integrate this component into your Dioxus app.
Β§π± Leptos Usage (TODO)
Refer to our guide to integrate this component into your Leptos app.
Β§π€ Contributions
Contributions are welcome! Whether itβs bug fixes, feature requests, or examples, we would love your help to make Skeleton RS better.
- Fork the repository.
- Create a new branch for your feature/bugfix.
- Submit a pull request for review.
Β§π License
Skeleton RS is licensed under the MIT License. You are free to use, modify, and distribute this library in your projects.