React 3D libraries

Updated Nov 2026

React 3D libraries let application developers build and render 3D scenes. A React renderer describes the scene graph of a WebGL library such as Three.js as JSX components that update with application state. These libraries let product pages, data visualizations, and games show interactive scenes in the browser.

Popularity

@react-three/fiber has the most monthly downloads in this comparison, at 35.7M.

LibraryMonthly downloadsStarsLast releaseLicense
@react-three/fiber
35.7M
33.8KOct 2026MIT
@react-three/drei
23.5M
10.2KSep 2026MIT
@react-spring/three
9.2M
29.3KJun 2026MIT
@react-three/postprocessing
5.5M
1.7KOct 2026MIT
react-force-graph-3d
1.5M
3.4KSep 2026MIT
react-globe.gl
969.0K
1.5KMay 2026MIT
@react-three/rapier
847.9K
1.7KNov 2025MIT
@splinetool/react-spline
683.9K
1.4KNov 2026MIT
Downloads: npm, last thirty days. Stars and releases: GitHub. Amber: no release in over a year.

Libraries and code examples

@react-three/fiber

Builds Three.js scenes through React components and renderer-owned JSX elements.

Downloads / mo
35.7M
Stars
33.8K
Last release
9.8.2
License
MIT
Runs on
Three.js

Strengths

  • Builds scenes with reusable components. Describe meshes, lights, and materials directly in JSX.
  • Updates objects during rendered frames. Use useFrame to update scene objects in the render loop.

Limitations

  • Hooks need canvas context. Call useThree and useFrame inside Canvas descendants.
  • React majors must match. Pair the renderer major with its supported React major.

Quickstart

From readme.md
$ npm install @react-three/fiber three
import { Canvas } from '@react-three/fiber';

export default function App() {
  return <Canvas style={{ height: 400 }}><mesh><boxGeometry /><meshNormalMaterial /></mesh></Canvas>;
}

@react-three/fiber examples

From open-source projects on GitHub

@react-three/drei

Adds loaders, controls, and reusable scene helpers to React Three Fiber.

Downloads / mo
23.5M
Stars
10.2K
Last release
10.7.9
License
MIT
Runs on
React Three Fiber

Strengths

  • Loads GLTF scenes through useGLTF. Use the helper instead of wiring useLoader and GLTFLoader directly.
  • Controls manage updates and cleanup. Camera controls update automatically and remove themselves on unmount.

Limitations

  • Requires React Three Fiber. Add these helpers to an existing Fiber scene.
  • Compressed models fetch a decoder. Self-host Draco binaries when external decoder requests are unsuitable.

Quickstart

From camera-controls.md
$ npm install @react-three/drei three @react-three/fiber
import { Canvas } from '@react-three/fiber';
import { CameraControls } from '@react-three/drei';

export default function App() {
  return <Canvas style={{ height: 400 }}><CameraControls /><mesh><boxGeometry /><meshNormalMaterial /></mesh></Canvas>;
}

@react-three/drei examples

From open-source projects on GitHub

@react-spring/three

Adds spring animation support to react-three-fiber.

Downloads / mo
9.2M
Stars
29.3K
Last release
10.1.2
License
MIT

Quickstart

From index.ts
$ npm install @react-spring/three three @react-three/fiber
import { Canvas } from '@react-three/fiber';
import { animated, useSpring } from '@react-spring/three';

function Box() {
  const { scale } = useSpring({ from: { scale: 0 }, to: { scale: 1 } });
  return <animated.mesh scale={scale}><boxGeometry /><meshNormalMaterial /></animated.mesh>;
}

export default function App() {
  return <Canvas style={{ height: 400 }}><Box /></Canvas>;
}

@react-spring/three examples

From open-source projects on GitHub

@react-three/postprocessing

Wraps the postprocessing library for React and @react-three/fiber.

Downloads / mo
5.5M
Stars
1.7K
Last release
3.2.2
License
MIT

Quickstart

