Skip to content

v1.7.0

Choose a tag to compare

@irshadio irshadio released this 09 Nov 05:25
· 10 commits to main since this release
13c2dc8

New

  • SwiftUI output: projects with a Package.swift, .xcodeproj or .xcworkspace get SwiftUI views built the way a production screen is: press-style Buttons, selection with a sliding indicator, snapping carousels, LazyVGrid, pinned bars, Toggles, ProgressViews, calendars and loading placeholders.
  • SwiftUI: fonts are named by PostScript face and scale with Dynamic Type, text keeps Figma's line boxes, and the design's variables become DesignTokens in a shared DesignSystem.swift.
  • SwiftUI: images go into the project's asset catalog as image sets, and a Structure block names what each part is, how sure the detection is and the pattern the code uses.
  • verify_code checks SwiftUI: the generated code, or a view of your project, compiled and rendered in the iOS simulator and compared with Figma's render. It can tap every button and render at other Dynamic Type sizes.

Improved

  • The plugin exports layers clipped out of their frame, so frames that hide part of their content convert faithfully.

Install

npx -y @irshad.io/figma-local-mcp@latest setup

npm: https://www.npmjs.com/package/@irshad.io/figma-local-mcp/v/1.7.0