Convert SVG to JSX with SVGR

Ooh, this one’s handy. Paste in (no drag and drop unfortunately) the contents of an SVG file and out comes the JSX code for immediate use within your React project.

SVGR also simplifies your SVG using SVGO (which is also the driving force behind SVGOMG)

SVGR : The SVG to JSX transformer →

Published by Bramus!

Bramus is a frontend web developer from Belgium, working as a Chrome Developer Relations Engineer at Google. From the moment he discovered view-source at the age of 14 (way back in 1997), he fell in love with the web and has been tinkering with it ever since (more …)

Join the Conversation

1 Comment

  1. nice work, the other svg to jsx transformer was changed and doesnt work with complex svgs like mine.

Leave a comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.