{"repo":"brianzinn/react-babylonjs","free":true,"listed":false,"github":"https://github.com/brianzinn/react-babylonjs","clone":"git clone https://github.com/brianzinn/react-babylonjs.git","description":"React for Babylon 3D engine","language":"TypeScript","stars":889,"topics":["babylonjs","react","3d-models","reactjs","vr","3d","physics","3d-engine"],"license":null,"category":"dev-tools","readme_excerpt":"react-babylonjs 'react-babylonjs' integrates the Babylon.js real time 3D engine with React react-babylonjs lets you build your scene and components using a familiar declarative syntax with the benefits of reusable components and hooks. The Babylon.js API is mostly covered declaratively thanks to code generation and even custom props allow you to declaratively add shadows, physics, 3D models, attach 2D/3D UI to meshes, etc. NOTE: react-babylonjs@4 requires React 19 . For older React versions (React Some limited 3.x versions did support React 19, so you may get caught updating to 3.x that is now React 18 only (not by patch update). In retrospect, I should have made 2 separate majors. The intention at one point was to support both in same npm. install Fully supports hooks. Full support for TypeScript with auto-completion on elements and compile time checks. Context API and hooks provide easy access to Scene/Engine/Canvas. No third party dependencies outside of React + babylon.js https://brianzinn.github.io/react-babylonjs/ Examples 50 sample web pages with viewable source code on: github pages examples. Example Projects - Create React App (JavaScript) CRA JavaScript implementation. Github pages has live examples of typical and declarative usage some with Redux. - Create React App (TypeScript) CRA 3 TypeScript. Examples of physics, shadows, etc. React Native No online examples for native, but you can integrate using EngineCanvasContext.Provider : Contributors - Huge shout out to ","default_branch":null,"files":null,"tree":[],"storefront":"/r/brianzinn","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/brianzinn/react-babylonjs/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}