threejs-react-three-fiber - Build Three.js Scenes with React Three Fiber
Build React components that render three.js scenes with React Three Fiber and drei, including rendering, scene graphs, hooks, loading, pointer events, and adaptive performance.
Tags
Updated: 2026-11-08Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Set up Canvas rendering
- Compose scenes with JSX
- Run frame-loop callbacks
- Read reactive Canvas state
- Load and cache assets
- Handle raycast pointer events
- Adapt rendering performance
- Register custom three classes
- Configure WebGPU and TSL
Inputs
- React components
- Three.js scene objects
- Asset URLs
- Canvas configuration
- Pointer event handlers
Outputs
- Rendered three.js scenes
- Loaded scene assets
- Pointer event callbacks
- Updated scene state
- Changed render-loop behavior
Requirements
- React 19
- @react-three/fiber 9.8
- @react-three/drei 10.7
- three.js r186
- WebGL or WebGPU support
