import_component_by_key
Import a library component into the current Figma file using its componentKey, and optionally rename the main component.
Instructions
Import a library component into the current file using its componentKey. Optionally rename the imported main component.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New name for the imported main component. | |
| componentKey | Yes |