2 releases
Uses new Rust 2024
new 0.0.2 | May 4, 2025 |
---|---|
0.0.1 | May 1, 2025 |
#656 in Science
98 downloads per month
78KB
1.5K
SLoC
🎬 Demo
Framework | Live Demo |
---|---|
Yew | |
Dioxus | |
Leptos | TODO |
📜 Intro
Navbar is a fully customizable, responsive navigation bar component for WASM frameworks like Yew, Dioxus, and Leptos. Designed for scalability and flexibility, it supports standard, dropdown, and mega menus, with full styling and ARIA-aware accessibility support.
🤔 Why Use Navbar?
The following features make Navbar a must-have for modern WASM apps:
- 🔗 Main, Dropdown, & Mega Menus: Clean struct-based APIs for structured nav items.
- 🎨 Customizable Styling: Inline styles or class overrides for every element.
- 🔍 Search & CTA Support: Optional search input, profile avatar, and CTA button.
- 📱 Mobile Friendly: Responsive layout with hamburger toggle.
- 🧑🎨 Profile Menu: Easily integrate a dropdown for user profile actions.
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 Navbar better.
- Fork the repository.
- Create a new branch for your feature/bugfix.
- Submit a pull request for review.
📜 License
Navbar is licensed under the MIT License. You are free to use, modify, and distribute this library in your projects.
Dependencies
~8–21MB
~283K SLoC