code-connect
code-connect copied to clipboard
A tool for connecting your design system components in code with your design system in Figma
First, thank you for the awesome tool! This is going to be huge for helping my team manage their Figma mockups and giving developers ready-to-use code for our design system....
- Code Connect CLI version: 1.2.4 - Operating system: Windows - Node version: v22.3.0 - React: 18.3.1 - Next: 14.2.3 I just tried all the steps in `https://www.figma.com/code-connect-docs/quickstart-guide/` in my...
Describe the feature you'd like: I am requesting an additional feature for the [SwiftUI `.figmaApply` function](https://www.figma.com/code-connect-docs/swiftui/#conditionally-applying-modifiers). If I define the code connect SwiftUI code generation like below: ``` @FigmaBoolean("useLabel?") var...
Please provide: - Code Connect CLI version [use `npx figma -V` if using React, or `figma -V` otherwise, to get the version of your CLI] - Operating system - Code...
Given a figma connect configuration where `figma.boolean` is returning a function in one branch, e.g.: ```tsx import figma from '@figma/code-connect'; import { MyComponent } from './MyComponent.js'; figma.connect(MyComponent, 'https://www.figma.com/', { props:...
I'm trying to use the [interactive setup](https://www.figma.com/code-connect-docs/quickstart-guide/#use-the-interactive-setup) to connect my design system to code connect. When asked for the URL of the Figma file with my design system library (step...
Please provide: - Code Connect CLI version 1.2.4 - Operating system MacOS Sequoia 15.1.1 - Code Connect file, Figma design and/or relevant code snippet that could help us get more...
I'm using 1.2.4. It's not clear how to compose children into an array of objects and provide that to the parent, or to use Typescript to hoist props to the...
Describe the feature you'd like: I confirmed that the return type of figmaApply is view in SwiftUI. The Code Connect document guides users to use figmaApply when expressing different property...
Describe the feature you'd like: How can I express SwiftUI-specific annotations such as @State or @Binding using Figma @propertyWrapper?