---
title: "SVG to React (@svgtoreact) | Hashnode"
description: "SVG to React (@svgtoreact) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@svgtoreact"
---

@svgtoreact

# SVG to React

@svgtoreact · Joined October 2026

### ["ReactComponent is not exported" after upgrading vite-plugin-svgr? Here's the fix](https://svgtoreact.hashnode.dev/reactcomponent-is-not-exported-after-upgrading-vite-plugin-svgr-here-s-the-fix?utm_source=hashnode&utm_medium=feed)

Why the old Create React App style import breaks in v4+, and the one-line change that fixes it

3 min read · [svgtoreact.hashnode.dev](https://svgtoreact.hashnode.dev/reactcomponent-is-not-exported-after-upgrading-vite-plugin-svgr-here-s-the-fix?utm_source=hashnode&utm_medium=feed)

[5h ago](https://hashnode.com/posts/reactcomponent-is-not-exported-after-upgrading-vite-plugin-svgr-here-s-the-fix/6b03c5c255dca96ae52d34d4)

### [currentColor: the one SVG trick that makes icons themeable](https://svgtoreact.hashnode.dev/currentcolor-the-one-svg-trick-that-makes-icons-themeable?utm_source=hashnode&utm_medium=feed)

Every frontend codebase eventually grows an icon problem. The designer hands over icons that are dark grey. Then the primary button needs them white, the danger menu item needs them red, dark mode nee

5 min read · [svgtoreact.hashnode.dev](https://svgtoreact.hashnode.dev/currentcolor-the-one-svg-trick-that-makes-icons-themeable?utm_source=hashnode&utm_medium=feed)

[Oct 31](https://hashnode.com/posts/currentcolor-the-one-svg-trick-that-makes-icons-themeable/6ae5ab438802b53e9913f8c3)
