Open
Description
Please provide:
- Code Connect CLI version [use
npx figma -V
if using React, orfigma -V
otherwise, to get the version of your CLI] - Operating system
- Code Connect file, Figma design and/or relevant code snippet that could help us get more context
- If you prefer not to share those publicly please reach out via the Figma support
How to use an instance in a tag's attribute, typically refers to dynamically binding a component instance (such as an icon instance) to a property of an HTML tag in Figma Connect.
We have code like this:
iconValue:figma.children('*'),
<Button class=${props.className} :icon=${props.iconValue} hasIcon=${props.icon}> <div slot="icon">${props.iconValue}</div> </Button>