From README.md
$ npm install @react-three/postprocessing three @react-three/fiber postprocessing
import { Canvas } from '@react-three/fiber';
import { Bloom, EffectComposer } from '@react-three/postprocessing';

export default function App() {
  return (
    <Canvas style={{ height: 400 }}>
      <mesh><boxGeometry /><meshBasicMaterial color="orange" /></mesh>
      <EffectComposer><Bloom luminanceThreshold={0} /></EffectComposer>
    </Canvas>
  );
}

@react-three/postprocessing examples

From open-source projects on GitHub

react-force-graph-3d

Renders 3D force-directed graphs as a React component.

Downloads / mo
1.5M
Stars
3.4K
Last release
1.29.2
License
MIT

Quickstart

From README.md
$ npm install react-force-graph-3d
import ForceGraph3D from 'react-force-graph-3d';

export default function App() {
  const data = {
    nodes: [{ id: 'a' }, { id: 'b' }],
    links: [{ source: 'a', target: 'b' }],
  };
  return <ForceGraph3D graphData={data} width={600} height={400} />;
}

react-force-graph-3d examples

From open-source projects on GitHub

react-globe.gl

Renders globe data visualizations in React with ThreeJS and WebGL.

Downloads / mo
969.0K
Stars
1.5K
Last release
2.38.0
License
MIT

Quickstart

From README.md
$ npm install react-globe.gl
import Globe from 'react-globe.gl';

export default function App() {
  const points = [{ lat: 37.77, lng: -122.42 }];
  return <Globe pointsData={points} pointAltitude={0.08} width={600} height={400} />;
}

react-globe.gl examples

From open-source projects on GitHub

@react-three/rapier

Adds Rapier physics to React.

Downloads / mo
847.9K
Stars
1.7K
Last release
2.2.0
License
MIT

Quickstart

From readme.md
$ npm install @react-three/rapier three @react-three/fiber
import { Suspense } from 'react';
import { Canvas } from '@react-three/fiber';
import { Physics, RigidBody } from '@react-three/rapier';

export default function App() {
  return (
    <Canvas style={{ height: 400 }}>
      <Suspense fallback={null}>
        <Physics><RigidBody><mesh><boxGeometry /><meshNormalMaterial /></mesh></RigidBody></Physics>
      </Suspense>
    </Canvas>
  );
}

@react-three/rapier examples

From open-source projects on GitHub

@splinetool/react-spline

Embeds exported Spline scenes and connects their interactions to React.

Downloads / mo
683.9K
Stars
1.4K
Last release
4.2.0
License
MIT
Runs on
Spline runtime

Strengths

  • Embeds visually authored scenes. Export a Spline scene and load its URL in React.
  • Triggers authored animation events. Trigger an editor-defined animation event from a React button.

Limitations

  • Models need the editor first. Import raw models into Spline before exporting a React scene.

Quickstart

From README.md
$ npm install @splinetool/react-spline
import Spline from '@splinetool/react-spline';

export default function App() {
  return <Spline scene="https://prod.spline.design/6Wq1Q7YGyM-iab9i/scene.splinecode" />;
}

@splinetool/react-spline examples

From open-source projects on GitHub

FAQ

@react-three/fiber suits scenes built from Three.js objects as React components. @react-three/drei suits Fiber projects that need loaders, controls, and scene helpers. @splinetool/react-spline suits scenes designed visually in the Spline editor.

@react-three/fiber builds Three.js scenes through React components and renderer-owned JSX elements. Its useFrame hook updates scene objects in the render loop.

@react-three/drei adds loaders, controls, and reusable scene helpers to React Three Fiber. Its useGLTF helper loads GLTF scenes.

No. @react-three/drei adds its helpers to an existing Fiber scene.

For coding agents

Found your 3D library? Help your agent use it.

Connect Exa so your coding agent can find the library’s documentation, check its API, and look up implementations while you build.

Run in your terminal

claude plugin install exa@claude-plugins-official