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.58k stars 262 forks source link

[Feature Request] Properties on exported code #96

Open volkandkaya opened 4 months ago

volkandkaya commented 4 months ago

data-options='{"Size": "lg", "Color": "primary"}'

This would be amazing. I'm already heavily using the "Layer names" feature.

bernaferrari commented 4 months ago

How do you think I could know what's primary? Via the new variables thing?

On Sun, Feb 18, 2024, 02:21 Volkan Kaya @.***> wrote:

data-options='{"Size": "lg", "Color": "primary"}'

This would be amazing. I'm already heavily using the "Layer names" feature.

— Reply to this email directly, view it on GitHub https://github.com/bernaferrari/FigmaToCode/issues/96, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACVXFOJYOH6MRXQOJ3LYB3YUGFUPAVCNFSM6AAAAABDN33L52VHI2DSMVQWIX3LMV43ASLTON2WKOZSGE2DANZVGA4TKNA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

volkandkaya commented 4 months ago

Yes, I would take a look at https://www.untitledui.com/free-figma-ui-kit it has a ton of components to test from.

image