Styling SVG icon in React.js
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.