# pmndrs/xr

🤳 VR/AR for react-three-fiber

Repository: https://github.com/pmndrs/xr
Canonical: https://ross.abutalabs.com/products/xr
Homepage: https://pmndrs.github.io/xr/docs/
Language: TypeScript
License: NOASSERTION
License Family: other
Topics: react, webxr, react-three-fiber, vr, ar
Last push: 2026-05-29T01:42:32+00:00

## Health v2 (maintenance only)
Score: 68/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 84, release rhythm 28, longevity 100
- inputs: {"age_days": 2306, "days_push": 97, "days_rel": 580, "gap_med": 44.5, "n_releases_24m": 3}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2605, forks 205 (observed 2026-08-28T04:07:04.009939+00:00)

## What it is
A React library that adds VR and AR (WebXR) support to react-three-fiber applications. It provides a store-based API for entering immersive sessions, handling controllers, hands, interactions, and teleportation in 3D scenes.

## Use cases
- add VR support to a react-three-fiber app
- build an AR web experience with React
- handle controller and hand interactions in WebXR
- implement teleportation in a 3D web scene
- turn a 3D React scene into an immersive experience
- detect objects in AR sessions

## When to choose
- you already use react-three-fiber and want VR/AR with minimal code
- you want a React-idiomatic WebXR API with components and hooks
- you need cross-device immersive interactions (controllers, hands, pointing)

## When to avoid
- you build XR apps outside React or without three.js
- you need native (non-WebXR) VR/AR development
- you need a non-3D web app

## Facets
- artifact type: library
- maturity: active
- function: ui-components, graphics, game-engine
- domain: web-development, frontend, graphics, cross-platform
- platform: browser
- tags: webxr, react-three-fiber, vr, ar, immersive, 3d, react, web-server, typescript, nodejs

## Member repositories
- pmndrs/xr (main) score 68

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:04.009939+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-30T02:21:02.958386+00:00, confidence not recorded.
  - readme: https://github.com/pmndrs/xr (fetched 2026-08-28T04:07:04.009939+00:00, sha f012c6bd93f5)
  - homepage: https://pmndrs.github.io/xr/docs/ (fetched 2026-08-29T10:04:14.443344+00:00, sha 3edea9b00e5e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
