Components / Breadcrumb
Breadcrumb
Path of locations ending at the current page.
Example
The component itself, running in WebAssembly, beside its code in a playground. Try it.
Code
use ravenrs::prelude::*;
fn breadcrumb() -> impl View {
// `on_navigate` makes every location but the last one a link.
Breadcrumb::new(["Workspace", "Projects", "RavenRS", "Settings"]).on_navigate(|_level| {})
}