Skip to main content
Glama

gltfjsx

Convert GLTF/GLB 3D models into reusable React Three Fiber JSX components for integrating 3D assets into React applications with performance optimization options.

Instructions

Converts a GLTF/GLB 3D model file into a reusable, declarative React (react-three-fiber) JSX component. Supports options for TypeScript output, mesh/material instancing, pruning, compression, texture format, mesh simplification, and more. Useful for integrating 3D assets into React apps with optimal performance and flexibility.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelPathYesThe path to the GLTF/GLB model file to convert to JSX. The path should be absolute. The path should be absolute on the file system. Do not use relative paths.
optionsYes

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/basementstudio/mcp-three'

If you have feedback or need assistance with the MCP directory API, please join our Discord server