Skip to main content

Build apps for any platform with Rust

Dioxus is a fullstack framework for building cross-platform apps with a single codebase. Write React-like components in Rust and deploy to web, desktop, mobile, and more.

Quick Start

Get up and running with Dioxus in minutes

1

Install the Dioxus CLI

Install the Dioxus CLI tool using cargo:
cargo install dioxus-cli
The CLI provides hot-reload, bundling, and cross-platform building capabilities.
2

Create a new project

Use the CLI to scaffold a new Dioxus project:
dx new my-app
cd my-app
This creates a new project with all the necessary configuration files.
3

Run your app

Start the development server with hot-reload:
dx serve
Your app will open in a window. Edit your code and see changes instantly without losing state.

Explore by Platform

Build for any platform with the same codebase

Web

Build fast, interactive web apps with WebAssembly

Desktop

Native desktop apps for Windows, macOS, and Linux

Mobile

iOS and Android apps with native performance

Native Rendering

GPU-accelerated native rendering with WGPU

Fullstack

Server-side rendering and server functions

LiveView

Server-rendered apps with WebSocket streaming

Key Features

Everything you need to build modern applications

React-like Components

Familiar component model with RSX syntax for declaring UI

Signals & State

Fine-grained reactivity with signals-based state management

Type-safe Routing

Compile-time checked routes with automatic route generation

Hot Reload

Instant updates with RSX hot-reload and Rust hot-patching

Server Functions

Call server code from the client with full type safety

Asset Management

Optimized asset bundling with automatic format conversion

Learn the Fundamentals

Master the core concepts of Dioxus development

Components & Props

Learn how to build reusable components with props

RSX Syntax

Understand the RSX macro for declaring UI

Hooks

Use hooks to manage component lifecycle and side effects

Async & Suspense

Handle asynchronous data loading with suspense

Ready to build your first app?

Follow our quickstart guide to create a working Dioxus app in under 5 minutes

Start Building

Community & Support

Join our growing community of Rust developers

GitHub

Star us on GitHub and contribute to the project

Discord

Join our Discord server for help and discussions

Examples

Explore real-world examples and demos

Build docs developers (and LLMs) love