-
Notifications
You must be signed in to change notification settings - Fork 92
Description
Currently the new Code Connect UI only allows connecting to a Github repository:
https://developers.figma.com/docs/code-connect/code-connect-ui-setup/
Component Libraries are published though through NPM in a majority of cases, so connecting to the code base itself is not useful for consumers of a certain library, which use the components through npm imports i.e. import {Button} from 'component-library'. Also worth considering is that the src code in Github might not match what is actually built and published through NPM.
It would be ideal to support this more properly, since consumers of a component library will install the library as a NPM dependency and don't care about where in Github the component is located, but how it can be imported through NPM. This applies also for MCP integration, where AI can't import a component from Github in all cases.