threejs-react-three-fiber covers writing three.js scenes as React components. Its quick start shows a Canvas that owns the renderer, scene and camera, a component animated with useFrame, lights, shadows and drei’s OrbitControls.
The skill documents Canvas props such as shadows, dpr, frameloop and camera, then the frame loop, state and loading hooks, pointer events and adaptive performance, on WebGL or with WebGPU and TSL.
What You Get
- A complete quick start with a Canvas, lights, an animated box, a ground plane and orbit controls
- A Canvas props reference covering camera, shadows, dpr, frameloop and the onCreated callback
- Frame loop, state and loading hooks
- Pointer event handling on scene objects
- Adaptive performance options and a WebGPU and TSL section
Common Use Cases
- Building a 3D hero section inside a React app
- Animating objects with useFrame
- Rendering on demand to save battery
- Adding orbit controls and shadows with drei
- Handling clicks and hover on 3D elements
What Makes It Unique
It is pinned to the current React Three Fiber and drei versions and checked so every element maps to a three.js class. It notes that the Canvas fills its parent, so the parent needs a height, a common source of blank canvases. It is the React entry in a set of thirteen three.js skills.
Under The Hood
The skill is a single SKILL.md of explanation and JSX examples, with no scripts, and it tells the agent to run no commands. The agent reads it and writes React and three.js code into your project. It fetches nothing and writes no files itself.