talira

react-three-fiber

React renderer for three.js

open sourceMITfree

react-three-fiber (@react-three/fiber) is a React renderer for three.js: you build 3D scenes declaratively from reusable components that react to state, are interactive and work with the rest of the React ecosystem. Everything three.js can do works through it, components render outside React so there's no overhead, and each major version pairs with a major version of React. It's from Poimandres (pmndrs).

Problems it solves

  • build a 3D scene in React
  • use three.js with React components and state
  • add interactive 3D graphics to a React app

Features

  • declarative three.js scenes as React components
  • state-driven, interactive 3D
  • no overhead over plain three.js
  • pairs with React major versions

Alternatives

The same job

These do what react-three-fiber does.

  1. three.js JavaScript 3D library
  2. PixiJS The fastest 2D WebGL and WebGPU renderer for the web
  3. Babylon.js An open, web-based 3D rendering and game engine backed by Microsoft
  4. A-Frame Web framework for building 3D, AR and VR scenes in the browser with HTML

Compare react-three-fiber with the top 3