Skip to content
Development
Skill

/figma-3d-transforms

Add or edit 3D transforms — depth, perspective, z-axis rotation, tilt, isometric, and parallax looks that flat 2D rotation cannot express. Use whenever a request reaches into the third dimension — "make it 3D", "add depth/perspective", "tilt/rotate it back", "z-plane",

From plugin
figma
2.2k17 skills1 MCP

Claude Code

$ npx -y skills add figma/mcp-server-guide --skill figma-3d-transforms --agent claude-code

SKILL.md

figma-3d-transforms.SKILL.md
name: figma-3d-transforms
disable-model-invocation: false
description: 'Add or edit 3D transforms — depth, perspective, z-axis rotation, tilt, isometric, and parallax looks that flat 2D rotation cannot express. Use whenever a request reaches into the third dimension — "make it 3D", "add depth/perspective", "tilt/rotate it back", "z-plane", "isometric", "flip it like a card", "parallax", "vanishing point", "receding into the distance", "make it pop out".'

Adding / editing 3D transforms

Use this skill when a request needs the third dimension and plain 2D rotation can't express it: perspective, depth, z-axis tilt, isometric layouts, card flips, parallax stacks, "make it pop out of the screen."

Not this skill:

  • Flat, in-plane rotation → set the node's 2D `rotation` instead; there's nothing 3D about it.

Animating 3D transforms

A request may implicitly be a motion task. Assume it isn't unless the context suggests otherwise, the language describes a quality of movement ("smoothly flips", "gently sways"), or the field being changed is already keyframed. These are pointers; use the context you have. For a motion task, set the pose with this skill and keyframe it with `figma-use-motion`; don't deliver static poses or "state" frames in place of an animation.

Keyframes override static 3D fields during playback, so before changing a node's `transform3d` or a container's `scene3d.perspective`, use `use_figma` to read `manualKeyframeTracks` and `animationStyles` on the node whose field you change. Edit keyframes on the fields being changed; other tracks (e.g. opacity) don't require animating the pose. If `manualKeyframeTracks` is `undefined`, Motion is unavailable: make static edits, and tell the user animation isn't available if the request needs it.

Runtime

Load `figma-use` before calling `use_figma` and follow its file context, node-creation, output, and verification rules. Include both skill names in `skillNames`, prefixing each with `resource:` when loaded through MCP resources. The recipes illustrate raw Plugin API geometry; adapt node creation to the workflow required by `figma-use` and apply poses after that workflow has materialized the nodes. Execute the Plugin API examples in the target file with `use_figma`.

3D APIs depend on the calling user's feature availability. If `transform3d` is unavailable, stop and explain that 3D transforms are not enabled in this session. Do not retry unsupported APIs or substitute a flat illustration without the user's agreement.

User-facing language

  • Talk in plain terms: "adding perspective", "tilting it back", "giving the scene depth". Don't name these fields or the plugin API to the user, and don't surface raw error text.
  • Give brief progress updates ("Setting up the 3D scene…", "Tilting the cards…", "Checking the result…").
  • For ambiguous styling, make a tasteful change; for ambiguous perspective, follow the decision rules below.

The three fields

| Field | Lives on | Role | |---|---|---| | `node.transform3d` | any node | the per-element 3D pose | | `node.scene3d` | FRAME / COMPONENT / INSTANCE only | a shared 3D space for the container's children | | `node.transformOrigin` | any node | the pivot point the pose rotates around |

transform3d — the per-element pose

