mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-23 04:33:06 +00:00
No description
.vscode | ||
docs | ||
examples | ||
notes | ||
packages | ||
.gitignore | ||
Cargo.toml | ||
LICENSE | ||
README.md |
🌗🚀 Dioxus
Frontend that scales.
Dioxus is a portable, performant, and ergonomic framework for building cross-platform user experiences in Rust.
static Example: FC<()> = |ctx, props| {
let (selection, set_selection) = use_state(&ctx, || "...?");
ctx.render(rsx! {
div {
h1 { "Hello, {selection}" }
button { "?", onclick: move |_| set_selection("world!")}
button { "?", onclick: move |_| set_selection("Dioxus 🎉")}
}
})
};
Dioxus can be used to deliver webapps, desktop apps, static pages, liveview apps, Android apps, iOS Apps, and more. At its core, Dioxus is entirely renderer agnostic and has great documentation for creating new renderers for any platform.
Things you'll love ❤️:
- Ergonomic design
- Minimal boilerplate
- Simple build, test, and deploy
- Support for html! and rsx! templating
- SSR, WASM, desktop, and mobile support
- Rust! (enums, static types, modules, efficiency)
Get Started with...
WebApps | Desktop | Mobile | State Management | Docs | Tools |
---|---|---|---|---|---|
Explore
- HTML Templates: Drop in existing HTML5 templates with html! macro
- RSX Templates: Clean component design with rsx! macro
- Running the examples: Explore the vast collection of samples, tutorials, and demos
- Building applications: Use the Dioxus CLI to build and bundle apps for various platforms
- Liveview: Build custom liveview components that simplify datafetching on all platforms
- State management: Easily add powerful state management that comes integrated with Dioxus Core
- Concurrency: Drop in async where it fits and suspend components until new data is ready
- 1st party hooks: Cross-platform router hook
- Community hooks: 3D renderers
Dioxus LiveHost
Dioxus LiveHost is a paid service that accelerates the deployment of Dioxus Apps. It provides CI/CD, testing, monitoring, scaling, and deployment specifically for Dioxus apps.
- It's the fastest way of launching your next internal tool, side-project, or startup. 🚀