---
title: "Discussion on \"Dynamic SVG component in Vite + React + TS\" | Hashnode"
description: "Discussion on \"Dynamic SVG component in Vite + React + TS\". Render dynamic SVG as a component by passing the icon name in vite"
url: "https://hashnode.com/posts/dynamic-svg-component-in-vite-react-ts/63176a502cef8b07c2f1d19a"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Dynamic SVG component in Vite + React + TS](https://amitmondal.hashnode.dev/dynamic-svg-component-in-vite-react-ts?utm_source=hashnode&utm_medium=feed)

Render dynamic SVG as a component by passing the icon name in vite

Sep 6, 2022 · 3 min read · amitmondal.hashnode.dev  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#vite](https://hashnode.com/tag/vite)
-   [#svg](https://hashnode.com/tag/svg)
-   [#tutorial](https://hashnode.com/tag/tutorial)
-   [#typescript](https://hashnode.com/tag/typescript)

## Written by

[Amit Mondal](https://hashnode.com/@Mondal10)

@Mondal10 · India

  
[View profile](https://hashnode.com/@Mondal10)

Software Engineer · FullStack · Building GenAI Products at Scale | Sensehawk (Reliance) | Ex-Paytm

I build products that ship, scale, and solve real problems. Over 7+ years, I’ve worked across fintech, edtech, and renewable energy, building products and systems used in real-world, high-impact environments. At Paytm, I worked on insurance and investment products; at SenseHawk (now part of Reliance), I built and own core modules helping digitize renewable energy, infrastructure, and construction workflows.

## Responses 1

Markdown supported · ⌘↵ to post

[Kaushal Sharma](https://hashnode.com/@skazi019)

[Sep 6, 2022](https://hashnode.com/posts/dynamic-svg-component-in-vite-react-ts/63176a502cef8b07c2f1d19a/comment/6317704c961d2507e75fbd2a)

Awesome!
