Skip to main content
Axialis
New Member
Dec 1, 2026 5:38 PM UTC

How do you keep Figma icon components and SVG sprite IDs in sync?

Hi, I’m Marc from Axialis. I made a short demo of what happens on the developer side when an icon changes after handoff.

In the clip, I edit the Search symbol in a shared SVG sprite using IconVectors 2.30. After a browser refresh, the new icon appears and the HTML still points to icons.svg#search.

If your team uses Figma components for icons and an SVG sprite in production, do you use the same names in both places? Where do you keep that mapping when an icon gets renamed?

    3 replies

    Jaycee Lewis
    Figmate
    Figmate
    Dec 1, 2026 11:14 PM UTC

    Hey hey ​@Axialis 👋 Thank yo very much for your post and for the screen recording! I have a few questions to help us troubleshoot:

    • Do you treat the Figma component name as the production ID, or use a stable ID so designers can rename components without breaking references?

    • When an icon gets renamed, what catches a mismatch before it ships? An automated check or someone reviewing the handoff

    • Does your workflow also handle structural changes, like a different viewBox or stroke setup, or mainly preserve the symbol ID?

    Thanks! — Jaycee

    Axialis
    AxialisAuthor
    New Member
    Dec 1, 2026 11:52 PM UTC

    Thanks, Jaycee! The clip starts with an existing sprite. I edited the Search icon in IconVectors, kept its search ID, and checked that icons.svg#search still worked after refreshing the page.

    I didn’t test a Figma rename, an automated check, or changes to the viewBox or stroke setup in that clip. The rename is the part I’m curious about. If someone renames Search to Find in Figma, how would you keep the sprite ID stable? Would you store the mapping somewhere?;

    Jaycee Lewis
    Figmate
    Figmate
    Dec 3, 2026 4:50 PM UTC

    Hey ​@Axialis 👋 I am happy to dig a bit more. And hopefully we can get a reply or two from other users on how they handle this currently.

    One more question — how are you currently getting the icons from Figma into the sprite?

    Thanks! — Jaycee