react-three-fiber

Generate declarative 3D scenes from JSON specifications using React Three Fiber components.

Updated Jun 24, 2026
One-click install
npx skills add https://github.com/hasna/render --skill react-three-fiber-hasna
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: react-three-fiber
Source: https://github.com/hasna/render/tree/main/skills/react-three-fiber
Command: npx skills add https://github.com/hasna/render --skill react-three-fiber-hasna

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill eliminates the need to manually write boilerplate React Three Fiber code to render 3D scenes, letting you build interactive 3D UI elements declaratively from JSON specs within the json-render Generative UI framework.

Core Features & Use Cases

  • Pre-built 3D Component Library: 19 ready-to-use components including primitives, lights, helpers, and controls for rapid scene development.
  • Declarative JSON Spec Support: Define 3D scenes using the standard json-render flat element format for predictable, guardrailed output that integrates seamlessly with 2D UI components.
  • Use Case: Build an interactive 3D product preview for an e-commerce dashboard, or add immersive 3D data visualizations to a json-render-powered analytics app.

Quick Start

Use the react-three-fiber skill to render a 3D scene with a blue box and ambient light from a provided JSON spec.

Frequently Asked Questions about react-three-fiber

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I render 3D scenes from JSON in a React application?

You can render 3D scenes from JSON specifications declaratively using React Three Fiber within the json-render Generative UI framework. This eliminates manual R3F boilerplate by mapping JSON specs to pre-built 3D components.

Can I build interactive 3D product previews without writing React Three Fiber boilerplate?

Yes, you can build interactive 3D product previews without manual boilerplate by defining your scene declaratively through JSON specs. The skill provides 19 ready-to-use components including primitives, lights, and controls.

Does the react-three-fiber skill work with the json-render Generative UI framework?

Yes, the react-three-fiber skill integrates with the json-render Generative UI framework. It uses the standard json-render flat element format to ensure predictable, guardrailed output that mixes with 2D UI components.

How do I extend the 3D component catalog for custom React Three Fiber objects?

You can extend the 3D component catalog by using the provided reusable Zod schemas for 3D component props, material definitions, and R3F renderer integration to add custom objects to your declarative JSON scenes.

What is declarative 3D scene generation from JSON specifications?

Declarative 3D scene generation from JSON specifications is the process of defining 3D primitives, lights, and controls in a structured JSON format rather than writing imperative React Three Fiber code. This enables rapid scene development and predictable UI integration.