Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

threejs-react-three-fiber

Skill by CloudAI-X

Explains how to build three.js scenes from React with React Three Fiber and drei. It is for developers writing React components that render three.js on WebGL or WebGPU.

  • Score 86
  • 4.9k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install threejs-react-three-fiber

Built from the published package, never by AI.

git clone --depth 1 https://github.com/CloudAI-X/threejs-skills /tmp/threejs-skills && mkdir -p ~/.claude/skills && cp -r /tmp/threejs-skills/skills/threejs-react-three-fiber ~/.claude/skills/threejs-react-three-fiber

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install threejs-react-three-fiber in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill gives an AI assistant guidance for building three.js scenes from React with React Three Fiber and drei. The Canvas creates and owns the renderer, scene and camera, and three.js objects become JSX elements. The skill covers Canvas props, the scene graph as JSX, frame-loop and state hooks, pointer events, and loading assets under Suspense. It also covers WebGPU with TSL.

The skill targets three.js r186, @react-three/fiber 9.8 with React 19, and @react-three/drei 10.7. Most examples use WebGLRenderer, and one section uses WebGPURenderer. It is aimed at developers who write React components that render three.js.

Written from the project's SKILL.md and checked against it.

What it can do

  • Canvas setupExplains Canvas props such as camera, dpr, shadows, frameloop, flat and gl.
  • JSX scene graphShows how three.js classes map to lowercase JSX tags, props and args.
  • useFrameCovers the render loop callback and when it should call the renderer itself.
  • useThreeReads Canvas state such as gl, camera, scene and size reactively.
  • Pointer eventsDescribes raycast handlers like onClick, onPointerOver and onPointerMissed.
  • Loading assetsCovers useLoader, useGLTF, useTexture and useProgress with Suspense.
  • WebGPU and TSLIncludes a section on WebGPURenderer and the TSL shading approach.

What you need

  • React 19
  • @react-three/fiber 9.8
  • @react-three/drei 10.7
  • three.js r186

Try asking

  • Build a React Three Fiber scene with a spinning box and orbit controls.
  • Load a GLTF model with useGLTF inside Suspense and show a loading percentage.
  • Make a 3D mesh change color on hover and log its click point using pointer events.

Good to know

  • Examples use WebGLRenderer; the WebGPU section uses WebGPURenderer.
  • Fiber 9.8 logs a three.js Clock deprecation warning on every Canvas.
  • Fiber never disposes primitives, so their lifetime is managed by the developer.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/threejs-react-three-fiber/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md29 KB

Alternatives to threejs-react-three-fiber

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

threejs-react-three-fiber: common questions

Which versions does this skill target?

It targets three.js r186, @react-three/fiber 9.8 with React 19, and @react-three/drei 10.7.

Can it be used with WebGPU?

Yes, a section covers WebGPU with TSL and uses WebGPURenderer, while most examples use WebGLRenderer.

Does it handle model loading?

It covers loading hooks such as useLoader, useGLTF and useTexture, which suspend until assets resolve.

How do I install threejs-react-three-fiber?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is threejs-react-three-fiber free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is threejs-react-three-fiber safe to use?

It scores 86 of 100. Grades: maintenance B, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to threejs-react-three-fiber?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

threejs-react-three-fiber Install

Add to stack

Loading.