CreatorAPI.getAvailableFonts

Returns the font catalog available to this project, including Creator's curated preset fonts, Google Fonts, and uploaded font assets.

CreatorAPI.getAvailableFonts() method

Returns the font catalog available to this project, including Creator's curated preset fonts, Google Fonts, and uploaded font assets.

Signature:

getAvailableFonts(): Promise<readonly FontFamily[]>;

Returns:

Promise<readonly FontFamily[]>

A promise that resolves to the list of available font families.

Remarks

Local OS-installed fonts are included only when the user has already granted the browser's local-fonts permission. Calling this method does not trigger the local-font permission prompt.

Example

const families = await creator.getAvailableFonts();
const roboto = families.find((f) => f.family === "Roboto");
if (roboto) {
  textLayer.fontFamily = roboto.family;
  textLayer.fontStyle = roboto.defaultStyle;
  // Or pick a specific style
  const bold = roboto.styles.find((style) => style === "Bold");
  if (bold) textLayer.fontStyle = bold;
}
Last updated: October 8, 2026 at 10:45 AMEdit this page