pmndrs/gltfjsx

🎮 Turns GLTFs into JSX components

Hosted by Poimandres

View on GitHub ↗Jump to charts ↓

pmndrs/gltfjsx has 5.5k+ stars and 350+ forks on GitHub, is written in JavaScript, and was last pushed on Nov 4, 2024. Data as of . Signed-in members get hourly updates — create a free account.

Summary Information

Updated 1 hour ago
Added to GitGenius on October 12th, 2026
Created on September 24th, 2019
Open Issues & Pull Requests: 109 (+0)
GitHub issues: Enabled
Number of forks: 381
Total Stargazers: 5,882 (+0)
Total Subscribers: 44 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 4.4 days
Mean response time: 122.2 days
90th percentile: 318.0 days
Tracked items: 15

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 12
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 954 days
Stale 30+ days: 11
Stale 90+ days: 11

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

No label distribution available yet.

Most active issues this week

Sign in to see which issues are moving.
Sign in

Detailed Description

gltfjsx is a command-line tool that converts GLTF and GLB 3D model files into reusable JSX components.

The tool solves the problem of integrating 3D models into React applications by automating the conversion of GLTF files into declarative JSX components. Rather than manually loading and configuring 3D models at runtime, gltfjsx analyzes a GLTF file and generates a React component that encapsulates the model's geometry, materials, animations, and hierarchy. The generated component can be imported and used like any other React component, with props exposed for controlling animations, materials, and other model properties.

Developers working with Three.js in React applications should consider this tool when they need to incorporate 3D models into their projects. It is particularly suited for applications that use react-three-fiber, the React renderer for Three.js, since the generated components integrate seamlessly with that ecosystem. The tool eliminates boilerplate code for model loading and setup, allowing developers to focus on application logic rather than 3D asset management. This approach works well for projects where 3D models are a core part of the user interface or experience.

The project maintains active development with regular updates and responsive issue handling. The maintainers accept and integrate community contributions, indicating an open approach to external input. Documentation is comprehensive and includes examples demonstrating typical usage patterns. The tool has established itself as a standard solution within the react-three-fiber community, with ongoing refinement of its code generation and component output.