Expand description
Β§π¬ Demo
Β§π Intro
Image RS is a highly optimized, feature-rich image component built for WASM-based frameworks like Yew, Dioxus, and Leptos. It offers lazy loading, blur-up placeholders, fallback image handling, responsive layouts, and full ARIA accessibility.
Β§π€ Why Use Image RS?
The following features make Image RS a must-have for modern WASM apps:
- π Performance Optimized: Smart lazy loading with
IntersectionObserver
and fallback strategies. - π¨ Advanced Layouts: Responsive, Fill, Intrinsic, Fixed, Stretch, and ScaleDown layouts.
- π§© Accessibility First: Full ARIA attribute support to build inclusive UIs.
- β‘ Interactive Events: Callbacks for loading completion and error handling.
- πΌοΈ Visual Enhancements: Blur placeholders and fallback images for seamless loading UX.
Β§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
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 Image RS better.
- Fork the repository.
- Create a new branch for your feature/bugfix.
- Submit a pull request for review.
Β§π License
Image RS is licensed under the MIT License. You are free to use, modify, and distribute this library in your projects.
Re-exportsΒ§
pub use common::AriaLive;
pub use common::AriaPressed;
pub use common::CrossOrigin;
pub use common::Decoding;
pub use common::FetchPriority;
pub use common::Layout;
pub use common::Loading;
pub use common::ObjectFit;
pub use common::Position;
pub use common::ReferrerPolicy;