Skip to main content
Question

Figma MCP: Icon component instances not respecting scaled dimensions in generated code

  • February 26, 2026
  • 0 replies
  • 7 views

jordi_colomer_eusebio

I'm using the Figma MCP to generate code from designs that use icon components from a design system. The icons are 24x24 in the design system, but I'm scaling instances down to 16x16 and 20x20 for different use cases in my design.

When the MCP generates code, it ignores the scaled instance sizes and always outputs icons at 24x24 (the original component size), rather than respecting the actual dimensions in the design.

Has anyone encountered this, or is there a workaround I'm missing?