Declarative 3D scene building in React with React Three Fiber, a React renderer for Three.js.

CCM score
63 of 100
install copies · 90 days. Times the install command was copied on this site in the last 90 days, bots filtered.
10
skills.sh installs
4.5K
GitHub stars
1.4K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers scene setup with the Canvas component, declarative Three.js objects, the useFrame animation loop, useThree state access, and useLoader asset loading
  • Includes patterns for basic scenes, click and hover interaction, animated components, and loading GLTF models with Suspense
  • Notes that setState should never run inside useFrame because it causes unnecessary re-renders
  • Designed for interactive 3D work in React apps such as product configurators, portfolios, games, and data visualization

Install

$ npx -y skills add freshtechbro/claudedesignskills --skill react-three-fiber -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

React Three Fiber

Overview

React Three Fiber (R3F) is a React renderer for Three.js that brings declarative, component-based 3D development to React applications. Instead of imperatively creating and managing Three.js objects, you build 3D scenes using JSX components that map directly to Three.js objects.

When to Use This Skill:

  • Building 3D experiences within React applications
  • Creating interactive product configurators or showcases
  • Developing 3D portfolios, galleries, or storytelling experiences
  • Building games or simulations in React
  • Adding 3D elements to existing React projects
  • When you need state management and React hooks with 3D graphics
  • When working with React frameworks (Next.js, Gatsby, Remix)

Key Benefits:

  • Declarative: Write 3D scenes like React components
  • React Integration: Full access to hooks, context, state management
  • Reusability: Create and share 3D component libraries
  • Performance: Automatic render optimization and reconciliation
  • Ecosystem: Works with Drei helpers, Zustand, Framer Motion, etc.
  • TypeScript Support: Full type safety for Three.js objects

Core Concepts

1. Canvas Component

Details

Repository
github.com/freshtechbro/claudedesignskills
Categories
3D, CAD & Modeling, Frontend & UI Code
First seen
May 16, 2026

More from freshtechbro/claudedesignskills

All 22

Similar to React Three Fiber

More 3D, CAD & Modeling