pmndrs/drei

🥉 useful helpers for react-three-fiber

View on GitHub ↗Jump to charts ↓Open shareable report →

Data as of . Signed-in members get hourly updates — create a free account.

Summary Information

Updated 34 minutes ago
Added to GitGenius on June 30th, 2026
Created on April 26th, 2020
Open Issues & Pull Requests: 125 (+0)
GitHub issues: Enabled
Number of forks: 843
Total Stargazers: 9,913 (+0)
Total Subscribers: 55 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 10.1 days
Mean response time: 86.4 days
90th percentile: 286.8 days
Tracked items: 488

Maintainer activity

4 people did triage or write work on this repository in the last 12 months.

Counts unlabeled, assigned, unassigned, milestoned, demilestoned, locked, unlocked over the last 12 months. These are issue and pull request events that require triage or write permission. Commits and code review are not counted. labeled and renamed are excluded because GitHub issue forms record the issue author as the actor. Figures from October 7, 2026. This count is not comparable across projects: each project's automation decides which of these events a person emits.

How this project is maintained

Roughly one issue in four opened in the past year never receives a reply. 45% of open issues come from outside the core team, a mix of external reports and the maintainers' own roadmap. Work labelled "agent-ok" is answered fastest, typically in about 3 hours, while "needs reproduction" waits about 5 months. 11% of tracked open issues have had no activity in three months. Only 41% of issues opened in the past year have been closed.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 80
New in 7 days: 1
Closed in 7 days: 0
Avg open age: 266 days
Stale 30+ days: 74
Stale 90+ days: 8

Recent activity

Opened in 7 days: 1
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • bug (410)
  • Stale (367)
  • enhancement (116)
  • v11 (115)
  • question (70)
  • webgpu (36)
  • released on @alpha (19)
  • released (17)

Most active issues this week

Sign in to see which issues are moving.
Sign in

Detailed Description

Drei is a comprehensive collection of useful helpers and ready-made abstractions built for react-three-fiber, a React renderer for Three.js. The library provides developers with pre-built components and hooks that accelerate 3D web development by eliminating the need to create common functionality from scratch. The project is maintained by the Poimandres collective and serves as a growing ecosystem of reusable 3D components designed to be generic enough for broad utility across different projects.

The library is organized into several major categories of functionality. Camera utilities include PerspectiveCamera, OrthographicCamera, and CubeCamera components. Control systems encompass a wide range of options such as CameraControls, FlyControls, MapControls, TrackballControls, ArcballControls, PointerLockControls, and ScrollControls, allowing developers to implement various camera interaction patterns. Gizmos and manipulation tools include GizmoHelper, PivotControls, DragControls, TransformControls, and Grid components for scene editing and visualization. The library also provides numerous abstractions for common 3D tasks including Text, Text3D, Billboard, PositionalAudio, Effects, Edges, Outlines, Trail, and Clone components.

Drei includes specialized shader materials such as MeshReflectorMaterial, MeshWobbleMaterial, MeshDistortMaterial, MeshRefractionMaterial, and MeshTransmissionMaterial that enable advanced visual effects. The library offers extensive loading capabilities through hooks like useGLTF, useFBX, useTexture, useFont, and useVideoTexture, streamlining asset management. Performance optimization features include Instances, Merged, Points, Segments, Detailed, BakeShadows, AdaptiveDpr, and a Bvh component for efficient scene rendering.

Staging and environment utilities provide components for scene setup including Center, Bounds, Environment, Lightformer, Sky, Stars, Sparkles, Cloud, ContactShadows, and AccumulativeShadows. Portal and rendering utilities like Hud, View, RenderTexture, and MeshPortalMaterial enable advanced rendering techniques. The library includes a comprehensive set of geometric shapes from basic primitives like Plane, Box, and Sphere to more complex forms like RoundedBox, Line variants, and Facemesh.

The repository uses the standalone three-stdlib package instead of Three.js examples, and provides separate export routes for web and React Native environments, with the native route excluding Html and Loader components. Complete documentation is available at pmndrs.github.io/drei, and the project actively encourages community contributions of generic, reusable components.