xd_export_component
Exports a single Adobe XD component master by symbol ID or name in the same format as an artboard, enabling component-level design handoff and asset extraction.
Instructions
Export one component master (see xd_list_components) in the same format as xd_export_artboard.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Absolute path to a .xd file | |
| depth | No | Max nesting depth. Auto-reduced if the result is too large. | |
| assetsDir | No | Optional absolute folder (inside the allowed roots). Referenced images are saved there as <imageRef>.<ext>. | |
| component | Yes | symbolId or component name |