bernaferrari / FigmaToCode

Generate responsive pages and apps on HTML, Tailwind, Flutter and SwiftUI.
https://www.figma.com/community/plugin/842128343887142055
GNU General Public License v3.0
3.7k stars 285 forks source link

Automatically rescale to fit all screen sizes #27

Open jevonmao opened 3 years ago

jevonmao commented 3 years ago

Right now, it seems to use hard coded frame sizes based on Figma sizes. Is it possible to use the proportion between the components, and scale it up or down accordingly to make the SwiftUI code adaptive to all screen sizes?

bernaferrari commented 3 years ago

So... that's tricky! If you can show me examples of what you want (input and output), we can think about something!