# yewstack/yew

Rust / Wasm framework for creating reliable and efficient web applications

Repository: https://github.com/yewstack/yew
Canonical: https://ross.abutalabs.com/products/yew
Homepage: https://yew.rs
Language: Rust
License: Apache-2.0
License Family: permissive
Topics: rust, web, gui, jsx, elm, web-framework, wasm, asmjs, emscripten, concurrency, multithreading, webworkers, hacktoberfest
Last push: 2026-08-26T11:34:17+00:00

## Health v2 (maintenance only)
Score: 90/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 99, release rhythm 74, longevity 100
- inputs: {"age_days": 3182, "days_push": 7, "days_rel": 176, "gap_med": 0, "n_releases_24m": 6}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 32786, forks 1454 (observed 2026-08-28T04:11:57.878535+00:00)

## What it is
Yew is a Rust framework for building client-side web applications compiled to WebAssembly. It offers a React-like component model with an html! macro (JSX-style), virtual DOM rendering, server-side rendering, and JavaScript interoperability.

## Use cases
- build a frontend web app in Rust with WebAssembly
- React-style component framework for Rust developers
- write SPA with server-side rendering in Rust
- offload heavy computation to web workers in the browser
- use NPM packages from a Rust web app
- create interactive UIs with a JSX-like html macro

## When to choose
- you know Rust and want a type-safe alternative to JavaScript frameworks
- you want React/Elm-style components with WebAssembly performance
- you need SSR plus SPA behavior in a Rust stack
- you want to reuse existing NPM/JS ecosystem from Rust

## When to avoid
- your team is JavaScript/TypeScript-focused with no Rust experience
- you need a mature ecosystem of ready-made UI component libraries
- small sites where plain HTML/JS or a lighter tool suffices
- you need very fast iteration; Rust/Wasm compile cycles are slower

## Facets
- artifact type: framework
- maturity: active
- function: frontend-framework, web-framework, ssr, state-management, templating
- domain: web-development, frontend, cross-platform
- platform: wasm, browser, rust
- tags: rust, webassembly, jsx-like-macro, vdom, react-alternative, elm-architecture, web-workers, javascript-interop, trunk, web-server

## Member repositories
- yewstack/yew (main) score 90

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:57.878535+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T16:51:54.541676+00:00, confidence not recorded.
  - readme: https://github.com/yewstack/yew (fetched 2026-08-28T04:11:57.878535+00:00, sha 4dcb53fc1562)
  - homepage: https://yew.rs (fetched 2026-08-29T07:48:58.281881+00:00, sha 3b7a00d46209)
  - site_page: https://yew.rs/docs/getting-started/introduction (fetched 2026-08-29T07:48:58.291115+00:00, sha 9636e8f2ac23)
  - site_page: https://yew.rs/docs/next/getting-started/introduction (fetched 2026-08-29T07:48:58.292978+00:00, sha 842d90bccbb7)
  - site_page: https://yew.rs/docs/0.22/getting-started/introduction (fetched 2026-08-29T07:48:58.294500+00:00, sha 9d327d366b50)
  - site_page: https://yew.rs/docs/0.21/getting-started/introduction (fetched 2026-08-29T07:48:58.296096+00:00, sha 2daea8cd70d2)
  - site_page: https://yew.rs/docs/0.20/getting-started/introduction (fetched 2026-08-29T07:48:58.297689+00:00, sha fd404d4ccf69)
  - site_page: https://yew.rs/docs/tutorial (fetched 2026-08-29T07:48:58.299282+00:00, sha 0d7d23590fd9)
  - site_page: https://yew.rs/docs/next/concepts/function-components (fetched 2026-08-29T07:48:58.301525+00:00, sha 5800d5ec34e0)
  - site_page: https://yew.rs/docs/next/concepts/html (fetched 2026-08-29T07:48:58.303048+00:00, sha be91f31eb9bb)
- Data as of 2026-08-30T08:39:29.467469+00:00.
