DEV Community


Discussion on: Dynamically render icons in Gatsby

raae profile image
Benedicte Raae • Edited

I found this Stack Overflow that might be helpful. Not tested any myself, but the solution by Nick looks promising.

  <use xlinkHref={'/images/logo.svg#Version-2'}>
Enter fullscreen mode Exit fullscreen mode
Forem Open with the Forem app