DioxusLabs /dioxus

Fullstack app framework for web, desktop, and mobile.

★ 39,709⑂ 1,961👁 202⑃ 2,797● 2,672▤ 44◈ 519
RustApache-2.0Created 2021-01-15dioxuslabs.com
39,709
stars
+15+130+361
1,961
forks
202
watchers
2,797
prs
2,672
issues
44
releases
519
discussions

README

--
      
          
       --
      
      
       --
      
    


  
  
    
  
  
  
    
  
  
  
    
  
  
  
    
  

  
  
    
  
  
  
    
  



  
     Website 
     | 
     Examples 
     | 
     Tutorial 
     | 
     中文 
     | 
     PT-BR 
     | 
     日本語 
     | 
     Türkçe 
     | 
     한국어 
  



  ✨ Dioxus 0.7 is out!!! ✨
 --


Build for web, desktop, and mobile, and more with a single codebase. Zero-config setup, integrated hot-reloading, and signals-based state management. Add backend functionality with Server Functions and bundle with our CLI.

rust
fn app() - Element {
    let mut count = use_signal(|| 0);

    rsx! {
        h1 { "High-Five counter: {count}" }
        button { onclick: move |_| count += 1, "Up high!" }
        button { onclick: move |_| count -= 1, "Down low!" }
    }
}


 ⭐️ Unique features:

- Cross-platform apps in three lines of code (web, desktop, mobile, server, and more)
- Ergonomic state management combines the best of React, Solid, and Svelte
- Built-in featureful, type-safe, fullstack web framework
- Integrated bundler for deploying to the web, macOS, Linux, and Windows
- Subsecond Rust hot-patching and asset hot-reloading
- And more! Take a tour of Dioxus.

 Instant hot-reloading

With one command, dx serve and your app is running. Edit your markup, styles, and see changes in milliseconds. Use our experimental dx serve --hotpatch to update Rust code in real time.


  
   --
   --


 Build Beautiful Apps

Dioxus apps are styled with HTML and CSS. Use the built-in TailwindCSS support or load your favorite CSS library. Easily call into native code (objective-c, JNI, Web-Sys) for a perfect native touch.


  




 Truly fullstack applications

Dioxus deeply integrates with axum to provide powerful fullstack capabilities for both clients and servers. Pick from a wide array of built-in batteries like WebSockets, SSE, Streaming, File Upload/Download, Server-Side-Rendering, Forms, Middleware, and Hot-Reload, or go fully custom and integrate your existing axum backend.


  


 Experimental Native Renderer

Render using web-sys, webview, server-side-rendering, liveview, or even with our experimental WGPU-based renderer. Embed Dioxus in Bevy, WGPU, or even run on embedded Linux!


  



 First-party primitive components

Get started quickly with a complete set of primitives modeled after shadcn/ui and Radix-Primitives.


  


 First-class Android and iOS support

Dioxus is the fastest way to build native mobile apps with Rust. Simply run dx serve --platform android and your app is running in an emulator or on device in seconds. Call directly into JNI and Native APIs.


  




 Bundle for web, desktop, and mobile

Simply run dx bundle and your app will be built and bundled with maximization optimizations. On the web, take advantage of .avif generation, .wasm compression, minification, and more. Build WebApps weighing less than 50kb and desktop/mobile apps less than 5mb.


  



 Fantastic documentation

Top issues

Discussions

Latest release

v0.7.10 v0.7.10 2026-07-30
What's Changed
 [v0.7] Fix hotpatching when the bin target's crate name differs from the package name by @nicoburns in https://github.com/DioxusLabs/dioxus/pull/5720


Full Changelog: https://github.com/DioxusLabs/dioxus/compare/v0.7.9...v0.7.10

Snapshot: 2026-11-10T09:35:25Z · Data license Apache-2.0 · JSON