# React Three Fiber — React Renderer for Three.js
> A React renderer for Three.js that lets you build 3D scenes declaratively using JSX components, with full access to the Three.js ecosystem.
## Install
Save in your project root:
# React Three Fiber — React Renderer for Three.js
## Quick Use
```bash
npm install three @react-three/fiber
# In your React app:
# import { Canvas } from '@react-three/fiber'
#
```
## Introduction
React Three Fiber (R3F) is a React renderer for Three.js that lets you express 3D scenes as declarative JSX components. It bridges the gap between React's component model and Three.js's imperative API, making 3D development feel like building any other React application.
## What React Three Fiber Does
- Renders Three.js scenes using React's reconciler and component lifecycle
- Maps every Three.js class to a JSX element automatically
- Handles the render loop, resizing, and disposal without boilerplate
- Integrates with React state, context, and Suspense for async loading
- Works with the companion libraries drei (helpers) and rapier (physics)
## Architecture Overview
R3F implements a custom React reconciler that translates JSX into Three.js object graph operations. When you write ``, the reconciler calls `new THREE.Mesh()` behind the scenes. Props map directly to Three.js properties. The `