The missing piece of the Rust web ecosystem. Ship accessible, production-quality interfaces in Leptos and Dioxus without rebuilding everything from scratch.
use stratum_leptos::*;
#[component]
fn App() -> impl IntoView {
view! {
<ThemeProvider theme=Theme::default()>
<Button variant=ButtonVariant::Primary>
"Save changes"
</Button>
</ThemeProvider>
}
}
Need full control? Use the headless primitives. Want to ship fast? Use styled components. Each layer works independently or together.
use stratum_leptos::*;
view! {
<Dialog open=show>
<DialogTitle>"Confirm"</DialogTitle>
<Button on_click=handle>
"Continue"
</Button>
</Dialog>
}use stratum_dioxus::*;
rsx! {
Dialog { open: show,
DialogTitle { "Confirm" }
Button {
on_click: handle,
"Continue"
}
}
}Add NexusStratum to your Rust project and ship your first component in five lines of code.