Dioxus Router

Crates.io version Download docs.rs docs CI status Awesome Page Discord Link

Website | Examples | Guide (0.1.8) | Guide (Master)

Dioxus Router is a first-party Router for all your Dioxus Apps. It provides a React-Router style interface that works anywhere: across the browser, SSR, and natively. ```rust, ignore fn app() { cx.render(rsx! { Router { Route { to: "/", Component {} }, Route { to: "/blog", Blog {} }, Route { to: "/blog/:id", BlogPost {} }, } }) } ``` ## Resources - See the mdbook - See the one-page brief - See the guide on the doc site - The crates.io API