Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ogty/figma-icon-component-generator

🎨 Figma Icon Component Generator
https://github.com/ogty/figma-icon-component-generator

cli component generator icon svg

Last synced: 10 days ago
JSON representation

🎨 Figma Icon Component Generator

Awesome Lists containing this project

README

        

🎨 Figma Icon Component Generator

## ✏️ Procedure

### 1. Get Personal Access Token(`FIGMA_TOKEN`)

`Settings > Account > Personal Access Token`

### 2. Get Copy(`*_FILE_ID`)

- [Bootstrap Icons](https://www.figma.com/community/file/1042482994486402696)
- [Untitled UI Icons](https://www.figma.com/community/file/1114001199549197320)
- [css.gg](https://www.figma.com/community/file/834587122842084475)

```
https://www.figma.com/file/**********************/
```

Copy the asterisked portion (fileId)

### 3. Set Environment Variables

**`.zshrc`**

```zsh
...
export FIGMA_TOKEN='**********************'
export CSS_GG_FILE_ID='**********************'
export BOOTSTRAP_FILE_ID='**********************'
export CSS_GG_FILE_ID='**********************'
```

## Usage

```zsh
$ npm install --global figma-icon-component-generator
$ icon
```