
Research
Node.js Fixes AsyncLocalStorage Crash Bug That Could Take Down Production Servers
Node.js patched a crash bug where AsyncLocalStorage could cause stack overflows to bypass error handlers and terminate production servers.
figma-icon-getter
Advanced tools
This is a CLI and TypeScript library to fetch icons from Figma using their REST API.
[!NOTE] Make sure that the token has access to your icon file
[!NOTE] Requires a recent version of Node.js.
Run the following command to download icons from Figma:
FIGMA_PAT=<access token> npx figma-icon-getter --file <file key> --out <output directory>
Explanation:
FIGMA_PAT=<access token>: Replace <access token> with the Figma personal access token generated in the Design Setup section above.--file <file key>: Replace <file key> with the file key appearing in the URL of the Figma file. For example, given a URL of https://www.figma.com/design/mfiglkk3bXQwetaRsftZQz/Icon-Playground?node-id=0-1&t=RDa9Ma6rkxW492eB-0, the file key is mfiglkk3bXQwetaRsftZQz.--out <output directory>: Replace <output directory> with the path to the directory where you want to download the icon SVG files.[!TIP] If you need to convert the downloaded icon SVG files to React icon components, we recommend SVGR.
npm install figma-icon-getter
You can use the getFigmaIcons function to conveniently download icon SVGs:
import { getFigmaIcons } from "figma-icon-getter";
const icons = await getFigmaIcons({
figmaAccessToken: "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
fileKey: "mfiglkk3bXQwetaRsftZQz",
});
console.log(icons);
/* example output
[
{
"name": "Acorn",
"properties": {
"variant": "outlined",
"size": "16"
},
"svg": "<svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\">...</svg>\n"
}
]
*/
figmaAccessToken: The Figma personal access token generated in the Design Setup section abovefileKey: The file key appearing in the URL of the Figma file. For example, given a URL of https://www.figma.com/design/mfiglkk3bXQwetaRsftZQz/Icon-Playground?node-id=0-1&t=RDa9Ma6rkxW492eB-0, the file key is mfiglkk3bXQwetaRsftZQz.Promise<
{
name: string;
properties: Record<string, string>;
svg: string;
}[]
>;
name: The name of the icon, derived from the component set that the icon component belongs toproperties: A record containing the component properties defined in Figmasvg: The icon SVG dataThis project is licensed under the MIT License. See the LICENSE file for details.
Contributions are welcome! Please submit a pull request or open an issue to discuss any changes.
FAQs
A simple solution to get component set icons from Figma
We found that figma-icon-getter demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
Node.js patched a crash bug where AsyncLocalStorage could cause stack overflows to bypass error handlers and terminate production servers.

Research
/Security News
A malicious Chrome extension steals newly created MEXC API keys, exfiltrates them to Telegram, and enables full account takeover with trading and withdrawal rights.

Security News
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.