code-connect
code-connect copied to clipboard
A tool for connecting your design system components in code with your design system in Figma
figma cli version: `1.3.1` Currently we use web components which the usage varies depending on what framework is being used to consume the component. In Figma we want to display...
My team wants to provide output code in [Lit ](https://lit.dev/) syntax where we show how to bind click events however the syntax `@click=${() => console.log("clicked")}` doesn't seem to be supported...
Is there a way to match multiple enum values (variants)? Or, alternatively, set the default value for the property. For example, I have a property "type" that has 3 possible...
- Code Connect CLI version 1.3.0 - Operating system macOS 14.6.1 I have a question about how CodeConnect handles the import of nested components. I’ve noticed two different behaviors: **1....
### TL;DR `imports` doesn't seem to override the import statements anymore, and it's simply added together with the other import statements. ### Context A few weeks ago I connected some...
On this line, the parser will determine if the project is a gradle/compose project by detecting if there exists a `build.gradle.kts` file https://github.com/figma/code-connect/blob/bbd08d49228d467553117b0b190f535b807579b0/cli/src/connect/project.ts#L192 However, some older projects may still be...
 figma.config.json `{ "codeConnect": { "include": ["src/figma/*.ts"], "parser": "html", "label": "vue", "importPaths": { "src/components/pan/*": "@pan/components" }, "paths": { "@pan/components/*": ["src/components/pan/*"] } } } `
- Code Connect CLI version: 1.3.0 - OS: macOS Sequoia 15.3 - Node version: v20.17.0 I’m working on a exploration task around Code Connect for our internal Design System. When...
## Environment Code Connect CLI version 1.2.2 Operating system Windows 10 Enterprise ## Description When working with a component that has multiple instances of the same child component (in this...
Please provide: - Code Connect CLI version 1.2.4 - Operating system macOS 14.6.1 Hi there, I have a FormControl utility available in both Figma and code. This component is code-connected...