dioxus
AGENTS.md40k starsChanged 9 months agoApache-2.0View on GitHub
Dioxus is a cross-platform UI framework for Rust, similar to React. It compiles to web (WASM), desktop (webview), mobile (iOS/Android), and native (GPU-rendered). For deeper understanding, see notes/architecture/: Component definition:
Files
Dioxus Agent Guide
Dioxus is a cross-platform UI framework for Rust, similar to React. It compiles to web (WASM), desktop (webview), mobile (iOS/Android), and native (GPU-rendered).
Quick Overview
- Language: Rust (stable toolchain)
- UI Model: React-like with VirtualDOM, components, hooks, signals
- Syntax: JSX-like
rsx!macro for declaring UI - Platforms: Web, Desktop (Windows/macOS/Linux), Mobile, Native, LiveView (server-rendered)
Workspace Structure
packages/
├── dioxus/ # Main re-export crate users depend on
├── core/ # VirtualDOM, components, diffing, scheduling
├── rsx/ # RSX macro parsing and code generation
├── rsx-hotreload/ # Template diffing for hot-reload
├── signals/ # Reactive state (Signal, Memo, Store)
├── hooks/ # Built-in hooks (use_signal, use_effect, etc.)
├── router/ # Type-safe routing with #[derive(Routable)]
├── fullstack/ # SSR, hydration, #[server] functions
├── cli/ # `dx` build tool, dev server, bundling
├── web/ # WASM renderer
├── desktop/ # Wry/Tao webview renderer
├── native/ # Blitz/Vello GPU renderer
├── liveview/ # WebSocket streaming renderer
├── manganis/ # asset!() macro for compile-time assets
├── subsecond/ # Hot-patching system (jump table indirection)
├── devtools/ # Dev server communication protocol
├── interpreter/ # Sledgehammer JS for DOM mutations
└── wasm-split/ # WASM code splittingArchitecture Documentation
For deeper understanding, see notes/architecture/:
| When working on... | Read... |
| VirtualDOM, components, diffing, events | 01-CORE.md |
| CLI, build system, bundling, dev server | 02-CLI.md |
| RSX macro, parsing, formatting | 03-RSX.md |
| Signals, state management, reactivity | 04-SIGNALS.md |
| Server functions, SSR, hydration | 05-FULLSTACK.md |
| Web/desktop/native/liveview renderers | 06-RENDERERS.md |
| Hot-reload, hot-patching, devtools | 07-HOTRELOAD.md |
| Asset macro, manganis, const serialization | 08-ASSETS.md |
| Router, navigation, nested routes | 09-ROUTER.md |
| WASM code splitting | 10-WASM-SPLIT.md |
Key Concepts
- VirtualDOM: Tree of
VNodewith templates, dynamic nodes, and attributes - Signals: Copy-able reactive primitives via generational-box (generation-based validity)
- WriteMutations: Trait that renderers implement to apply DOM changes
- RSX: Proc macro that compiles JSX-like syntax to
VNodeconstruction - Server Functions:
#[server]macro generates client RPC stubs and server handlers - Subsecond: Hot-patches Rust code via jump table indirection (no memory modification)
- Manganis:
asset!("/main.css")macro for including assets by embedding data via linker symbols
Common Patterns
Component definition:
#[component]
fn MyComponent(name: String) -> Element {
let mut count = use_signal(|| 0);
rsx! {
button { onclick: move |_| count += 1, "{name}: {count}" }
}
}Notes for Agents
- The
dioxuscrate re-exports from other crates - most implementation is inpackages/vdom,packages/signals, etc. - RSX macro expansion happens in
packages/rsx- look there for syntax questions - Each renderer implements
WriteMutationsdifferently - see06-RENDERERS.md - Hot-reload has two systems: RSX template diffing (fast) and Subsecond code patching (full Rust)
- Assets use link sections and binary patching - the
asset!()macro creates symbols the CLI processes
Trending
Less talk lately.about the whole repository
Who's talking about DioxusLabs/dioxus
- Dioxus Labs“Dioxus 0.6 - Crossplatform apps with Rust”YouTube · Dec 9, 2024 · 111k views
- AI Engineer“Building ambitious software — Jonathan Kelley, Dioxus Labs & Cognition”YouTube · Sep 11, 2026 · 32k views
- Piny4man“Build Web Apps with Rust! 🦀 Dioxus Tutorial (Hello World)”YouTube · Mar 17, 2026 · 1.5k views
- Dioxus Labs“Fullstack Websockets, Binary Patching - Office Hours 05-03-2025”YouTube · Mar 6, 2025 · 1.5k views
- Dioxus Labs“Office Hours 21-02-2024”YouTube · Feb 21, 2024 · 832 views
The biggest 5 of 114 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 114
Talked about on GitHub, Bluesky, YouTube, Hacker News, the web and Stack Overflow (114 times).
On GitHub · 46
- May 20, 2025Hot patching systems with subsecond — bevyengine/bevy43 reactions · 5 comments
- May 14, 2025dioxus-cli: 0.6.3 -> 0.7.1 — NixOS/nixpkgs34 reactions · 1 comment
- Jun 16, 2022Replace `objc` with `objc2` in other projects — madsmtm/objc213 reactions · 11 comments
- Dec 28, 2025Mobile (Android/iOS) support — DioxusLabs/blitz12 reactions
- Mar 12, 2025[feat] Fast hot reloading with dioxus subsecond — tauri-apps/tauri10 reactions · 1 comment
41 more on GitHub
- Jan 10, 2023let proc-macro's provide a formatting hook for rustfmt — rust-lang/rustfmt10 reactions · 2 comments
- Dec 5, 2025Unintentional breaking change: `Deflate` is ambiguous — rust-lang/flate2-rs8 reactions · 6 comments
- May 8, 2025Auto complete for Maud — lambda-fairy/maud7 reactions
- Dec 18, 2024dioxus-cli: 0.6.0 -> 0.6.1 — NixOS/nixpkgs7 reactions · 8 comments
- Sep 4, 2026Important: Cleaning up and retiring implementations — krausest/js-framework-benchmark5 reactions · 4 comments
- Aug 29, 2025feat(linux): Add support for system color scheme using xdg-desktop-portal — tauri-apps/tao5 reactions · 38 comments
- Feb 11, 2025Preserve relocation locations — wasm-bindgen/wasm-bindgen4 reactions
- Apr 16, 2024Improve documentation for realistic full-stack apps — DioxusLabs/docsite4 reactions · 2 comments
- Nov 1, 2025Update Request: dioxus-cli 0.6.3 → 0.7.0 — NixOS/nixpkgs3 reactions · 2 comments
- Apr 29, 2025wasm-ld `--export-all` does not work with wasm-bindgen — wasm-bindgen/wasm-bindgen3 reactions
- Apr 19, 2025update tailwind configuration to adequate to v4 — DioxusLabs/dioxus-template3 reactions · 12 comments
- Apr 19, 2025Attribute spreading (`..props.attributes` syntax) is not documented — DioxusLabs/docsite3 reactions · 1 comment
- Feb 23, 2025Create llms.txt and llms-full.txt — DioxusLabs/docsite3 reactions · 1 comment
- Sep 21, 2024Autoformat sqlx macros — transact-rs/sqlx3 reactions · 8 comments
- Apr 22, 2024Document multi-target setup — DioxusLabs/docsite3 reactions
- Jun 26, 2023Support all platforms, tailwind, and the router — DioxusLabs/dioxus-template3 reactions · 1 comment
- Sep 17, 2025Components cli — DioxusLabs/dioxus-components2 reactions
- Nov 21, 2024Allow custom error type in server_fn return type for enhanced ergonomics and security — leptos-rs/leptos2 reactions · 7 comments
- Mar 28, 2024dioxus-cli: 0.4.3 -> 0.5.0 — NixOS/nixpkgs2 reactions · 5 comments
- Jul 4, 2023Rewrite Docs with new router — DioxusLabs/docsite2 reactions · 7 comments
- May 16, 2023Upgrade to Taffy 0.3 — DioxusLabs/blitz2 reactions · 1 comment
- Jul 8, 2026Create a SKILLS.md agent file to help users leverage llms when they use deep_causality — deepcausality-rs/deep_causality1 reaction · 3 comments
- Apr 22, 2026dioxus-cli: 0.7.5 -> 0.7.6 — NixOS/nixpkgs1 reaction · 5 comments
- Jan 9, 2026Remove eval — DioxusLabs/dioxus-components1 reaction
- Dec 13, 2025Hot-patching: Patches are getting "ignored" since "there is no ASLR reference" — iced-rs/iced1 reaction · 4 comments
- Dec 4, 2025Fix hydration of suspended resource in guide — DioxusLabs/docsite1 reaction
- Nov 30, 2025Explore the possibility to create dioxus signals and hooks with `spacetime generate` — enaut/SpacetimeDB1 reaction
- Nov 28, 2025Simplify buildprocess — teilgedanken/stalltagebuch1 reaction
- Nov 3, 2025chore(deps): update rust crate dioxus to 0.7.0 — RustForWeb/lucide1 reaction
- Sep 28, 2025Improve docs for installing dioxus-cli: needs --locked parameter — bevyengine/bevy1 reaction · 1 comment
- Sep 12, 2025build(deps): bump dioxus-devtools from 0.7.0-alpha.3 to 0.7.0-rc.0 — Pangpang-Studio/monoxide1 reaction · 1 comment
- Jul 1, 2025Document debugging — DioxusLabs/docsite1 reaction · 1 comment
- May 31, 2025Migrate the scripting system to Rust with `subsecond` — Pangpang-Studio/monoxide1 reaction · 1 comment
- May 18, 2025Use ReactiveContext in custom hook example — DioxusLabs/docsite1 reaction
- Apr 23, 2025Add Dioxus to Best of JS — michaelrambeau/bestofjs1 reaction · 4 comments
- Mar 19, 2025Window Tranparency Not Rendering Correctly — tauri-apps/wry1 reaction · 7 comments
- Feb 20, 2025Integrate Dioxus Docs Into Docsite — DioxusLabs/docsite1 reaction · 2 comments
- Feb 3, 2025Check external links in CI — DioxusLabs/docsite1 reaction
- Dec 31, 2024Fix all broken links in docs — DioxusLabs/docsite1 reaction · 2 comments
- Jun 8, 2024Fixed `default_platform` for Fullstack and LiveView — DioxusLabs/dioxus-template1 reaction
- May 23, 2024use dioxus ssg; fix 404 route, upgrade to 0.6.0-alpha.2 — DioxusLabs/docsite1 reaction · 1 comment
On Bluesky · 43
- Jan 13, 2026Dioxus : un framework fullstack en Rust qui permet de créer des applications web, desktop et mobiles. On nous dit que la doc est… — @bearstech.com23 likes and reposts · 1 reply
- Jun 25, 2025Dioxus : un framework Rust Open Source pour créer des applications web, desktop et mobiles. +7600 ⭐ sur Github depuis notre dernier partage… — @bearstech.com21 likes and reposts
- Aug 5, 2026Dioxus : un framework Rust pour construire des apps web, desktop et mobile depuis un seul codebase, avec hot-reloading subseconde et une… — @camilleroux.com7 likes and reposts · 3 replies
- Oct 28, 2024Dioxus : un framework fullstack Open Source écrit en Rust permettant de créer des applications pour le web, desktop, mobile sur une seule… — @bearstech.com6 likes and reposts
- Apr 3, 2024Dioxus : Une bibliothèque Rust Open Source Fullstack et cross-platform pour développer des applications web, desktop et mobile sur une… — @bearstech.com6 likes and reposts
38 more on Bluesky
- Jun 29, 2026🔗 Liens utiles Dioxus : 👉 Le projet : github.com/DioxusLab... 👉 En savoir plus : https://dioxuslabs.com/ ❤️ Aider ce projet :… — @bearstech.com5 likes and reposts
- Nov 24, 2025DioxusLabs / dioxus: Fullstack app framework for web, desktop, and mobile. ★32012 https://github.com/DioxusLabs/dioxus — @rusttrending.bsky.social4 likes and reposts
- Nov 14, 2024DioxusLabs / dioxus: Fullstack app framework for web, desktop, mobile, and more. ★21503 https://github.com/DioxusLabs/dioxus — @rusttrending.bsky.social4 likes and reposts
- May 13, 2026DioxusLabs / dioxus: Fullstack app framework for web, desktop, and mobile. ★35999 https://github.com/DioxusLabs/dioxus — @rusttrending.bsky.social3 likes and reposts · 1 reply
- May 19, 2025DioxusLabs / dioxus: Fullstack app framework for web, desktop, mobile, and more. ★27591 https://github.com/DioxusLabs/dioxus — @rusttrending.bsky.social3 likes and reposts
- Feb 28, 2025DioxusLabs / dioxus: Fullstack app framework for web, desktop, mobile, and more. ★25475 https://github.com/DioxusLabs/dioxus — @rusttrending.bsky.social3 likes and reposts
- Feb 10, 2025DioxusLabs / dioxus: Fullstack app framework for web, desktop, mobile, and more. ★25126 https://github.com/DioxusLabs/dioxus — @rusttrending.bsky.social3 likes and reposts
- Aug 9, 2026The tech is made for github.com/DioxusLabs/d... originally, so their stack does it for you I believe. — @donblas.bsky.social2 likes and reposts · 1 reply
- Jul 27, 2026DioxusLabs / dioxus: Fullstack app framework for web, desktop, and mobile. ★38317 https://github.com/DioxusLabs/dioxus — @rusttrending.bsky.social2 likes and reposts · 1 reply
- Jun 28, 2026DioxusLabs / dioxus: Fullstack app framework for web, desktop, and mobile. ★36548 https://github.com/DioxusLabs/dioxus — @rusttrending.bsky.social2 likes and reposts
- Jan 28, 2026DioxusLabs / dioxus: Fullstack app framework for web, desktop, and mobile. ★34430 https://github.com/DioxusLabs/dioxus — @rusttrending.bsky.social2 likes and reposts
- Oct 23, 2025DioxusLabs / dioxus: Fullstack app framework for web, desktop, and mobile. ★31284 https://github.com/DioxusLabs/dioxus — @rusttrending.bsky.social2 likes and reposts
- Oct 3, 2025DioxusLabs / dioxus: Fullstack app framework for web, desktop, and mobile. ★30713 https://github.com/DioxusLabs/dioxus — @rusttrending.bsky.social2 likes and reposts
- Sep 14, 2025DioxusLabs / dioxus: Fullstack app framework for web, desktop, and mobile. ★30517 https://github.com/DioxusLabs/dioxus — @rusttrending.bsky.social2 likes and reposts
- Jan 2, 2025DioxusLabs / dioxus: Fullstack app framework for web, desktop, mobile, and more. ★23874 https://github.com/DioxusLabs/dioxus — @rusttrending.bsky.social2 likes and reposts
- Dec 6, 2024DioxusLabs / dioxus: Fullstack app framework for web, desktop, mobile, and more. ★21732 https://github.com/DioxusLabs/dioxus — @rusttrending.bsky.social2 likes and reposts
- Sep 21, 2024DioxusLabs / dioxus: Fullstack app framework for web, desktop, mobile, and more. ★20325 https://github.com/DioxusLabs/dioxus — @rusttrending.bsky.social2 likes and reposts
- Mar 28, 2024DioxusLabs / dioxus: Fullstack GUI library for desktop, web, mobile, and more. ★16414 https://github.com/DioxusLabs/dioxus — @rusttrending.bsky.social2 likes and reposts
- Sep 12, 2026DioxusLabs / dioxus: Fullstack app framework for web, desktop, and mobile. ★39044 https://github.com/DioxusLabs/dioxus — @rusttrending.bsky.social1 likes and repost
- Aug 10, 2026DioxusLabs / dioxus: Fullstack app framework for web, desktop, and mobile. ★38571 https://github.com/DioxusLabs/dioxus — @rusttrending.bsky.social1 likes and repost
- Jul 27, 2026Dioxus : framework fullstack Rust pour web, desktop et mobile — @news.humancoders.com1 likes and repost
- Mar 2, 2026Write once, run everywhere: Full-stack Rust framework that builds real web, desktop, and mobile apps from a single codebase with React-like… — @arifsolmaz.bsky.social1 likes and repost
- Feb 17, 2026DioxusLabs / dioxus: Fullstack app framework for web, desktop, and mobile. ★34711 https://github.com/DioxusLabs/dioxus — @rusttrending.bsky.social1 likes and repost
- Jan 13, 2026DioxusLabs / dioxus: Fullstack app framework for web, desktop, and mobile. ★33937 https://github.com/DioxusLabs/dioxus — @rusttrending.bsky.social1 likes and repost
- Dec 30, 2025DioxusLabs / dioxus: Fullstack app framework for web, desktop, and mobile. ★32868 https://github.com/DioxusLabs/dioxus — @rusttrending.bsky.social1 likes and repost
- Dec 8, 2025DioxusLabs / dioxus: Fullstack app framework for web, desktop, and mobile. ★32503 https://github.com/DioxusLabs/dioxus — @rusttrending.bsky.social1 likes and repost
- Jun 25, 2025DioxusLabs / dioxus: Fullstack app framework for web, desktop, mobile, and more. ★28216 https://github.com/DioxusLabs/dioxus — @rusttrending.bsky.social1 likes and repost
- Apr 16, 2025DioxusLabs / dioxus: Fullstack app framework for web, desktop, mobile, and more. ★26590 https://github.com/DioxusLabs/dioxus — @rusttrending.bsky.social1 likes and repost
- Feb 9, 2025DioxusLabs / dioxus: Fullstack app framework for web, desktop, mobile, and more. ★25117 https://github.com/DioxusLabs/dioxus — @rusttrending.bsky.social1 likes and repost
- Dec 13, 2024今日のGitHubトレンド DioxusLabs/dioxus このリポジトリは、DioxusというRust製のUIフレームワークを提供しています。 Web、デスクトップ、モバイルアプリを単一コードベースで開発でき、ホットリローディングやシグナルベースの状態管理を備えています。… — @dailygithubtrends.bsky.social1 likes and repost
- Nov 25, 2024DioxusLabs / dioxus: Fullstack app framework for web, desktop, mobile, and more. ★21626 https://github.com/DioxusLabs/dioxus — @rusttrending.bsky.social1 likes and repost · 1 reply
- Nov 25, 2024- Rust + Bevy = Game Development - [GitHub - Bevy] (github.com/bevyengine/b...) - [Documentation] (bevyengine.org) - Rust + Dioxus =… — @sunnymishra.bsky.social1 likes and repost · 1 reply
- Oct 25, 2024DioxusLabs / dioxus: Fullstack app framework for web, desktop, mobile, and more. ★20748 https://github.com/DioxusLabs/dioxus — @rusttrending.bsky.social1 likes and repost
- Aug 24, 2024DioxusLabs / dioxus: Fullstack app framework for web, desktop, mobile, and more. ★19983 https://github.com/DioxusLabs/dioxus — @rusttrending.bsky.social1 likes and repost
- Jun 17, 2024DioxusLabs / dioxus: Fullstack GUI library for web, desktop, mobile, and more. ★19090 https://github.com/DioxusLabs/dioxus — @rusttrending.bsky.social1 likes and repost
- Jan 20, 2024DioxusLabs / dioxus: Fullstack GUI library for desktop, web, mobile, and more. ★15541 https://github.com/DioxusLabs/dioxus — @rusttrending.bsky.social1 likes and repost
- Jan 19, 2024DioxusLabs / dioxus: Fullstack GUI library for desktop, web, mobile, and more. ★15523 https://github.com/DioxusLabs/dioxus — @rusttrending.bsky.social1 likes and repost
- Oct 15, 2023DioxusLabs / dioxus: Fullstack GUI library for desktop, web, mobile, and more. ★14257 https://github.com/DioxusLabs/dioxus — @rusttrending.bsky.social1 likes and repost
On YouTube · 14
- Dec 9, 2024Dioxus 0.6 - Crossplatform apps with Rust — Dioxus Labs111k views · 167 comments
- Sep 11, 2026Building ambitious software — Jonathan Kelley, Dioxus Labs & Cognition — AI Engineer32k views · 8 comments
- Mar 17, 2026Build Web Apps with Rust! 🦀 Dioxus Tutorial (Hello World) — Piny4man1.5k views · 3 comments
- Mar 6, 2025Fullstack Websockets, Binary Patching - Office Hours 05-03-2025 — Dioxus Labs1.5k views · 2 comments
- Feb 21, 2024Office Hours 21-02-2024 — Dioxus Labs832 views
9 more on YouTube
- Feb 6, 2025Bundle Slitting, Playground, & Native - Office Hours 05-02-2025 — Dioxus Labs648 views
- Jul 22, 2026One Rust Codebase Across Web, Desktop, and Mobile — Dioxus #github #opensource #coding #ai — Repo Rundown646 views
- Aug 7, 2023DioxusLabs/dioxus - Gource visualisation — Gourcer545 views · 1 comment
- Jul 25, 2026Dioxus Cross-Platform Rust UI: How One Codebase Bridges Borrow Checker Pain and Fullstack Delivery — Alex Hitt491 views
- Apr 23, 2026Build Anything with Dioxus — Github Signals408 views
- Apr 4, 2024Office Hours 03-04-2024 — Dioxus Labs328 views
- Oct 15, 2026React's Developer Experience, Rust's Performance 🦀 — RepoManiac163 views
- Jun 26, 2025GitHub - DioxusLabs/dioxus: Fullstack app framework for web, desktop, and mobile. — GitHub Daily Trend AI Podcast160 views
- Oct 28, 2024GitHub - DioxusLabs/dioxus: Fullstack app framework for web, desktop, mobile, and more. — GitHub Daily Trend AI Podcast19 views
On Hacker News · 8
- Aug 5, 2023Dioxus: Fullstack GUI library for desktop, web, mobile, and more32 points · 8 comments
- Nov 11, 2025Dioxus 0.7: User interfaces in Rust that run anywhere6 points
- Dec 10, 2024Dioxus 0.6: Web, Desktop, Mobile Apps in Rust6 points
- Jun 21, 2025Dioxus: Rust framework for building fullstack web, desktop, and mobile apps5 points
- Mar 13, 2022Dioxus: React-like library for building cross-platform user interfaces in Rust5 points
3 more on Hacker News
- Oct 31, 2025Dioxus 0.7.04 points
- Apr 23, 2026Dioxus – Fullstack app framework for web, desktop, and mobile in Rust2 points
- Nov 1, 2025Dioxus v0.7.02 points
On the web · 2
- Apr 27, 2026When updating `dx` tool, it can't run due to missing packages — google.com
- Oct 31, 2025DioxusLabs/dioxus v0.7.0 on GitHub — google.com
On Stack Overflow · 1
- Oct 18, 2024Getting Element Attributes in Dioxus3 votes
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