Write shape: `{ type: 'FIXED_ORDER', translateZ, rotateX, rotateY, rotateZ, backfaceVisible?, visible? }`

  • `translateZ` and all three `rotate*` are **required** on write; `backfaceVisible` and `visible` are optional and default to `true`.
  • **There is no per-element `perspective`** — it is not part of this shape, and passing it throws. All perspective lives on the container via `scene3d`.
  • Rotations are in **degrees**. The fields compose like CSS `transform: translateZ() rotateX() rotateY() rotateZ()`: the node is rotated first (Z, then Y, then X) and `translateZ` is applied last, along the **parent's** Z axis, not the direction the node faces. So a rotation plus `translateZ` on one node never pushes it out along its rotated normal; for that, rotate a wrapper instead (see the [carousel recipe](references/carousels.md)).
  • **There is no X or Y translation** — `transform3d` only translates along Z. To move a node horizontally or vertically, set the node's own position (`node.x` / `node.y`); don't reach for a transform. So a scene of several children at different X/Y spots is built by positioning each node, then applying `transform3d` for depth/rotation on top.
  • Assigning `transform3d` **replaces the entire object** — omitting `backfaceVisible` or `visible` resets them to `true`. To change one axis, read the current value, spread it, and write the whole object back.
  • `{ type: 'NONE' }` clears the 3D transform.
  • The write is strict — extra keys are rejected.
  • Reads may return `type: 'FREEFORM'` on nodes imported from CSS / `matrix3d`. FREEFORM is **read-only**: you can detect it but cannot author it. Write a `FIXED_ORDER` object instead (it overwrites the freeform one).

scene3d — the shared 3D space (containers only)

Write shape: `{ perspective, preserve3d, visible? }` on a FRAME / COMPONENT / INSTANCE.

  • `perspective` and `preserve3d` are both **required** on write; `visible` is optional and defaults to `true`.
  • `preserve3d: true` = children share one 3D space and can overlap in depth (like CSS `preserve-3d`). `preserve3d: false` (the default — a container opts in) = children are projected flat onto the container's plane.
  • Reads return `null` when unconfigured — and an all-default scene reads back as `null`, so don't treat `null` as an error.
  • Writing `null`/`undefined` clears it. On an INSTANCE, that opts the instance out of the backing component's scene.

transformOrigin — the pivot

Write shape: `{ x: { unit, value }, y: { unit, value } }`, where `unit` is `'PERCENT'` (50 = center) or `'PIXELS'`.

  • Defaults to centered (50% / 50%); reads return that default when unset. There is no way to reset it back to "unset" through the API.

Setting p

Read more
@figma
Ships withfigma

The Figma MCP server brings Figma directly into your workflow by providing important design information and context to AI agents generating code from Figma design files. For the complete set of Figma MCP server docs, see our developer documentation.

2.2k17 skills1 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
2.2k
Star history of figma/mcp-server-guide on GitHub, a chart by star-history.com

Other skills on figma.

figma-code-connect

figma-code-connect

Creates and maintains Figma Code Connect template files that map Figma components to code snippets. Use when the user mentions…

@figma@figmaInstall Skill
figma-code-workflows

figma-code-workflows

Import or upload local HTML or project files into Figma, choose editable Design frames, runnable Code Layers or standalone Code…

@figma@figmaInstall Skill
figma-create-new-file

figma-create-new-file

Always use this skill when the user wants to create a new Figma Design, FigJam, or Slides file. You MUST invoke this skill BEFORE…

@figma@figmaInstall Skill
figma-design-to-code

figma-design-to-code

**MANDATORY prerequisite** — you MUST invoke this skill BEFORE calling the `get_design_context` Figma MCP tool. You MUST trigger…

@figma@figmaInstall Skill
figma-generate-design

figma-generate-design

Use this skill alongside figma-use when the task involves translating an application page, view, or multi-section layout into…

@figma@figmaInstall Skill
figma-generate-diagram

figma-generate-diagram

MANDATORY prerequisite — load this skill BEFORE every `generate_diagram` tool call. NEVER call `generate_diagram` directly…

@figma@figmaInstall Skill

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills2w309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc2w293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react9d252k
@facebook@facebookInstall Skill

Questions about figma-3d-transforms.

Which coding agents can use figma-3d-transforms?
figma-3d-transforms installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.