# 3dsvg-interactive-react

Turns SVGs and text into interactive 3D React components with the 3dsvg library. Useful for a dimensional logo or hero badge.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 529 installs · ★ 88
- Author: reason-machines
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/reason-machines/trending-skills/tree/HEAD/skills/3dsvg-interactive-react/SKILL.md
- Updated: 2026-10-09
- HTML: https://affpapa.org/en/nevibecode/skills/3dsvg-interactive-react

## What it does

The skill tells your agent how to build an `<SVG3D>` component from the `3dsvg` package. Under the hood it extrudes flat SVG paths into depth, applies a material preset such as `chrome`, `gold` or `holographic`, and attaches an animation like `spin`, `float` or `pulse`.

The component takes a text string, a path to an SVG file, or inline markup. Geometry and lighting come through props: `depth`, `bevelEnabled`, `ambientIntensity`, `keyLightIntensity`, `shadows`. Camera behaviour is set with `zoom` and `autoRotate`.

Because it pulls in Three.js and React Three Fiber, a Next.js app has to load it through a dynamic import with `ssr: false` — otherwise the build breaks during server rendering. Install the peer dependencies `three`, `@react-three/fiber` and `@react-three/drei` first.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/trending-skills --skill 3dsvg-interactive-react -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/3dsvg-interactive-react/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/3dsvg-interactive-react/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/trending-skills --skill 3dsvg-interactive-react -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/3dsvg-interactive-react/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/trending-skills --skill 3dsvg-interactive-react -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/3dsvg-interactive-react/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install reason-machines/trending-skills 3dsvg-interactive-react
```

2. **Manually: put the files in place**
- File: `.github/skills/3dsvg-interactive-react/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/trending-skills --skill 3dsvg-interactive-react -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/reason-machines/trending-skills --path skills/3dsvg-interactive-react
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/3dsvg-interactive-react/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add reason-machines/trending-skills --skill 3dsvg-interactive-react -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/reason-machines/trending-skills/tree/HEAD/skills/3dsvg-interactive-react/SKILL.md

## When to use it
- extrude a flat logo into a 3D component
- add rotation to hero text
- render a static 3D product icon with no animation
- match a brand look using built-in material presets
- embed a 3D model in a React app

## Example prompts
- turn /logo.svg into a spinning 3D component with 3dsvg
- give the LAUNCH text a spin animation and chrome material
- wire 3dsvg into Next.js without breaking SSR

## Similar
- [react-three-fiber](https://affpapa.org/en/nevibecode/skills/react-three-fiber.md) — skill · 3800 installs
- [spline-interactive](https://affpapa.org/en/nevibecode/skills/spline-interactive.md) — skill · 2800 installs
- [r3f-loaders](https://affpapa.org/en/nevibecode/skills/r3f-loaders.md) — skill · 1800 installs
- [threejs-r3f](https://affpapa.org/en/nevibecode/skills/threejs-r3f.md) — skill · 1000 installs
- [threejs-react-three-fiber](https://affpapa.org/en/nevibecode/skills/threejs-react-three-fiber.md) — skill · 1300 installs
- [build-interactive-particle-trail](https://affpapa.org/en/nevibecode/skills/build-interactive-particle-trail.md) — skill · 1100 installs

From the same set: [reason-machines/trending-skills](https://affpapa.org/en/nevibecode/by/reason-machines/trending-skills.md) — 49 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
