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

react-three-fiber

Skill by vercel-labs

Renders 3D scenes from json-render JSON specs using React Three Fiber. It offers 19 built-in components for meshes, lights, models and environments. Aimed at developers integrating Three.js with json-render catalogs.

  • Score 91
  • 20k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install react-three-fiber

Built from the published package, never by AI.

git clone --depth 1 https://github.com/vercel-labs/json-render /tmp/json-render && mkdir -p ~/.claude/skills && cp -r /tmp/json-render/skills/react-three-fiber ~/.claude/skills/react-three-fiber

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

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

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

About

This skill covers @json-render/react-three-fiber, a React Three Fiber renderer for json-render. It provides 19 built-in 3D components, grouped as primitives, lights and other items such as Model, Environment, Fog and OrbitControls. Components are picked from a catalog and matched to registry implementations.

Specs use the standard json-render flat element format, with a root key and an elements map. They render through ThreeCanvas or a manual R3F Canvas wrapping ThreeRenderer. The skill also documents shared Zod schemas for custom catalogs, a material schema, and peer dependencies. The catalog entry point has no R3F dependency and is safe for server use. It is aimed at developers building 3D scenes from JSON specs with Three.js.

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

What it can do

  • Catalog definitionsPicks 3D component definitions from threeComponentDefinitions for a json-render catalog.
  • Registry implementationsMatches catalog entries to threeComponents implementations using defineRegistry.
  • ThreeCanvas wrapperRenders a spec with the ThreeCanvas component, supporting shadows, camera and style props.
  • Manual Canvas setupPlaces ThreeRenderer inside an R3F Canvas so extra R3F elements can be added.
  • PrimitivesBox, Sphere, Cylinder, Cone, Torus, Plane and Capsule meshes with a shared material prop.
  • LightsAmbientLight, DirectionalLight, PointLight and SpotLight with color and intensity props.
  • Scene componentsGroup, Model (GLTF/GLB via url), Environment, Fog, GridHelper, Text3D, PerspectiveCamera and OrbitControls.
  • Shared schemasExports vector3Schema, materialSchema, transformProps and shadowProps for custom 3D catalog definitions.

What you need

  • @react-three/fiber 8.0.0 or newer
  • @react-three/drei 9.0.0 or newer
  • three 0.160.0 or newer
  • react ^19.0.0
  • zod ^4.0.0

Try asking

  • Build a 3D scene from this JSON spec with a box, lights and orbit controls.
  • Create a json-render catalog with Box, Sphere and DirectionalLight 3D components.
  • Add a GLB model and an HDRI environment to my json-render 3D scene.

Good to know

  • Covers 19 built-in 3D components only.
  • Custom 3D components need their own catalog definitions.

Security check

A

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

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

Inside the skill

  • SKILL.md5 KB

Alternatives to react-three-fiber

All alternatives →
paperbananadwzhu-pku
94

PaperBanana generates publication-quality academic diagrams from a paper's methodology text and figure caption. It is aimed at researchers preparing figures for venues such as NeurIPS, ICML, and ACL.

AAA Skill 7.7k
technical-wireframe-info-layoutMengTo
94

Creates a monochrome technical wireframe design system for dark diagnostic interfaces. It covers layout, typography, info labels, widgets and an exploded wireframe centerpiece. It is for designers and developers building teardown, systems dashboard or specification-style screens.

AAA Skill 8.5k
spline-3d-integrationsickn33
94

Guides an AI assistant through embedding interactive Spline.design 3D scenes in web projects. It covers vanilla, React, Next.js, Vue and iframe setups, for developers adding 3D to websites.

AAA Skill 50k
code-slice-heroheygen-com
94

Code Slice Hero is a HyperFrames headline block. A tiled surface flips cell by cell to reveal a second headline behind the first, at 1920×1080 and 8 seconds.

AAA Skill 92k
patentfigdavila7
94

Generates patent-office-compliant figures and converts drawings through the PatentFig AI API. Built for patent filers who need USPTO or EPO line art, CAD-ready vectors, or filing-ready TIFF, PDF, or PNG files.

AAA Skill 34k
framed-tech-dark-border-gradientMengTo
94

Creates a framed dark technical design system for AI assistants, using border-gradient shells, asymmetrical grid panels, and mono labels. Suited to premium, instrument-like interfaces that need visible boundaries. Published by MengTo.

AAA Skill 8.5k

Compare with paperbanana, technical-wireframe-info-layout or spline-3d-integration

react-three-fiber: common questions

Does this work on the server?

The catalog entry point, @json-render/react-three-fiber/catalog, has no React Three Fiber dependency and is described as safe for server use. The main entry point contains the R3F implementations.

What material properties can I set on a 3D object?

The material schema includes color, metalness, roughness, emissive, emissiveIntensity, opacity, transparent and wireframe. Each has a default value stated in the source.

Can I create my own 3D components?

Yes. The skill shows a custom component definition built from shared schemas such as transformProps, shadowProps and materialSchema, using Zod.

How do I install react-three-fiber?

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

Is react-three-fiber free?

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

Is react-three-fiber safe to use?

It scores 91 of 100. Grades: maintenance A, 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 react-three-fiber?

Similar skills: paperbanana, technical-wireframe-info-layout, spline-3d-integration, code-slice-hero.

react-three-fiber Install

Add to stack

Loading.