DEV Community

What if your Rust application could run natively on desktop and in the browser without Electron.

That's the premise behind FUI-RS: a cross-platform, retained-mode UI framework built in Rust that treats the browser as a first-class target rather than a compatibility layer bolted on afterward. One application model, multiple real targets: 🌐 Web - compiled to WebAssembly šŸ–„ļø Desktop - native apps on macOS, Windows & Linux Under the hood, FUI-RS already brings together the pieces a real UI framework needs: controls, layouts, themes, events, dialogs, editable text, custom drawing, background workers, and host services - all built on a shared architecture so native and web don't diverge into two different codebases. A few details worth noting for anyone evaluating it seriously: āœ… Accessibility is a first-class concern - DOM/ARIA on web, NSAccessibility on macOS, UI Automation on Windows, AT-SPI on Linux āœ… Tooling exists to scaffold and package projects (cargo-fui) rather than hand-rolling your build setup āœ… It's genuinely retained-mode - build your UI once, mutate it from events and callbacks, rather than re-rendering on every frame It's still early access - APIs may shift before 1.0 - which means there's real room to experiment, file issues, contribute, and shape where the ecosystem goes. Worth noting too: there's already a community-built Galaga-style space shooter running entirely on FUI-RS, which is a solid real-world stress test for a young framework. šŸ”— Explore the project: https://github.com/zion-sati/fui-rs Rust developers - would you consider FUI-RS for your next cross-platform application? Curious what would need to be true for you to try it in production. Top comments (2) This is a really interesting approach to cross-platform development. Treating the browser as a first-class target while maintaining a shared Rust architecture for native desktop is especially compelling. The retained-mode approach and accessibility support also make FUI-RS worth watching as it matures. I’m curious to see how the ecosystem and real-world adoption develop before 1.0. Some comments may only be visible to logged-in visitors. Sign in to view all comments.

Read on DEV Community ↗ ← Back to News

Comments

No comments yet. Start the discussion.