Skip to main content
Create a duplicate of a node, optionally positioning it at specific coordinates. The cloned node preserves all properties of the original including styles, fills, strokes, and children.

Parameters

string
required
The ID of the node to clone
number
New X position for the clone. If omitted, the clone will be offset from the original position.
number
New Y position for the clone. If omitted, the clone will be offset from the original position.

Response

Returns the name and ID of the cloned node, along with its position if specified.

Examples

Clone a button without positioning

Clone and position a card

Create a grid of cloned elements

Clone and offset by a specific amount

Clone multiple times for variations

Notes

  • The cloned node is an exact duplicate with all properties preserved
  • If x and y are not provided, Figma automatically offsets the clone
  • Clone includes all children if the node is a frame or group
  • Component instances remain linked to their main component when cloned
  • Use the returned ID to further modify the cloned node
  • Cloning complex nodes with many children may take longer