Yew is a Rust library for building web UI components that compile to WebAssembly, bringing Rust’s safety model into client-side applications. Its component design follows Model–View–Controller: state forms the model, messages represent actions, and the view renders current state. section 9.5
A Rust component can be exposed through wasm-bindgen, built with wasm-pack, linked into an npm workflow, and mounted from a JavaScript or React application.
