figma_import_component_by_key
Import a published Figma component by its library key and create an instance in the current design. For team library components only; use clone for external libraries.
Instructions
Import a published component by its library key and create an instance. Get keys from figma_get_components with source='file'. IMPORTANT: This only works for components published within the same Figma team library. For external/linked design system libraries, use figma_clone_node to clone an existing instance from the canvas instead. Run figma_get_components with source='library' first to check what's available.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| name | No | ||
| parentId | No | ||
| componentKey | Yes | The component key (also accepted as 'key' in batch mode) |