Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[figma] Support Figma Code Connect #359

Open
oliviertassinari opened this issue Jun 28, 2024 · 2 comments
Open

[figma] Support Figma Code Connect #359

oliviertassinari opened this issue Jun 28, 2024 · 2 comments
Assignees
Labels
new feature New feature or request waiting for 👍 Waiting for upvotes

Comments

@oliviertassinari
Copy link
Member

oliviertassinari commented Jun 28, 2024

Summary

Figma made Figma Code Connect generally available at Figma Config 2024: https://www.figma.com/blog/introducing-code-connect/. They have also worked to bring it to the built-in design system, e.g.

Swift UI (Swift, iOS)
SCR-20240629-ciyh

Jetpack Compose (Kotlin, Android)

SCR-20240629-cjne

Motivation

It's similar to what we did for #111.

SCR-20240629-clfh

But it's different:

  • The code output in Figma Code Connect matches the props used in Figma
  • The code output in Figma Code Connect matches with the value of the children

It's closer to be usable.

In our case, we would use https://www.npmjs.com/package/@figma/code-connect.

@oliviertassinari oliviertassinari added new feature New feature or request waiting for 👍 Waiting for upvotes status: waiting for maintainer These issues haven't been looked at yet by a maintainer and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Jun 28, 2024
@adrianmanea
Copy link
Collaborator

I have looked over the Code Connect, but unfortunately it's only available for bigger plans which costs >€1,620/year. I wonder how many of our customers can benefit from this feature.

image

Also, I'm not able to use the Code Connect anymore, it requires a permission from the API key I'm not seeing in my account:
image

@oliviertassinari
Copy link
Member Author

@adrianmanea Oh, I see, true https://www.figma.com/pricing/

image

You have to pay x3 more.

Maybe #43 is just a better solution for this problem. Imagine #111 (comment) but where that output is coming from #43 applied to one component, while you can use #43 to output the whole frame.

@adrianmanea adrianmanea removed the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature New feature or request waiting for 👍 Waiting for upvotes
Projects
None yet
Development

No branches or pull requests

2 participants