3dsvg-interactive-react — Claude Code skill: SVG to 3D React
Turns SVGs and text into interactive 3D React components with the 3dsvg library. Useful for a dimensional logo or hero badge.
npx skills add reason-machines/trending-skills --skill 3dsvg-interactive-react -a claude-codeWhat 3dsvg-interactive-react 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.
What it helps with
- 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 for the agent
- 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
How to install 3dsvg-interactive-react
1Skills CLI (Vercel)
npx skills add reason-machines/trending-skills --skill 3dsvg-interactive-react -a claude-code2Manually: put the files in place
~/.claude/skills/3dsvg-interactive-react/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/3dsvg-interactive-react/
1Skills CLI (Vercel)
npx skills add reason-machines/trending-skills --skill 3dsvg-interactive-react -a codex2Manually: put the files in place
.agents/skills/3dsvg-interactive-react/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add reason-machines/trending-skills --skill 3dsvg-interactive-react -a cursor2Manually: put the files in place
.cursor/skills/3dsvg-interactive-react/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install reason-machines/trending-skills 3dsvg-interactive-react2Manually: put the files in place
.github/skills/3dsvg-interactive-react/SKILL.md1Skills CLI (Vercel)
npx skills add reason-machines/trending-skills --skill 3dsvg-interactive-react -a gemini-cli2Platform CLI
gemini skills install https://github.com/reason-machines/trending-skills --path skills/3dsvg-interactive-reactManually: put the files in place
.devin/skills/3dsvg-interactive-react/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add reason-machines/trending-skills --skill 3dsvg-interactive-react -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about 3dsvg-interactive-react
How do I install 3dsvg-interactive-react in Claude?
Run npx skills add reason-machines/trending-skills --skill 3dsvg-interactive-react -a claude-code. The skill lands in ~/.claude/skills/3dsvg-interactive-react/SKILL.md.
What does 3dsvg-interactive-react do?
It guides the agent through building interactive 3D React components from SVG or text using the 3dsvg library and Three.js.
What do I need installed for 3dsvg to work?
The 3dsvg package plus the peer dependencies three, @react-three/fiber and @react-three/drei.