Web |
- Render directly to the DOM using WebAssembly
- Pre-render with SSR and rehydrate on the client
- Simple "hello world" at about 65kb, comparable to React
- Built-in dev server and hot reloading for quick iteration
|
Desktop |
- Render using Webview or - experimentally - with WGPU or Skia
- Zero-config setup. Simply cargo-run to build your app
- Full support for native system access without electron-esque IPC
- Supports macOS, Linux, and Windows. Portable <3mb binaries
|
Mobile |
- Render using Webview or - experimentally - with WGPU or Skia
- Support for iOS and Android
- Significantly more performant than React Native
|
Liveview |
- Render apps - or just a single component - entirely on the server
- Integrations with popular Rust frameworks like Axum and Warp
- Extremely low-latency and ability to support 10,000+ simultaneous apps
|
Terminal |
- Render apps directly into your terminal, similar to ink.js
- Powered by the familiar flexbox and CSS model of the browser
- Built-in widgets like text input, buttons, and focus system
|
## Why Dioxus?
---
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:
- Autoformatting of our meta language (RSX) and accompanying VSCode extension
- Hotreloading using an interpreter of RSX for both desktop and web
- Emphasis on good docs - our guide is complete and our HTML elements are documented
- Significant research in simplifying
Dioxus is also a very extensible platform.
- Easily build new renderers by implementing a very simple optimized stack-machine
- Build and share components and even custom elements
So... Dioxus is great, but why won't it work for me?
- It's not fully mature yet. APIs are still shifting, things might break (though we try to avoid it)
- You need to run in a no-std environment.
- You don't like the React-hooks model of building UIs
## Contributing
---
- Report issues on our [issue tracker](https://github.com/dioxuslabs/dioxus/issues).
- Join the discord and ask questions!