Figma Support Forum

Exporting two SVGs with linear gradients XML ID issue

  1. When you create two shapes with linear gradients in different directions, then export them and put them in together on a web page, one of the shapes picks up the attributes of the other one.

  2. Solution is to manually change the fill=“url(#paint0_linear) and id=“paint0_linear” of one of the shapes. So change 0 to 1 in one of the shapes so it doesn’t pick up the attributes of the other.

Feature request: Figma should export the SVGs with different IDs