Alert-RS
is a highly customizable alert component designed for Wasm-based frameworks like Yew, Dioxus, and Leptos. Create fully-featured, styled alerts with configurable behaviors like auto-close, button actions, and customizable icons, all within your Rust-based frontend.
The following are some reasons why Alert-RS is a fantastic addition to your Wasm projects:
- 🚨 Custom Alerts: Create fully customizable alert boxes with title, message, and buttons.
- 🎨 Styling Flexibility: Customize every element with CSS classes and inline styles.
- ⚡ Button Actions: Display and handle buttons like Confirm, Cancel, and Close with callback support.
- ⏲️ Auto-Close: Optionally auto-close the alert after a timeout.
- 🔧 Highly Configurable: Control alert position, icon type, and visibility based on scroll position.
Refer to our guide to integrate this component into your Yew app.
Refer to our guide to integrate this component into your Dioxus app.
Refer to our guide to integrate this component into your Leptos app.
Contributions are welcome! Whether it's bug fixes, feature requests, or examples, we would love your help to make Alert-RS better.
- Fork the repository.
- Create a new branch for your feature/bugfix.
- Submit a pull request for review.
Alert-RS is licensed under the MIT License. You are free to use, modify, and distribute this library in your projects.