figma / code-connect

A tool for connecting your design system components in code with your design system in Figma
MIT License
512 stars 47 forks source link

Indicate the top-level components documented in Code Connect #52

Open sestanley13 opened 1 month ago

sestanley13 commented 1 month ago

It would be great to facilitate the communication of the top-level component(s) being used in a Figma frame so that the developer isn't diving into the subcomponents to grab the Code Connect snippet in Dev Mode, but instead is directed to the exact frames/components to copy. For example, in a dialog component with a close and action buttons built in, you would want to promote the dev to grab the dialog component rather than the individual buttons.

Considerations:

Note: This is partially a higher-level Dev Mode request—as it is an issue I've seen without Code Connect—but is exacerbated by Code Connect and other code-gen tools.