Styling SVG icon in React.js

Wendee ๐Ÿ’œ๐Ÿ•
3 min readAug 21, 2021

Swinging between both design team and frontend developing team, I am recently dealing with icons, including those drawn by our designers ๐ŸŽจHence, this post will guide you to use svg icons in an developer-friendly, easy-to-style method ๐Ÿ‘ฉโ€๐Ÿ’ป

Our Goal

Enable frontend to apply the same styling logic, especially changing color, among all icons.

--

--