# React 3D libraries

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

| Library | Monthly downloads | Stars | Last release | License |
| --- | --- | --- | --- | --- |
| [@react-three/fiber](#react-three-fiber) | 35.7M | 33.8K | Oct 2026 | MIT |
| [@react-three/drei](#drei) | 23.5M | 10.2K | Sep 2026 | MIT |
| [@react-spring/three](#react-spring-three) | 9.2M | 29.3K | Jun 2026 | MIT |
| [@react-three/postprocessing](#react-three-postprocessing) | 5.5M | 1.7K | Oct 2026 | MIT |
| [react-force-graph-3d](#react-force-graph-threed) | 1.5M | 3.4K | Sep 2026 | MIT |
| [react-globe.gl](#react-globe-gl) | 969.0K | 1.5K | May 2026 | MIT |
| [@react-three/rapier](#react-three-rapier) | 847.9K | 1.7K | Nov 2025 | MIT |
| [@splinetool/react-spline](#react-spline) | 683.9K | 1.4K | Nov 2026 | MIT |

Downloads: npm, last thirty days. Stars and releases: GitHub. Amber: no release in over a year.

[@react-three/fiber](#react-three-fiber) has the most monthly downloads in this comparison, at 35.7M.

## Capabilities

| Library | Own scene canvas | React rigid bodies |
| --- | --- | --- |
| [@react-three/fiber](#react-three-fiber) | Yes | No |
| [@react-three/drei](#drei) | No | No |
| [@react-spring/three](#react-spring-three) | No | No |
| [@react-three/postprocessing](#react-three-postprocessing) | No | No |
| [react-force-graph-3d](#react-force-graph-threed) | Yes | No |
| [react-globe.gl](#react-globe-gl) | Yes | No |
| [@react-three/rapier](#react-three-rapier) | No | Yes |
| [@splinetool/react-spline](#react-spline) | Yes | No |

## Libraries

### @react-three/fiber

[GitHub](https://github.com/pmndrs/react-three-fiber) · [npm](https://www.npmjs.com/package/@react-three/fiber) · [Docs](https://github.com/pmndrs/react-three-fiber/blob/master/readme.md)

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
- Capabilities: [From the @react-three/fiber docs](https://github.com/pmndrs/react-three-fiber/blob/master/readme.md)

**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.

**Watch out for**

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

```sh
npm install @react-three/fiber three
```

**pmndrs/drei** (10.2K stars)

[pmndrs/drei](https://github.com/pmndrs/drei) 

```tsx
export function useCubeCamera({ resolution = 256, near = 0.1, far = 1000, envMap, fog }: CubeCameraOptions = {}) {
  const gl = useThree(({ gl }) => gl)
  const scene = useThree(({ scene }) => scene)

  const fbo = useMemo(() => {
    const fbo = new WebGLCubeRenderTarget(resolution)
    fbo.texture.type = HalfFloatType
    return fbo
  }, [resolution])

  useEffect(() => {
    return () => {
      fbo.dispose()
    }
  }, [fbo])

  const camera = useMemo(() => new THREE.CubeCamera(near, far, fbo), [near, far, fbo])

  let originalFog
  let originalBackground
  const update = React.useCallback(() => {
    originalFog = scene.fog
    originalBackground = scene.background
    scene.background = envMap || originalBackground
    scene.fog = fog || originalFog
    camera.update(gl, scene)
    scene.fog = originalFog
    scene.background = originalBackground
  }, [gl, scene, camera])

  return {
    fbo,
    camera,
    update,
  }
}

```

[src/core/CubeCamera.tsx](https://github.com/pmndrs/drei/blob/bf6f4addf47467d3885de272d94ca5127f6ef68f/src/core/CubeCamera.tsx) · [More projects using @react-three/fiber →](https://dashboard.exa.ai/playground/search?q=React%20TypeScript%20applications%20using%20%40react-three/fiber%20for%20interactive%20three-dimensional%20scenes%2C%20model%20loading%2C%20controls%20and%20pointer%20interactions&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D)

**Quickstart**

```tsx
import { Canvas } from '@react-three/fiber';

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

```

From [readme.md](https://github.com/pmndrs/react-three-fiber/blob/master/readme.md)

### @react-three/drei

[GitHub](https://github.com/pmndrs/drei) · [npm](https://www.npmjs.com/package/@react-three/drei) · [Docs](https://github.com/pmndrs/drei/blob/master/README.md)

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
- Capabilities: [From the @react-three/drei docs](https://github.com/pmndrs/drei/blob/master/README.md)

**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.

**Watch out for**

- **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.

```sh
npm install @react-three/drei three @react-three/fiber
```

**theatre-js/theatre** (13.0K stars)

[theatre-js/theatre](https://github.com/theatre-js/theatre) 

```tsx
function Model({url}: {url: string}) {
  const {nodes} = useGLTF(url) as any

  return (
    <group rotation={[-Math.PI / 2, 0, 0]} position={[0, -7, 0]} scale={7}>
      <group rotation={[Math.PI / 13.5, -Math.PI / 5.8, Math.PI / 5.6]}>
        <e.mesh
          theatreKey="Example Namespace / Thingy"
          receiveShadow
          castShadow
          geometry={nodes.planet001.geometry}
          material={nodes.planet001.material}
        />
        <e.mesh
          theatreKey="Example Namespace / Debris 2"
          receiveShadow
          castShadow
          geometry={nodes.planet002.geometry}
          material={nodes.planet002.material}
        />
        <e.mesh
          theatreKey="Debris 1"
          geometry={nodes.planet003.geometry}
          material={nodes.planet003.material}
        />
      </group>
    </group>
  )
}

```

[packages/playground/src/shared/r3f-rocket/App.tsx](https://github.com/theatre-js/theatre/blob/6ea82b938ea49609489f6377ded693ccc6ee8f5b/packages/playground/src/shared/r3f-rocket/App.tsx) · [More projects using @react-three/drei →](https://dashboard.exa.ai/playground/search?q=React%20TypeScript%20applications%20using%20%40react-three/drei%20for%20interactive%20three-dimensional%20scenes%2C%20model%20loading%2C%20controls%20and%20pointer%20interactions&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D)

**Quickstart**

```tsx
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>;
}

```

From [camera-controls.md](https://drei.docs.pmnd.rs/controls/camera-controls)

### @react-spring/three

[GitHub](https://github.com/pmndrs/react-spring) · [npm](https://www.npmjs.com/package/@react-spring/three) · [Docs](https://github.com/pmndrs/react-spring/blob/next/README.md)

Adds spring animation support to react-three-fiber.

- Downloads / mo: 9.2M
- Stars: 29.3K
- Last release: 10.1.2
- License: MIT
- Capabilities: [From the @react-spring/three docs](https://github.com/pmndrs/react-spring/blob/next/README.md)

```sh
npm install @react-spring/three three @react-three/fiber
```

**suhdonghwi/3d-periodic-table** (174 stars)

[suhdonghwi/3d-periodic-table](https://github.com/suhdonghwi/3d-periodic-table) 

```tsx
export default function RawPillar({
  style,
  length,
  envMap,
  hover,
  ...props
}: RawPillarProps & RawPillarMeshProps) {
  const pillarSpring = useSpring({
    color: style.color,
    opacity: style.opacity ?? 1,
    config: {
      tension: 150,
    },
  });

  return (
    <animated.mesh {...props}>
      <boxGeometry args={[length, 1, length]} />
      <animated.meshStandardMaterial
        color={hover ? "#ff8787" : pillarSpring.color}
        transparent
        opacity={pillarSpring.opacity}
        metalness={style.metalness ?? 0}
        roughness={style.roughness ?? 1}
        envMap={envMap}
      />
      {props.children}
    </animated.mesh>
  );
}

```

[src/components/RawPillar.tsx](https://github.com/suhdonghwi/3d-periodic-table/blob/21945c2401aa7f11c42748d1984b9e9f79a8d245/src/components/RawPillar.tsx) · [More projects using @react-spring/three →](https://dashboard.exa.ai/playground/search?q=%40react-spring/three%20GitHub%20projects)

**Quickstart**

```tsx
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>;
}

```

From [index.ts](https://github.com/pmndrs/react-spring/blob/next/targets/three/src/index.ts)

### @react-three/postprocessing

[GitHub](https://github.com/pmndrs/react-postprocessing) · [npm](https://www.npmjs.com/package/@react-three/postprocessing) · [Docs](https://github.com/pmndrs/react-postprocessing/blob/master/README.md)

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

- Downloads / mo: 5.5M
- Stars: 1.7K
- Last release: 3.2.2
- License: MIT
- Capabilities: [From the @react-three/postprocessing docs](https://github.com/pmndrs/react-postprocessing/blob/master/README.md)

```sh
npm install @react-three/postprocessing three @react-three/fiber postprocessing
```

**openai/openai-apps-sdk-examples** (2.4K stars)

[openai/openai-apps-sdk-examples](https://github.com/openai/openai-apps-sdk-examples) 

```tsx
function Effects({ focusTarget, hasFocus }) {
  const { camera } = useThree();
  const depthOfFieldRef = useRef();

  useFrame(() => {
    if (!depthOfFieldRef.current) return;

    if (!hasFocus) {
      depthOfFieldRef.current.bokehScale = 0; // no planet in focus → no blur
      return;
    }

    const d = camera.position.distanceTo(focusTarget); // closer ⇒ stronger blur
    const scale = THREE.MathUtils.clamp(12 - d * 0.75, 0, 12);
    depthOfFieldRef.current.bokehScale = scale;
  });

  return (
    <EffectComposer>
      <DepthOfField
        ref={depthOfFieldRef}
        focusDistance={0}
        focalLength={0.02}
        height={480}
        bokehScale={0} // initial value; updated each frame
        target={focusTarget}
      />
      <Bloom
        luminanceThreshold={0}
        luminanceSmoothing={0.25}
        intensity={1.75}
        mipmapBlur
      />
    </EffectComposer>
  );
}

```

[src/solar-system/solar-system.jsx](https://github.com/openai/openai-apps-sdk-examples/blob/18cc38e78a968712c357bacdc3c79fead5bfc6b4/src/solar-system/solar-system.jsx) · [More projects using @react-three/postprocessing →](https://dashboard.exa.ai/playground/search?q=%40react-three/postprocessing%20GitHub%20projects)

**Quickstart**

```tsx
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>
  );
}

```

From [README.md](https://github.com/pmndrs/react-postprocessing/blob/master/README.md)

### react-force-graph-3d

[GitHub](https://github.com/vasturiano/react-force-graph) · [npm](https://www.npmjs.com/package/react-force-graph-3d) · [Docs](https://github.com/vasturiano/react-force-graph/blob/master/README.md)

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

- Downloads / mo: 1.5M
- Stars: 3.4K
- Last release: 1.29.2
- License: MIT
- Capabilities: [From the react-force-graph-3d docs](https://github.com/vasturiano/react-force-graph/blob/master/README.md)

```sh
npm install react-force-graph-3d
```

**noworneverev/graphrag-visualizer** (430 stars)

[noworneverev/graphrag-visualizer](https://github.com/noworneverev/graphrag-visualizer) 

```tsx
const handleFocusButtonClick = (node: CustomNode) => {
  const newHighlightNodes = new Set<CustomNode>();
  newHighlightNodes.add(node);
  node.neighbors?.forEach((neighbor) => newHighlightNodes.add(neighbor));
  node.links?.forEach((link) => highlightLinks.add(link));

  setHighlightNodes(newHighlightNodes);
  setHoverNode(node);

  if (graphRef.current) {
    if (graphType === "2d") {
      graphRef.current.centerAt(node.x, node.y, 1000);
      graphRef.current.zoom(8, 1000);
    } else {
      graphRef.current.cameraPosition(
        { x: node.x, y: node.y, z: 300 }, // new position
        { x: node.x, y: node.y, z: 0 }, // lookAt
        3000 // ms transition duration
      );
    }
  }

  // Simulate mouse hover on the focused node
  setTimeout(() => {
    handleNodeHover(node);
  }, 1000); // Adjust delay as needed

  setRightDrawerOpen(false);
};

```

[src/app/components/GraphViewer.tsx](https://github.com/noworneverev/graphrag-visualizer/blob/8648cde8e1c7bb605f3ff45c0610e3932deba143/src/app/components/GraphViewer.tsx) · [More projects using react-force-graph-3d →](https://dashboard.exa.ai/playground/search?q=react-force-graph-3d%20GitHub%20projects)

**Quickstart**

```tsx
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} />;
}

```

From [README.md](https://github.com/vasturiano/react-force-graph/blob/master/README.md)

### react-globe.gl

[GitHub](https://github.com/vasturiano/react-globe.gl) · [npm](https://www.npmjs.com/package/react-globe.gl) · [Docs](https://github.com/vasturiano/react-globe.gl/blob/master/README.md)

Renders globe data visualizations in React with ThreeJS and WebGL.

- Downloads / mo: 969.0K
- Stars: 1.5K
- Last release: 2.38.0
- License: MIT
- Capabilities: [From the react-globe.gl docs](https://github.com/vasturiano/react-globe.gl/blob/master/README.md)

```sh
npm install react-globe.gl
```

**CopilotKit/CopilotKit** (38.8K stars)

[CopilotKit/CopilotKit](https://github.com/CopilotKit/CopilotKit) 

```tsx
export function useGlobeInteraction(
  globeRef: React.MutableRefObject<GlobeMethods | undefined>,
  visitedCountries: VisitedCountry[],
  clickedCountry: ClickedCountry | null,
  setClickedCountry: (country: ClickedCountry | null) => void,
) {
  const [selectedId, setSelectedId] = useState<string | null>(null);
  const [hoverId, setHoverId] = useState<string | null>(null);

  const handlePolygonClick = useCallback(
    (polygon: unknown) => {
      const feature = polygon as CountryFeature;
      const id = feature.id?.toString() ?? "";
      setSelectedId(id);
      setClickedCountry(null);

      const controls = globeRef.current?.controls?.();
      if (controls) controls.autoRotate = false;

      const countryName = feature.properties?.name ?? "Unknown";
      const flagEmoji = feature.properties?.flagEmoji ?? null;
      const isVisited = visitedCountries.some(
        (country) => country.name === countryName,
      );

      const [lngRaw, latRaw] = geoCentroid(feature);
      const lat = Number.isFinite(latRaw) ? latRaw : undefined;
      const lng = Number.isFinite(lngRaw) ? lngRaw : undefined;

      if (
        globeRef.current?.pointOfView &&
        lat !== undefined &&
        lng !== undefined
      ) {
        globeRef.current.pointOfView(
          { lat, lng, altitude: 1.6 },
          GLOBE_ANIMATION_DURATION_MS,
        );

        setTimeout(() => {
          if (globeRef.current) {
            const coords = globeRef.current.getScreenCoords(lat, lng);
            if (coords) {
              setClickedCountry({
                name: countryName,
                flagEmoji,
                position: { x: coords.x, y: coords.y },
                isVisited,
              });
            }
          }
        }, GLOBE_ANIMATION_DURATION_MS);
      }
    },
    [globeRef, visitedCountries, setClickedCountry],
  );

  const handlePolygonHover = useCallback((polygon: unknown | null) => {
    const feature = (polygon ?? undefined) as CountryFeature | undefined;
    setHoverId(feature?.id?.toString() ?? null);
  }, []);

  const polygonLabel = useCallback(
    (polygon: unknown) => {
      const feature = polygon as CountryFeature;
      const name = feature.properties?.name ?? "Unknown";
      const iso = feature.properties?.iso2 ?? "N/A";
      return hoverId === feature.id?.toString()
        ? `<div style="padding: 6px 8px;">
            <strong style="font-size: 13px;">${name}</strong><br />
            <span style="font-size: 11px; opacity: 0.7;">ISO: ${iso}</span>
          </div>`
        : "";
    },
    [hoverId],
  );

  return {
    selectedId,
    hoverId,
    handlePolygonClick,
    handlePolygonHover,
    polygonLabel,
  };
}

```

[examples/showcases/chatkit-studio/apps/world/src/hooks/useGlobeInteraction.ts](https://github.com/CopilotKit/CopilotKit/blob/567211b7edff7dde57cfc9b617655344004253c0/examples/showcases/chatkit-studio/apps/world/src/hooks/useGlobeInteraction.ts) · [More projects using react-globe.gl →](https://dashboard.exa.ai/playground/search?q=react-globe.gl%20GitHub%20projects)

**Quickstart**

```tsx
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} />;
}

```

From [README.md](https://github.com/vasturiano/react-globe.gl/blob/master/README.md)

### @react-three/rapier

[GitHub](https://github.com/pmndrs/react-three-rapier) · [npm](https://www.npmjs.com/package/@react-three/rapier) · [Docs](https://github.com/pmndrs/react-three-rapier/blob/main/readme.md)

Adds Rapier physics to React.

- Downloads / mo: 847.9K
- Stars: 1.7K
- Last release: 2.2.0
- License: MIT
- Capabilities: [From the @react-three/rapier docs](https://github.com/pmndrs/react-three-rapier/blob/main/readme.md)

```sh
npm install @react-three/rapier three @react-three/fiber
```

**vercel-labs/json-render** (19.8K stars)

[vercel-labs/json-render](https://github.com/vercel-labs/json-render) 

```tsx
export function GroundPlane({ position, material, size }: GroundPlaneProps) {
  const isPlaying = useEditorStore((s) => s.isPlaying);
  const s = size ?? 5000;
  const pos: [number, number, number] = position ?? [0, -0.1, 0];

  const plane = (
    <mesh rotation={[-Math.PI / 2, 0, 0]} position={pos} receiveShadow>
      <planeGeometry args={[s, s]} />
      <meshStandardMaterial
        color={material?.color ?? "#4CAF50"}
        metalness={material?.metalness ?? 0}
        roughness={material?.roughness ?? 0.9}
        side={THREE.DoubleSide}
      />
    </mesh>
  );

  if (!isPlaying) return plane;

  return (
    <RigidBody type="fixed" position={pos} colliders={false}>
      <mesh rotation={[-Math.PI / 2, 0, 0]} receiveShadow>
        <planeGeometry args={[s, s]} />
        <meshStandardMaterial
          color={material?.color ?? "#4CAF50"}
          metalness={material?.metalness ?? 0}
          roughness={material?.roughness ?? 0.9}
          side={THREE.DoubleSide}
        />
      </mesh>
      <CuboidCollider args={[s / 2, 0.01, s / 2]} position={[0, 0, 0]} />
    </RigidBody>
  );
}

```

[examples/game-engine/components/game/ground-plane.tsx](https://github.com/vercel-labs/json-render/blob/c926907855d95dde328264350ac5464b60be201d/examples/game-engine/components/game/ground-plane.tsx) · [More projects using @react-three/rapier →](https://dashboard.exa.ai/playground/search?q=%40react-three/rapier%20GitHub%20projects)

**Quickstart**

```tsx
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>
  );
}

```

From [readme.md](https://github.com/pmndrs/react-three-rapier/blob/main/readme.md)

### @splinetool/react-spline

[GitHub](https://github.com/splinetool/react-spline) · [npm](https://www.npmjs.com/package/@splinetool/react-spline) · [Docs](https://github.com/splinetool/react-spline/blob/main/README.md)

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
- Capabilities: [From the @splinetool/react-spline docs](https://github.com/splinetool/react-spline/blob/main/README.md)

**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.

**Watch out for**

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

```sh
npm install @splinetool/react-spline
```

**YicunAI/Pnlclaw-community** (196 stars)

[YicunAI/Pnlclaw-community](https://github.com/YicunAI/Pnlclaw-community) 

```tsx
export function SplineScene({ scene, className }: SplineSceneProps) {
  return (
    <SplineErrorBoundary>
      <Suspense 
        fallback={
          <div className="w-full h-full flex items-center justify-center">
            <span className="loader"></span>
          </div>
        }
      >
        <Spline
          scene={scene}
          className={className}
        />
      </Suspense>
    </SplineErrorBoundary>
  )
}

```

[apps/desktop/components/ui/splite.tsx](https://github.com/YicunAI/Pnlclaw-community/blob/933014faffa38fd2de6c5d9ecdb3c6dc1fe2f2bb/apps/desktop/components/ui/splite.tsx) · [More projects using @splinetool/react-spline →](https://dashboard.exa.ai/playground/search?q=React%20TypeScript%20applications%20using%20%40splinetool/react-spline%20for%20interactive%20three-dimensional%20scenes%2C%20model%20loading%2C%20controls%20and%20pointer%20interactions&filters=%7B%22type%22%3A%20%22auto%22%2C%20%22numResults%22%3A%2010%2C%20%22includeDomains%22%3A%20%5B%22github.com%22%5D%7D)

**Quickstart**

```tsx
import Spline from '@splinetool/react-spline';

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

```

From [README.md](https://github.com/splinetool/react-spline/blob/main/README.md)

## FAQ

### Which React 3D library should I use?

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

### What is React Three Fiber?

[@react-three/fiber](#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.

### What is drei?

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

### Does drei work without React Three Fiber?

No. [@react-three/drei](#drei) adds its helpers to an existing Fiber scene.

## How this page was built

Data checked Nov 20, 2026.

Reproduce it with the Exa API:

```json
{
  "endpoint": "/search",
  "body": {
    "query": "Best React 3D libraries React Three Fiber Drei react-babylonjs React Spline code examples",
    "numResults": 5
  }
}
```

Docs: https://exa.ai/docs/reference/search
