Code Connect 1.4.0
figma.slot() to map Figma slot layer properties in Code Connect files.figma connect migrate..figma.js instead of .figma.template.js. The old .figma.template.js extension is still fully supported for backwards compatibility.--include-template-files flag. Template files (.figma.js and .figma.template.js) are now always included when detected.instance.getSlot(name) in templates to reference "slot" properties.component and source comment fields (e.g., // component=Button)Fetched March 31, 2026