# React Three Fiber

> Write three.js 3D scenes as React components, with state and events working the way they do in React.

Canonical page: https://sitepeel.dev/resources/react-three-fiber/

Website: https://r3f.docs.pmnd.rs/

Category: 3D. Access: Open source.

## What it is

Instead of imperative three.js code, you build the scene out of JSX tags like mesh, light and camera. The docs cover installation, a first scene, examples, the API and tutorials, and it fits with the pmndrs helpers such as drei. Version 10, which adds WebGPU support, is in alpha.

## Is it for you?

- Made for: React developers who want 3D in their app without leaving the React way of working.
- You need: React and three.js
- Price: Open source (MIT)

## What you can do with it

- Interactive 3D hero sections in Next.js sites
- Product configurators
- 3D scenes that react to app state or scroll

Good to know: You still need to understand three.js concepts; this changes how you write them, not what they are.

## More like this

- [three.js](https://sitepeel.dev/resources/three-js/index.md): JavaScript library for 3D on the web, built on WebGL and WebGPU, with live examples, docs and a browser scene editor.
- [model-viewer](https://sitepeel.dev/resources/model-viewer/index.md): One HTML tag from Google that shows a 3D model people can spin and zoom, and view in AR on phones.
- [Poly Haven](https://sitepeel.dev/resources/poly-haven/index.md): Free HDRIs, photoscanned textures and 3D models under CC0, so you can use them for anything, no sign-up.

All resources: https://sitepeel.dev/resources/index.md. Checked on 2026-12-05.
