Figma is the first collaborative UI design tool built in the browser. Join our growing community and kick off a conversation!
J A S O N@jscottpearson
SVG Class Attribute RequestMarch 22, 2019 at 6:06pm
Hey Figma Community,
This may sound like a specific ask, but I'd love the ability to add a CLASS to one or more objects at a time that would be included on SVG export. Currently I do this by building my file in Figma, and then exporting the SVG and opening it up in Illustrator to add a "graphic style" in which I name it what I want that CLASS attribute to be. And then I re-export the SVG from there, to retain that attribute.
I have attached a screenshot of what some of the code looks like (with some of the user facing result beside it), for reference.