Skip to content

React Three Fiber

React renderer for Three.js, so 3D scenes are written as components with hooks and state. Works in Vite, Next.js and React Native.

Library3D and visual

Install in your project

A code library: your agent installs it and uses it in your codebase.
npm install three @react-three/fiber

Version 9 pairs with React 19 and version 8 with React 18. In Next.js, add transpilePackages: ['three'] to next.config.

Read the React Three Fiber Grid Notes (setup, gotchas and reduced motion)