Skip to content

opensass/browser-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🧭 Browser RS

Crates.io Crates.io Downloads Crates.io License made-with-rust Rust Maintenance

Join our Discord

logo

🎬 Demo

Framework Live Demo
Yew Netlify Status
Dioxus Netlify Status
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?

  1. 🖼️ Realistic Browser Look: Simulates a browser window with address bar, controls (close, minimize, maximize), and content area.

  2. 🔩 Highly Configurable: Toggle visibility, customize styles, and control behavior with dozens of props.

  3. 📟 Accessible by Default: Comes with semantic roles and ARIA attributes for screen readers and keyboard users.

  4. ⚡ Interactive Hooks: Emit callbacks on user actions like URL change, hover, click, blur, focus, and keyboard events.

  5. 🎛️ 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

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.

  1. Fork the repository.
  2. Create a new branch for your feature/bugfix.
  3. 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.

Packages

No packages published

Languages