Introduction
A growing collection of useful helpers and abstractions for react-three-fiber.
npm install @react-three/drei
š this package is using the stand-alone three-stdlib
instead of three/examples/jsm
. š
Basic usage:
import { PerspectiveCamera, PositionalAudio, ... } from '@react-three/drei'
React-native:
import { PerspectiveCamera, PositionalAudio, ... } from '@react-three/drei/native'
The native
route of the library does not export Html
or Loader
. The default export of the library is web
which does export Html
and Loader
.