{"schemaVersion":1,"id":"det-gltfjsx","name":"gltfjsx","locale":"en","canonicalUrl":"https://base.akulich.dev/en/library/det-gltfjsx/","officialUrl":"https://github.com/pmndrs/gltfjsx","isCatalog":false,"description":"A CLI turning a GLTF/GLB model into an editable React Three Fiber component. It simplifies controlling materials, animations, events, and 3D scene composition.","tasks":["Add a GLB to a React application.","Generate a typed component with interactive meshes."],"categoryIds":["graphics","frontend"],"subcategoryIds":["graphics.webgl","frontend.components"],"tags":["glTF","GLB","React Three Fiber","CLI","React"],"aliases":[],"platforms":[],"stack":["React"],"compatibility":null,"pricing":"free","freeUsage":"A free local CLI: JSX/TypeScript generation, pruning, instancing, optional compression, and texture transformation.","paidUsage":null,"license":"MIT; source 3D asset licenses are separate.","selectionGuide":{"purpose":"Add a GLB to a React application.","chooseWhen":["Add a GLB to a React application.","Generate a typed component with interactive meshes."],"considerInstead":[],"requirements":["A React Three Fiber application, loader dependencies, and a GLB available at the specified path are required."],"limitations":["Access terms: A free local CLI: JSX/TypeScript generation, pruning, instancing, optional compression, and texture transformation. The tool license does not grant rights to someone else's model.","Terms of use: MIT; source 3D asset licenses are separate.","Generated JSX does not replace the model file itself."],"faq":[{"question":"What can you use for free in gltfjsx?","answer":"A free local CLI: JSX/TypeScript generation, pruning, instancing, optional compression, and texture transformation."},{"question":"What are the access terms for gltfjsx?","answer":"A free local CLI: JSX/TypeScript generation, pruning, instancing, optional compression, and texture transformation. The tool license does not grant rights to someone else's model."},{"question":"What terms of use matter for gltfjsx?","answer":"MIT; source 3D asset licenses are separate."},{"question":"Which environment can you use gltfjsx in?","answer":"Tech stack: React."},{"question":"How do you get started with gltfjsx?","answer":"For the task “Add a GLB to a React application”: build a simple scene with a camera and lighting; first confirm that the original model displays correctly. Add one interaction for the task and connect it to the interface state. Choose asset sizes and scene complexity for the target device; keep the graphics separate from standard page controls."},{"question":"Is copying only the generated JSX enough?","answer":"No: the component loads the model file from a path. Place the corresponding GLB among accessible application assets. --transform uses the generated optimized model; check the component path against the file being published."}],"related":[],"sources":["https://github.com/pmndrs/gltfjsx","https://raw.githubusercontent.com/pmndrs/gltfjsx/master/LICENSE","https://raw.githubusercontent.com/pmndrs/gltfjsx/master/readme.md"]},"selectionCheckedAt":null,"applicationGuide":{"inputs":["One 3D model or a small scene, materials, and the purpose of the interaction.","Target browsers and devices; a standard image to preview the scene.","From the tech stack mentioned on this page, choose an option that suits your project: React; check version compatibility in the documentation."],"steps":["For the task “Add a GLB to a React application”: build a simple scene with a camera and lighting; first confirm that the original model displays correctly.","Add one interaction for the task and connect it to the interface state.","Choose asset sizes and scene complexity for the target device; keep the graphics separate from standard page controls."],"checks":["The model is not clipped, materials are visible, and the controls are understandable without knowing the editor.","Loading and motion are acceptable on the target device; essential information is also available without 3D."],"goal":"Example workflow with gltfjsx: Add a GLB to a React application."},"sources":["https://github.com/pmndrs/gltfjsx","https://raw.githubusercontent.com/pmndrs/gltfjsx/master/LICENSE","https://raw.githubusercontent.com/pmndrs/gltfjsx/master/readme.md"],"checkedAt":"2026-10-03","reviewScope":"The purpose and published terms have been reviewed against the cited primary sources. This page does not confirm that the product was run or tested in every environment.","relatedIds":[],"dataVersion":"cbbe7123b47a5ae80983","type":"Tool","kind":"tool","pricingNote":"A free local CLI: JSX/TypeScript generation, pruning, instancing, optional compression, and texture transformation. The tool license does not grant rights to someone else's model.","notes":null,"labeledSources":[{"url":"https://github.com/pmndrs/gltfjsx","label":"Source code"},{"url":"https://raw.githubusercontent.com/pmndrs/gltfjsx/master/LICENSE","label":"License"},{"url":"https://raw.githubusercontent.com/pmndrs/gltfjsx/master/readme.md","label":"Official source"}],"licenseGuides":[{"id":"mit","title":"MIT — permissive license","scope":null,"summary":"You can use, modify, distribute, and sell the code, including in a closed-source commercial product. When sharing copies or substantial portions of the code, retain the license text and copyright notice. You do not need to open-source your entire project; the author provides no warranties.","url":"https://opensource.org/license/mit"}],"entryIds":[],"composition":null}