# React Three Fiber \+ Drei

[BASE product page](<https://base.akulich.dev/en/library/github-com-pmndrs-react-three-fiber/>) · [Resource](<https://github.com/pmndrs/react-three-fiber>)

ID: github\-com\-pmndrs\-react\-three\-fiber · Language: en
Schema version: 1 · Data version: cbbe7123b47a5ae80983

This is editorial data. An unknown field neither confirms nor rules out a capability.
dataVersion is a dataset fingerprint, not evidence of a recent fact check.

A React renderer for Three\.js and a collection of ready\-made helpers\. You can ask Codex to build an interactive 3D scene from components; Drei adds cameras, scroll controls, 3D text, lighting, and environment effects\.

## Type

Library / tool

## Entry type

library

## Separate catalog

No

## [Access conditions](<https://base.akulich.dev/en/library/github-com-pmndrs-react-three-fiber/#resource-access>)

free

## [What you can use for free](<https://base.akulich.dev/en/library/github-com-pmndrs-react-three-fiber/#resource-access>)

The open\-source R3F and Drei libraries are free, with no mandatory account or subscription\.

## [Access and limitations](<https://base.akulich.dev/en/library/github-com-pmndrs-react-three-fiber/#resource-access>)

The open\-source R3F and Drei libraries are free, with no mandatory account or subscription\. Models, textures, and other external materials have their own licenses\.

## [Use cases](<https://base.akulich.dev/en/library/github-com-pmndrs-react-three-fiber/#resource-tasks>)

- A 3D hero for a landing page
- A rotatable product viewer
- A scene that responds to scrolling
- Portfolios and interactive graphics

## Tech stack

- React
- Three\.js

## Category IDs

- graphics
- motion
- frontend

## Subcategory IDs

- graphics\.webgl
- motion\.3d
- frontend\.components

## Tags

- Three\.js
- React Three Fiber
- Drei
- React
- Codex

## [Selection purpose](<https://base.akulich.dev/en/library/github-com-pmndrs-react-three-fiber/#resource-selection>)

Describe Three\.js scenes with React components and use Drei helpers\.

## [Choose this when](<https://base.akulich.dev/en/library/github-com-pmndrs-react-three-fiber/#resource-selection>)

- The 3D scene needs to respond to React application state\.
- You need to reuse parts of the scene as components\.

## [Consider alternatives when](<https://base.akulich.dev/en/library/github-com-pmndrs-react-three-fiber/#resource-selection>)

- Ordinary Three\.js is suitable if the project does not use React and does not need a declarative model\.

## [Requirements](<https://base.akulich.dev/en/library/github-com-pmndrs-react-three-fiber/#resource-selection>)

- React, Three\.js, and a Fiber version compatible with the chosen React version; add Drei as needed\.

## [Limitations](<https://base.akulich.dev/en/library/github-com-pmndrs-react-three-fiber/#resource-selection>)

- Knowing React does not replace an understanding of cameras, materials, and lighting\.
- GPU cost depends on scene content\.

## [Questions before use](<https://base.akulich.dev/en/library/github-com-pmndrs-react-three-fiber/#resource-faq>)

### Does Fiber replace Three\.js?

No\. It is a React renderer for Three\.js; geometry and materials belong to Three\.js, while Drei adds helpers\.

## Related resources selected by editors

- three\-js: Foundation: scenes, cameras, materials, and geometry\.
- react: Foundation: components and connecting the scene to application state\.

## Sources for the selection guide

- [https://r3f\.docs\.pmnd\.rs/getting\-started/introduction](<https://r3f.docs.pmnd.rs/getting-started/introduction>)

## [Possible workflow](<https://base.akulich.dev/en/library/github-com-pmndrs-react-three-fiber/#resource-scenario>)

Connect an object's color to a React interface value\.

A possible workflow; this is not a report of hands-on testing.

## Before you start

- A React project with compatible dependencies\.
- Two colors and a simple mesh\.

## Steps

1. Create a Canvas with a camera and an object\.
2. Pass the selected color from React state to the material\.
3. Check switching and reopening the scene\.

## Check your result

- The material matches the selected color\.
- Scene behavior does not block interface controls\.

## [License](<https://base.akulich.dev/en/library/github-com-pmndrs-react-three-fiber/#resource-license>)

MIT for R3F and Drei\. Commercial use is permitted when the code license is retained; rights to third\-party models/textures must be checked separately\.

## License explanations for the specified scope

### MIT — permissive license

You can use, modify, distribute, and sell the code, including in a closed\-source commercial product\. When sharing copies or substantial portions of the code, retain the license text and copyright notice\. You do not need to open\-source your entire project; the author provides no warranties\.

[License terms](<https://opensource.org/license/mit>)

## Related resource IDs

- babylonjs
- three\-js
- react

## [Usage details](<https://base.akulich.dev/en/library/github-com-pmndrs-react-three-fiber/#resource-notes>)

JavaScript/TypeScript, React, and Three\.js\. R3F 8 corresponds to React 18, and R3F 9 to React 19\. Drei extends R3F with cameras, lighting, and other helpers; the browser requires GPU graphics\. Test scene performance on the target devices\.

## [Sources](<https://base.akulich.dev/en/library/github-com-pmndrs-react-three-fiber/#resource-sources>)

- [Source code](<https://github.com/pmndrs/react-three-fiber>)
- [Source code](<https://github.com/pmndrs/drei>)
- [License](<https://raw.githubusercontent.com/pmndrs/react-three-fiber/master/LICENSE>)
- [License](<https://raw.githubusercontent.com/pmndrs/drei/master/LICENSE>)
- [Product documentation](<https://r3f.docs.pmnd.rs/getting-started/introduction>)

## Editorial review date

2026\-10\-03

## Selection guide review date

2026\-10\-07

## Editorial review scope

Purpose and published terms were reviewed against the cited primary sources\. This product page does not confirm execution or testing in every environment\.

Dates refer to the stated editorial review, not hands-on testing, a product update, or a recent review of all sources.
