# pmndrs/gltfjsx

🎮 Turns GLTFs into JSX components

Repository: https://github.com/pmndrs/gltfjsx
Canonical: https://ross.abutalabs.com/products/gltfjsx
Homepage: https://gltf.pmnd.rs
Language: JavaScript
License: MIT
License Family: permissive
Last push: 2024-11-04T16:51:26+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 2535, "days_push": 667, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 5849, forks 382 (observed 2026-08-28T04:09:31.585798+00:00)

## What it is
A command-line tool that converts GLTF/GLB 3D model assets into declarative, reusable React Three Fiber JSX components. It builds a pruned virtual graph of objects and materials and can optionally compress models with draco, texture resizing, and mesh simplification.

## Use cases
- convert gltf model to react three fiber component
- turn glb file into jsx code
- optimize 3d model for web with draco compression
- make 3d assets reusable in react
- generate typescript types for a 3d model
- reduce gltf file size for web
- prune unnecessary nodes from a 3d scene graph

## When to choose
- you use react-three-fiber and want declarative, editable 3D scenes instead of loading GLTF files whole
- you need to re-use, conditionally render, or restructure nodes from a 3D model
- you want to compress and optimize GLTF assets (draco, webp textures, mesh simplification) for the web

## When to avoid
- you don't use React or react-three-fiber
- you need a runtime GLTF loader rather than a build-time code generator
- you work with non-GLTF 3D formats like FBX or OBJ

## Facets
- artifact type: cli-tool
- maturity: active
- function: cli, graphics, parser
- domain: web-development, frontend, graphics, developer-tools
- platform: cli, cross-platform
- tags: gltf, react-three-fiber, threejs, jsx, 3d-models, draco-compression, webgl, code-generation, game-development, nodejs, web

## Member repositories
- pmndrs/gltfjsx (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:31.585798+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-29T17:51:54.301171+00:00, confidence not recorded.
  - readme: https://github.com/pmndrs/gltfjsx (fetched 2026-08-28T04:09:31.585798+00:00, sha 933b2447476e)
  - homepage: https://gltf.pmnd.rs (fetched 2026-08-29T08:47:35.399945+00:00, sha a073c493bc4b)
  - registry_npm: https://registry.npmjs.org/gltfjsx (fetched 2026-08-29T08:47:35.408847+00:00, sha f8191a745c4e)
- Data as of 2026-08-30T08:39:29.467469+00:00.
