Vasanth M. could be a number of things really - it depends on the icon, how complex it is, how many lines of code it is, how the svg is rendered, how you are copying the icon from figma etc.
When you copy the icon from figma are you right cilcking the icon > copy > Copy as SVG?
Also pasting things into the cart button might pose some issues as well