Penpot plugins API
    Preparing search index...

    Interface FontVariant

    Represents a font variant in Penpot, which defines a specific style variation of a font. This interface provides properties for describing the characteristics of a font variant.

    interface FontVariant {
        name: string;
        fontVariantId: string;
        fontWeight: string;
        fontStyle: "normal" | "italic";
    }
    Index

    Properties

    name: string

    The name of the font variant.

    fontVariantId: string

    The unique identifier of the font variant.

    fontWeight: string

    The font weight of the font variant.

    fontStyle: "normal" | "italic"

    The font style of the font variant.