You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
I have removed any sensitive information from my code snippets and submission.
App Id
d1eiid2wdqi1eb
Region
us-east-1
Environment name
staging
Figma File Version (if applicable)
1.2.0
Amplify CLI Version
10.5.1
If applicable, what version of Node.js are you using?
v19.1.0
What operating system are you using?
Mac
Browser type?
Google Chrome
Describe the bug
I am having issues with importing Figma designs with Buttons that have Icons defined.
If I use Icon variant built into the Button primitive, the Button is rendered in React but no children are present, and if I change the Icon primitive to my own svg in figma, then the component renders as
instead of Button.
Expected behavior
Figma design should correctly import and a Element should render with correct component.
Reproduction steps
Clone AWS-Amplify-UI-Kit Figma project.
In Figma create a button set the Button Icon to any Icon variant.
Import into Amplify Studio
The Icon will be missing if using Icon primitve.
===or====
Clone AWS-Amplify-UI-Kit Figma project.
In Figma create a button set the Button Icon to a custom SVG image.
Import into Amplify Studio
The button will be a
if using a custom svg for icon.
Project Identifier
No response
Additional information
No response
The text was updated successfully, but these errors were encountered:
Hey @olliethedev, thank you for reaching out. The icon buttons from the AWS-Amplify-UI-Kit Figma project have been deprecated. We do not currently support importing buttons with icons for example svg inside a primitive. We will work on cleaning up the deprecated icons from the Figma UI kit. Thank you for reporting this.
Its now Jan 2024 and the comment from Dec 2022 "We will work on cleaning up the deprecated icons from the Figma UI kit" is still not implemented.
I too wasted time on this.
Before opening, please confirm:
App Id
d1eiid2wdqi1eb
Region
us-east-1
Environment name
staging
Figma File Version (if applicable)
1.2.0
Amplify CLI Version
10.5.1
If applicable, what version of Node.js are you using?
v19.1.0
What operating system are you using?
Mac
Browser type?
Google Chrome
Describe the bug
I am having issues with importing Figma designs with Buttons that have Icons defined.
If I use Icon variant built into the Button primitive, the Button is rendered in React but no children are present, and if I change the Icon primitive to my own svg in figma, then the component renders as
Expected behavior
Figma design should correctly import and a Element should render with correct component.
Reproduction steps
===or====
Project Identifier
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: