the main reason why svgs can't be styled in react is that they are wrapped iside of img element, which takes width but not color use your SVG as a component, then pass color and width through props