Build your first app
Follow the golden path from an empty Cargo project to a routed app on your framework of choice.

Navi is a file-based router for Rust UI applications. It is not tied to any single UI framework: the routing engine, loaders, guards, cache, and devtools live in framework-free crates, and all rendering seams are delegated to quoin — one reactive core, many frontend backends. The same route table, components, and devtools panel run unmodified on GPUI, Dioxus, Leptos, Xilem, and Floem.
Build your first app
Follow the golden path from an empty Cargo project to a routed app on your framework of choice.
Ship a feature
Task-focused guides: loaders, guards, blockers, search params, validation, preloading, and more.
Look something up
Reference pages for every crate, macro, component, config key, and core type.
Understand the design
Why Navi is framework-agnostic, how route matching ranks paths, and where the nanoseconds go.
navi-codegen generates a type-checked route tree at build time.<Outlet>.Awaited and SuspenseBoundary.beforeLoad guards — robust route protection with redirect and not-found results.Push, Replace, Back, Forward, and Go operations applied atomically with a single re-render.Render, Intent (hover plus delay), and Viewport strategies with per-href deduplication.Selecting a framework is a feature flag on your crate. There is nothing GPUI-specific inside the router itself.
| Framework | quoin feature | Status |
|---|---|---|
| GPUI | gpui |
First-class — devtools panel, keybindings, run_app! host |
| Dioxus | dioxus |
First-class — Dioxus desktop (wry/tao window) |
| Leptos | leptos |
First-class — CSR, wasm32-unknown-unknown |
| Xilem | xilem |
First-class — Xilem main, rebuild-pump refresh |
| Floem | floem |
First-class — Floem main, reactive bridge |