Drei

Drei (@react-three/drei) is the helper library for React Three Fiber with ready-made 3D components: orbit controls, environment lighting, text, HTML overlays, model and texture loaders, instancing and performance tools. Use when someone asks to "add OrbitControls", "load a GLTF model in React Three Fiber", "add an HDR environment", "put HTML labels in a 3D scene", "render 3D text", or "speed up a three.js scene in React".

213 stars 34 forksFrontend & Design

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add TerminalSkills/skills --skill drei
Manual install
git clone --depth 1 https://github.com/TerminalSkills/skills.git /tmp/skills
mkdir -p ~/.claude/skills
cp -r /tmp/skills/skills/drei ~/.claude/skills/drei

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# Drei — Essential Helpers for React Three Fiber

## Overview

Drei is the companion library of React Three Fiber (R3F). It adds controls, environment and lighting helpers, text, HTML in 3D, loaders and performance utilities as components and hooks, so you skip the Three.js plumbing. Checked against `@react-three/drei` 10.7.9 and `@react-three/fiber` 9.8.2: drei 10 needs React 19 and fiber 9; for React 18 and fiber 8 stay on drei 9.

## Instructions

### Install

```bash
npm install three @react-three/fiber @react-three/drei
npm install -D @types/three
```

Every drei component must render inside a fiber `<Canvas>`. Components that load files (`useGLTF`, `useTexture`, `Environment`, `Text`) suspend, so wrap the scene in `<Suspense>`.

```tsx
import { Canvas } from "@react-three/fiber";
import { Suspense } from "react";
import { Environment, OrbitControls, useGLTF } from "@react-three/drei";

function Sneaker() {
  const { scene } = useGLTF("/models/sneaker.glb");
  return <primitive object={scene} />;
}

export default function Viewer() {
  return (
    <Canvas camera={{ position: [0, 1, 4], fov: 45 }}>
      <Suspense fallback={null}>
        <Sneaker />
        <Environment preset="studio" />
      </Suspense>
      <OrbitControls makeDefault enablePan={false} />
    </Canvas>
  );
}
```

### Components by task

#### Controls
Read the full skill on GitHub

Details

Skill name
drei
Path
skills/drei/SKILL.md
License
Apache-2.0
Repo updated
8 November 2026

FAQ

What does the Drei skill do?

Drei (@react-three/drei) is the helper library for React Three Fiber with ready-made 3D components: orbit controls, environment lighting, text, HTML overlays, model and texture loaders, instancing and performance tools. Use when someone asks to "add OrbitControls", "load a GLTF model in React Three Fiber", "add an HDR environment", "put HTML labels in a 3D scene", "render 3D text", or "speed up a three.js scene in React".

How do I install the Drei skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add TerminalSkills/skills --skill drei. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Drei popular?

It lives in TerminalSkills/skills, which has 213 GitHub stars and 34 forks.

Related skills

3dsmax Rendering

213

TerminalSkills/skills

Scripts and configures production rendering in Autodesk 3ds Max with the V-Ray and Corona renderers: output size and files, render elements, denoising, light mix, batch and command-line rendering, and network rendering. Use when a user asks to set up a production render, render several cameras in one batch, render from the command line or on a render farm, add render passes for compositing, or cut render time for archviz and product shots.

Other34

3dsmax Scripting

213

TerminalSkills/skills

Covers scripting Autodesk 3ds Max, the 3D modeling and rendering application, with MAXScript and Python (pymxs): scene manipulation, object creation, material assignment, camera and light setup, batch operations, and file I/O. Use when tasks involve automating repetitive 3ds Max workflows, batch processing scenes, running scripts headless with 3dsmaxbatch, creating custom tools, or scripting scene setup for archviz, product visualization, or VFX.

Productivity & Notes34

3proxy

213

TerminalSkills/skills

3proxy is a small open-source proxy server that runs HTTP/HTTPS, SOCKS4/5, SNI and TCP/UDP port-mapping proxies from one config file. Use when a user asks to set up an HTTP or SOCKS5 proxy, add proxy users and passwords, write 3proxy access rules, chain or rotate upstream (parent) proxies, limit bandwidth, connections or monthly traffic per user, run 3proxy in Docker, or fix a 3proxy.cfg that will not start.

DevOps & Cloud34

Emil Design Eng

100

adriannoes/awesome-agentic-ai

This skill encodes Emil Kowalski's philosophy on UI polish, component design, animation decisions, and the invisible details that make software feel great.

Frontend & DesignIn 2 lists27

Design Md

213

TerminalSkills/skills

Use DESIGN.md files to give AI agents a complete design system in plain text. Drop a DESIGN.md into your project root and any AI coding agent generates consistent, pixel-perfect UI matching that design. Use when: building UI with AI agents, maintaining design consistency across AI-generated components, recreating the look of existing websites.

Frontend & Design34

Estimation Fermi

200

lyndonkl/claude

Decomposes complex unknowns into estimable components to produce rapid order-of-magnitude answers with bounded uncertainty. Use when making quick estimates (market sizing, resource planning, feasibility checks), bounding unknowns with upper/lower limits, sanity-checking strategic assumptions, or when user mentions Fermi estimation, back-of-envelope calculation, order of magnitude, ballpark estimate, or triangulation.

Frontend & Design25

Browse the most popular Claude skills, all frontend & design skills, or write your own with the skills generator.