🧭 Browser RS
🎬 Demo
Framework | Live Demo |
---|---|
Yew | |
Dioxus | TODO |
Leptos | TODO |
📜 Intro
Browser RS is a browser window emulator for Rust-based WASM frameworks like Yew, Leptos, and Dioxus. Designed to wrap embedded content in a mock browser frame, it offers complete control over styling, layout, and interactions.
🤔 Why Use Browser RS?
-
🖼️ Realistic Browser Look: Simulates a browser window with address bar, controls (close, minimize, maximize), and content area.
-
🔩 Highly Configurable: Toggle visibility, customize styles, and control behavior with dozens of props.
-
📟 Accessible by Default: Comes with semantic roles and ARIA attributes for screen readers and keyboard users.
-
⚡ Interactive Hooks: Emit callbacks on user actions like URL change, hover, click, blur, focus, and keyboard events.
-
🎛️ Theming-Ready and Style-Agnostic: Comes with sensible defaults but is easily styled via Tailwind, CSS classes, or inline styles.
Yew Usage
Refer to our guide to integrate this component into your Yew app.
🧬 Dioxus Usage (TODO)
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 Browser RS better.
- Fork the repository.
- Create a new branch for your feature/bugfix.
- Submit a pull request for review.
📜 License
Browser RS is licensed under the MIT License. You are free to use, modify, and distribute this library in your projects.