FigmaToCode icon indicating copy to clipboard operation
FigmaToCode copied to clipboard

[Feature Request] Properties on exported code

Open volkandkaya opened this issue 1 year ago • 2 comments

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

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

volkandkaya avatar Feb 18 '24 05:02 volkandkaya

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: @.***>

bernaferrari avatar Feb 18 '24 14:02 bernaferrari

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

volkandkaya avatar Feb 18 '24 16:02 volkandkaya