figma_instantiate_component
Create a component instance from a library or local component using its key, then apply property overrides with setProperties to avoid modifying text directly.
Instructions
Create a component instance. Use componentKey from figma_search_components, figma_search_assets, or REST API. Supports library components (importComponentByKeyAsync) and local components (by nodeId). After creation: use overrides with setProperties({...}) for component properties — do NOT use findAll(TEXT) to modify instance text.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| componentKey | Yes | ||
| options | No |