---
title: "Discussion on \"Generating React Icon Components from Figma\" | Hashnode"
description: "Discussion on \"Generating React Icon Components from Figma\". A guide on automatically converting icons maintained in Figma to React components using a CLI tool to simplify the frontend pipeline. Source code provided."
url: "https://hashnode.com/posts/generating-react-icon-components-from-figma/61deca4c44f1964f4fa7f0fd"
---

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

Discussion

# [Generating React Icon Components from Figma](https://blog.certa.dev/generating-react-icon-components-from-figma?utm_source=hashnode&utm_medium=feed)

A guide on automatically converting icons maintained in Figma to React components using a CLI tool to simplify the frontend pipeline. Source code provided.

Jan 12, 2022 · 12 min read · blog.certa.dev  
Read the article

-   [#design](https://hashnode.com/tag/design)
-   [#typescript](https://hashnode.com/tag/typescript)
-   [#frontend](https://hashnode.com/tag/frontend)
-   [#icon](https://hashnode.com/tag/icon)
-   [#productivity](https://hashnode.com/tag/productivity)

## Written by

[Pawan Kolhe](https://hashnode.com/@pawan-certa)

@pawan-certa · Nagpur, India

  
[View profile](https://hashnode.com/@pawan-certa)

Senior Frontend Engineer

Building scalable React apps with a focus on accessibility, performance, and DX. I write about design systems, frontend architecture, and developer tooling.

## Responses 3

Markdown supported · ⌘↵ to post

[Harsh Rana](https://hashnode.com/@harshrana117)

[Feb 3, 2024](https://hashnode.com/posts/generating-react-icon-components-from-figma/61deca4c44f1964f4fa7f0fd/comment/65be8044fc12c5caf28be7dd)

Interesting read, really well explained

[Abhi](https://hashnode.com/@abhi319)

[Apr 3, 2022](https://hashnode.com/posts/generating-react-icon-components-from-figma/61deca4c44f1964f4fa7f0fd/comment/6249541e16cdedfe9f7ce35f)

Hi [Pawan Kolhe](https://hashnode.com/@pawan-certa) I forked and added .env but got this error. Could you plz. help me in solving this.

```
Error: Request failed with status code 404
    at createError (/sandbox/node_modules/figma-js/node_modules/axios/lib/core/createError.js:16:15)
    at settle (/sandbox/node_modules/figma-js/node_modules/axios/lib/core/settle.js:17:12)
    at IncomingMessage.handleStreamEnd (/sandbox/node_modules/figma-js/node_modules/axios/lib/adapters/http.js:269:11)
    at IncomingMessage.emit (node:events:402:35)
    at IncomingMessage.emit (node:domain:475:12)
    at endReadableNT (node:internal/streams/readable:1343:12)
    at processTicksAndRejections (node:internal/process/task_queues:83:21) {
```

[Mikko Vänskä](https://hashnode.com/@vanska)

[Feb 16, 2022](https://hashnode.com/posts/generating-react-icon-components-from-figma/61deca4c44f1964f4fa7f0fd/comment/620cc4757cf10d2765e29839)

Wow! What an amazing resource for any product design team. Just spun up a fork in the sandbox and got my icons out of Figma first go. Going to use this to export 300+ icons from Figma into a Gatsby + Headless CMS project. Propably will need to expand from here a little bit with @loadable/component etc.. Any plans to release this as a library?

[Pawan Kolhe](https://hashnode.com/@pawan-certa)

[Feb 17, 2022](https://hashnode.com/posts/generating-react-icon-components-from-figma/61deca4c44f1964f4fa7f0fd/comment/620cc4757cf10d2765e29839#reply-620e2ab9d589905b41290638)

Thank you. 😄 Glad it worked on your first go. No timeline for releasing it as a library yet. It's something we might plan on doing.
