Load multiple fonts in Figma plugin

```
const fetchFonts = async () => {
  await figma.loadFontAsync({ family: "Comic Sans", style: "Regular" })
  await figma.loadFontAsync({ family: "Comic Sans", style: "Medium" })
  await figma.loadFontAsync({ family: "Comic Sans", style: "Bold" })
}

loadFonts().then(() => doSomething())

```

Nick Ciolpan
29 May 2022
« Back to post