|
1 year ago | |
---|---|---|
.cargo | 1 year ago | |
.devcontainer | 2 years ago | |
.docker | 3 years ago | |
.github | 1 year ago | |
.vscode | 2 years ago | |
examples | 1 year ago | |
notes | 1 year ago | |
packages | 1 year ago | |
playwright-tests | 1 year ago | |
translations | 1 year ago | |
.gitignore | 1 year ago | |
.mailmap | 2 years ago | |
Cargo.toml | 1 year ago | |
LICENSE-APACHE | 3 years ago | |
LICENSE-MIT | 3 years ago | |
Makefile.toml | 1 year ago | |
README.md | 1 year ago | |
codecov.yml | 3 years ago |
Dioxus is a portable, performant, and ergonomic framework for building cross-platform user interfaces in Rust.
fn app(cx: Scope) -> Element {
let mut count = use_state(cx, || 0);
cx.render(rsx! {
h1 { "High-Five counter: {count}" }
button { onclick: move |_| count += 1, "Up high!" }
button { onclick: move |_| count -= 1, "Down low!" }
})
}
Dioxus can be used to deliver webapps, desktop apps, static sites, mobile apps, TUI apps, liveview apps, and more. Dioxus is entirely renderer agnostic and can be used as a platform for any renderer.
If you know React, then you already know Dioxus.
Web |
|
Desktop |
|
Mobile |
|
Liveview |
|
Terminal |
|
There's tons of options for building apps, so why would you choose Dioxus?
Well, first and foremost, Dioxus prioritizes developer experience. This is reflected in a variety of features unique to Dioxus:
Dioxus is also a very extensible platform.
So... Dioxus is great, but why won't it work for me?
This project is licensed under the MIT license.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in Dioxus by you, shall be licensed as MIT, without any additional terms or conditions.