Framework | Live Demo |
---|---|
Yew | |
Dioxus | TODO |
Leptos | TODO |
Sidebar is a highly optimized, feature-rich sidebar component built for WASM-based frameworks like Yew, Dioxus, and Leptos. It supports nested menus, user profiles, collapsibility, submenus, badges, and full styling control.
These standout features make Sidebar the best choice for any WASM UI:
- ποΈ Full Customization: Every part, menu items, header, logo, profile, layout, is styleable via props.
- π§± Modular Design: Use only the pieces you need:
Sidebar
,Menu
,MenuItem
,Submenu
,Profile
, orLogo
. - π Dynamic Interaction: Update the selected menu item using
UseStateHandle
or attachon_logout
handlers. - π§© Composable: Nest submenus, inject icons, or toggle visibility based on context.
- π Accessible UI: Designed with screen readers in mind.
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 Sidebar better.
- Fork the repository.
- Create a new branch for your feature/bugfix.
- Submit a pull request for review.
Sidebar is licensed under the MIT License. You are free to use, modify, and distribute this library in your projects.