A 3D model viewer & animation player for React.
Supports:
# main package
npm i react-model-viewer
# peer dependencies
npm i react react-dom three
Bundle size: https://bundlephobia.com/result?p=react-model-viewer
http://setsun.github.io/react-model-viewer/?path=/story/react-model-viewer--gtlf-sonic

react-model-viewer is meant to interface seamlessly with three.js model loaders for loading 3D assets (GTLFLoader, OBJLoader, etc).
Additionally it supports animations via THREE.AnimationMixer if the model includes them.
import ModelViewer from 'react-model-viewer';
const modelPath = 'https://raw.githubusercontent.com/KhronosGroup/glTF-Sample-Models/master/2.0/Duck/glTF/Duck.gltf';
const App = () => (
<ModelViewer type="gtlf" src={modelPath} />
);
OBJ and switching out MTL textures.FBX, COLLADA, etc.)