# jeffreylanters/react-unity-webgl

React Unity WebGL provides a modern solution for embedding Unity WebGL builds in your React Application while providing advanced APIs for two way communication and interaction between Unity and React.

Repository: https://github.com/jeffreylanters/react-unity-webgl
Canonical: https://ross.abutalabs.com/products/react-unity-webgl
Homepage: https://react-unity-webgl.dev
Language: TypeScript
License: Apache-2.0
License Family: permissive
Topics: react, unity, wegl
Last push: 2026-05-08T14:18:39+00:00

## Health v2 (maintenance only)
Score: 86/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 81, release rhythm 83, longevity 100
- inputs: {"age_days": 3421, "days_push": 117, "days_rel": 117, "gap_med": 19.5, "n_releases_24m": 13}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1886, forks 168 (observed 2026-08-28T04:05:49.023303+00:00)

## What it is
A React library for embedding Unity WebGL builds in React applications with advanced two-way communication APIs between Unity and React. It provides hooks and components for loading Unity content, tracking loading progress, and exchanging messages between the two environments.

## Use cases
- embed a Unity WebGL game in a React app
- communicate between Unity and React components
- show loading progress for a Unity WebGL build
- call Unity methods from JavaScript
- send messages from Unity to React
- build interactive web interfaces around a Unity application

## When to choose
- you have a Unity WebGL build and want to integrate it into a React application
- you need bidirectional communication between Unity and web page components
- you want loading state management and event handling for Unity content in React

## When to avoid
- your project does not use React
- you are embedding Unity content in a plain HTML page or a non-React framework
- you need to embed game engines other than Unity

## Facets
- artifact type: library
- maturity: active
- function: ui-components, wasm, developer-tools
- domain: web-development, frontend, gaming-tools
- platform: browser
- tags: react, unity, webgl, two-way-communication, typescript, game-development, web-server, javascript

## Member repositories
- jeffreylanters/react-unity-webgl (main) score 86

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:49.023303+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-30T03:13:34.817220+00:00, confidence not recorded.
  - readme: https://github.com/jeffreylanters/react-unity-webgl (fetched 2026-08-28T04:05:49.023303+00:00, sha fe48c31775df)
  - homepage: https://react-unity-webgl.dev (fetched 2026-08-29T10:52:59.720618+00:00, sha 17ec84f13c81)
  - site_page: https://react-unity-webgl.dev/docs/api/introduction (fetched 2026-08-29T10:52:59.725005+00:00, sha 7e87f22557f1)
  - site_page: https://react-unity-webgl.dev/docs/introduction (fetched 2026-08-29T10:52:59.723245+00:00, sha 91ce7401e975)
  - site_page: https://react-unity-webgl.dev/docs/9.x.x/introduction (fetched 2026-08-29T10:52:59.726607+00:00, sha 93de385682a5)
  - site_page: https://react-unity-webgl.dev/docs/8.x.x/introduction (fetched 2026-08-29T10:52:59.728269+00:00, sha cd0da12690c3)
  - site_page: https://react-unity-webgl.dev/docs/7.x.x/introduction (fetched 2026-08-29T10:52:59.729886+00:00, sha 2bb50ff6916d)
  - site_page: https://react-unity-webgl.dev/docs/6.x.x/introduction (fetched 2026-08-29T10:52:59.731399+00:00, sha 4eaa861d822e)
  - site_page: https://react-unity-webgl.dev/docs/5.x.x/introduction (fetched 2026-08-29T10:52:59.734390+00:00, sha ba88b3384a1a)
  - registry_npm: https://registry.npmjs.org/react-unity-webgl (fetched 2026-08-29T10:52:59.736954+00:00, sha a408ea2e163e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
