CreatorAPI.getAvailableFonts
Returns all fonts available for use in text layers.
CreatorAPI.getAvailableFonts() method
Returns all fonts available for use in text layers, including presets, Google Fonts, locally-installed fonts, and user-uploaded font assets.
Signature:
getAvailableFonts(): Promise<readonly FontFamily[]>;Returns: Promise<readonly FontFamily[]>
A promise resolving to an array of available font families.
Remarks
Local font enumeration depends on browser permissions; users may be prompted to allow access the first time a plugin calls this method. Fonts that come from uploaded assets have source: "ASSET".
Example
const fonts = await creator.getAvailableFonts();
const inter = fonts.find((f) => f.family === "Inter");
if (inter) {
textLayer.fontFamily = inter.family;
textLayer.fontStyle = inter.defaultStyle;
}Last updated: August 13, 2026 at 9:17 AMEdit this page