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 Code Connect: Connect @carbon/icons-react #16863

Open
Tracked by #16273
alisonjoseph opened this issue Jun 25, 2024 · 0 comments
Open
Tracked by #16273

Figma Code Connect: Connect @carbon/icons-react #16863

alisonjoseph opened this issue Jun 25, 2024 · 0 comments

Comments

@alisonjoseph
Copy link
Member

alisonjoseph commented Jun 25, 2024

https://github.com/figma/code-connect/blob/main/cli/README.md#icons

For connecting a lot of icons, we recommend creating a script that pulls icons from a Figma file to generate an icons.figma.tsx file that includes all icons. You can use the script here as a starting point. The script is marked with "EDIT THIS" in areas where you'll need to make edits for it to work with how your Figma design system is setup and how your icons are defined in code.

https://github.com/figma/code-connect/blob/main/cli/scripts/README.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: ⏱ Backlog
Status: ⏱ Backlog
Development

No branches or pull requests

1 participant