Pmndrs.docs

Introduction

logo

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.