## Installation To install Quantum Icons, use the following Yarn command: ```bash yarn add @auth0/quantum-icons ```
npm install @auth0/quantum-iconsbash
yarn add @auth0/quantum-icons
`Export Icons from Figma
$3
Before exporting icons from Figma and updating Quantum Icons, you need to create an .env file with the following configurations:
`bash
FIGMA_API_KEY=
`To obtain the access token, follow these steps:
1. Go to Figma in the browser.
2. Navigate to Account Settings -> Account Tab.
3. Scroll down to Personal access tokens.
4. Generate a token and copy it.
$3
Once you have all environment configurations set up, to generate both svgs, from figma, and icons, from the svgs run the command:`bash
yarn build:icons
`This will run all the needed commands to pull the icons from figma and generate react components from them. The indiviudal commands are listed below:
use the following command to update/pull icons from Figma:
`bash
yarn generate:svg
`This command will update all Figma icons with the new exports to the
./src/svg folder.To generate react components from these svgs run the following command:
`bash
yarn generate:icons
``