Plumb · assets
plumb_assetsExport Figma assets as SVG icons and PNG images via a paired plugin. Supports default, list, and surgical modes for targeted or broad exports.
Instructions
Export Figma assets — icons as SVG, images as PNG — through the paired plugin. Three modes:
• Default — id or name of a screen → recursive export of every asset in it, written to a local folder.
• List — same + list: true → just the manifest (id, name, format, parentId) of available assets; no files written. Cheap; use first to see what's there.
• Surgical — ids: [...] → export exactly those node ids (one file each, no recursion). Preferred once you know what you need.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Screen/node id to scope the export to. | |
| ids | No | Surgical — export exactly these node ids (one each, no recursion). | |
| raw | No | For nodes with IMAGE fills, export the original uploaded bytes (JPG/PNG/GIF/WEBP) via getImageByHash, instead of a 2× rasterised PNG render. Other nodes (icons, vectors) export the same as default. | |
| list | No | Manifest only — return id/name/format/parentId per candidate; no file writes. | |
| name | No | Screen name — resolved against the file. | |
| inline | No | Return asset bytes inline on each row: SVGs as raw markup, bitmaps under 64KB as a data: URI. Useful for dropping SVG icons straight into JSX without re-reading from disk. Files are still written; this is additive. |