Gathering detailed insights and metrics for @react-three/drei
Gathering detailed insights and metrics for @react-three/drei
Gathering detailed insights and metrics for @react-three/drei
Gathering detailed insights and metrics for @react-three/drei
drei
useful add-ons for react-three-fiber
threed-garden
ThreeD Garden: WebGL 3D Environment Interface for Next.JS React TypeScript Three.JS React-Three Physics, 2D Paper.JS; APIs: Apollo GraphQL, WordPress; CSS: Tailwind, Radix-UI; Libraries: FarmBot 3D; AI: OpenAI, DeepSeek
@sonhaaa/test-playground
Experiment components built on top of @react-three/fiber
gaesup-world
Web 3D Character Controller and World Platform Library
🥉 useful helpers for react-three-fiber
npm install @react-three/drei
Typescript
Module System
Node Version
NPM Version
84.7
Supply Chain
83.3
Quality
96.8
Maintenance
100
Vulnerability
98.9
License
JavaScript (59.25%)
TypeScript (40.54%)
Shell (0.17%)
HTML (0.02%)
CSS (0.01%)
GLSL (0.01%)
Total Downloads
30,199,093
Last Day
29,404
Last Week
452,786
Last Month
1,911,548
Last Year
14,995,614
MIT License
9,027 Stars
2,211 Commits
757 Forks
49 Watchers
85 Branches
255 Contributors
Updated on Jul 01, 2025
Minified
Minified + Gzipped
Latest Version
10.3.0
Package Id
@react-three/drei@10.3.0
Unpacked Size
1.67 MB
Size
460.44 kB
File Count
482
NPM Version
10.9.0
Node Version
22.9.0
Published on
Jun 15, 2025
Cumulative downloads
Total Downloads
Last Day
-30.2%
29,404
Compared to previous day
Last Week
-12.6%
452,786
Compared to previous week
Last Month
10.8%
1,911,548
Compared to previous month
Last Year
77.6%
14,995,614
Compared to previous year
21
4
A growing collection of useful helpers and fully functional, ready-made abstractions for @react-three/fiber.
If you make a component that is generic enough to be useful to others, think about CONTRIBUTING!
1npm install @react-three/drei
[!IMPORTANT] this package is using the stand-alone
three-stdlib
instead ofthree/examples/jsm
.
1import { PerspectiveCamera, PositionalAudio, ... } from '@react-three/drei'
1import { 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
.
[!WARNING] Below is an archive of the anchors links with their new respective locations to the documentation website. Do not update the links below, they are for reference only.
1$ corepack enable 2$ yarn install
Pre-requisites:
1$ npx playwright install
To run visual tests locally:
1$ yarn build 2$ yarn test
To update a snapshot:
1$ PLAYWRIGHT_UPDATE_SNAPSHOTS=1 yarn test
[!IMPORTANT] Snapshots are system-dependent, so to run playwright in the same environment as the CI:
1$ docker run --init --rm \ 2 -v $(pwd):/app -w /app \ 3 ghcr.io/pmndrs/playwright:drei \ 4 sh -c "corepack enable && yarn install && yarn build && yarn test"
To update a snapshot:
1$ docker run --init --rm \ 2 -v $(pwd):/app -w /app \ 3 -e PLAYWRIGHT_UPDATE_SNAPSHOTS=1 \ 4 ghcr.io/pmndrs/playwright:drei \ 5 sh -c "corepack enable && yarn install && yarn build && yarn test"
No vulnerabilities found.
Reason
14 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
binaries present in source code
Details
Reason
Found 13/29 approved changesets -- score normalized to 4
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
project is not fuzzed
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
17 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-06-23
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More