export_svg
Convert a specific Figma node to SVG, optionally saving it to disk with custom scale and filename. Use it to extract vector assets from Figma designs for web projects.
Instructions
Export a specific Figma node as SVG and optionally save it
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| save | No | Whether to save the SVG to disk (default: false) | |
| scale | No | Scale factor for export (default: 1) | |
| fileId | Yes | Figma file ID | |
| nodeId | Yes | Node ID to export as SVG | |
| fileName | No | Custom filename for saved SVG (optional) | |
| outputDir | No | Output directory for saved SVGs (default: ./exported-svgs) | ./exported-svgs |