Lets teams ship one Rust codebase to web, desktop, and mobile targets. Includes hot reload, signals-based state, server functions, and a bundling CLI.
Overview
Dioxus is a Rust framework for building user interfaces and fullstack applications across web, desktop, mobile, and server-rendered targets from shared code. It aims for a short path from project start to a running app with integrated development server and hot reloading.
UI is authored with HTML and CSS, including optional TailwindCSS support, and can call native platform APIs where needed. State management follows patterns familiar from React-, Solid-, and Svelte-style reactive models. A first-party CLI bundles and deploys builds for web, macOS, Linux, Windows, and mobile package formats.
Server-side features integrate with axum for routing, middleware, WebSockets, server-sent events, streaming uploads and downloads, SSR, forms, and server functions. Rendering options include WebAssembly in the browser, webviews, SSR, liveview, and experimental GPU-based paths.
Mobile workflows target Android and iOS through the CLI, with JNI and platform API access. Documentation, examples, and primitive UI components modeled after common design-system patterns help teams start new projects.
Key features
- Single codebase multi-platform
- Signals-based state management
- Integrated dx CLI bundler
- Hot reload and hot patch
- SSR and server functions
- Axum fullstack integration
- Android and iOS builds
- HTML and CSS styling
Use cases
- Cross-platform Rust desktop apps
- Mobile apps with Rust logic
- SSR and hybrid web apps
- Teams migrating from React-style UI
- Fullstack Rust with typed routing