Yew is a modern Rust framework for creating multi-threaded front-end web apps with WebAssembly. Inspired by React and Elm, Yew lets you build full SPAs in Rust that compile to WebAssembly and run in the browser at near-native speed.
The framework features a JSX-style html! macro, a virtual DOM, hooks-based components, agent workers for off-thread computation, and seamless interop with JavaScript ecosystems.
Modern Rust framework for creating multi-threaded front-end web apps with WebAssembly.
โจ Features
Write your entire frontend in Rust. Share types and logic with your backend.
React-inspired functional components and hooks. html! macro for JSX-like templates.
Off-thread computation via Web Workers. Heavy work doesn't block the UI.
Compiled to WebAssembly. Near-native performance, deterministic memory model.
wasm-bindgen + js-sys. Call any JavaScript library, expose Rust functions to JS.