Introduction

Useful helpers for @react-three/fiber

Summary

A growing collection of useful helpers and fully functional, ready-made abstractions for @react-three/fiber.

logo

Version Downloads Discord Shield Open in GitHub Codespaces

If you make a component that is generic enough to be useful to others, think about CONTRIBUTING!

npm install @react-three/drei
Important

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.