Skip to main content
MKitPlug
New Participant
Jul 3, 2024 12:03 PM UTC

Missing variable font values ("font-variation-settings") over plugin/rest api

Implement variable font property in plugin API and rest api
Unfortunately it is not possible to get the complete properties for variable fonts via API access.
Please implement the CSS property “font-variation-settings”
for “wght”, “wdth”, “slnt” … “opsz”

Or have I overlooked something, how do I get the information via the APis?

    10 replies

    Figmate
    Jul 19, 2024 12:48 AM UTC

    Hi @MKitPlug, Thank you for sharing your thoughts on this!

    While we await input from our community, I’ll check internally to see if we have any additional information on this. We will update you once further information is available.

    Also, I am unsure, but I came across a similar post at this link: Missing variable font values in style Please feel free to take a look!

    Thank you for your input, and if anyone in our community has any insights, please feel free to vote or comment to support this idea!

    Figmate
    Jul 19, 2024 1:27 AM UTC

    Hello @MKitPlug, I’ve looked into this matter internally and unfortunately, it is not currently feasible.

    However, we’re already aware of the demand for it. I have included your suggestion in our internal report to bring more attention to it.

    Thank you again for your valuable input!

    Qinyi_Yao
    New Member
    Jan 23, 2025 11:00 PM UTC

    ​@Junko3 I’d like to also note a certain nature of this demand: Without plugin API access, there are no workarounds at all other than manually selecting individual text nodes and modify values. This significantly limits a team’s ability to deploy variable fonts at scale reliably. You can’t do that manually with millions of frames.

    agrshch
    New Member
    Mar 24, 2025 5:10 PM UTC

    Hello ​@Junko3 , 

    Are there any news about possible developments in this regard? 

    Active Member
    Feb 10, 2026 5:39 PM UTC

    Implement variable font property in plugin API and rest api
    Unfortunately it is not possible to get the complete properties for variable fonts via API access.
    Please implement the CSS property “font-variation-settings”
    for “wght”, “wdth”, “slnt” … “opsz”

    Or have I overlooked something, how do I get the information via the APis?

    Have you found any workaround for this? ​@MKitPlug?

     

    ​@Junko3 We would highly appreciate any news here. We are also missing the lack of variables there….

    Active Member
    Feb 10, 2026 5:42 PM UTC

    ​@Junko3 I’d like to also note a certain nature of this demand: Without plugin API access, there are no workarounds at all other than manually selecting individual text nodes and modify values. This significantly limits a team’s ability to deploy variable fonts at scale reliably. You can’t do that manually with millions of frames.

    ​@Qinyi_Yao You can use styles to reduce manual effort at least by a bit, but you are still not able to sync design and code properly without api issue solved. 

    What have you done meanwhile to cope with the situation?

    David N
    New Member
    Aug 19, 2026 1:05 PM UTC

    ​@Junko3 is there any update on this? Very much needed in my organisation.

    djv
    Figmate
    Community Support
    Aug 19, 2026 6:19 PM UTC

    Hi All, thanks for continuing to chime in here! 

    To give you all an update on where things stand, the Plugin API and REST API still don't expose variable font axis values, so there's no way to read or set wght, wdth, slnt, or opsz programmatically. Named instances do work, if your font ships a style like "Inter V Semi Bold," you can load it via loadFontAsync({ family, style }). But that won't help if you need a specific value like wght: 650, and @Qinyi_Yao is right that there's no workaround beyond that.

    But good news, this is now being actively worked on with a proposal in review with our text and typography team. No exact timeline to share yet, but rest-assured, it's no longer sitting untouched.

    Two quick questions, so I can pass along your use case(s) accurately:

    • Which axes matter most? Mainly wght, or wdth/opsz too?
    • Is your need mainly reading axis values (design → code sync) or setting them in bulk?

    Thanks again for your patience here. I’ll pass your feedback onto the team while they continue to work on getting this implemented. 

    David N
    New Member
    Aug 20, 2026 10:16 AM UTC

    Thanks for the update ​@djv . Glad to hear its being worked on!

    In answer to your questions:

    All Axes (including custom). We work with a range of variable typefaces that use wght, wdth, slnt, opsz as well as custom ones (serf, rond etc.). We need the api to be tag-agnostic and work with any axes in the font’s fvar table.

    Read and write. We need both for our use case

    In Addition, openType Features are readable but not writable. We would like to be able to get and set stylistic sets and other OT features on a text node.

    The most useful and futureproof approach would be to expose everything that is in the typography panel to the API.

    Do keep us updated. Thank you!

    JanFig
    New Member
    Dec 2, 2026 7:27 AM UTC

    Hi mkit, I'm Jan, a designer working with Rut on a small research project about variable fonts in Figma. I read your post about not getting the full variable font properties through the API. Could I ask you how you get axis values from Figma into code today? 30 minutes on a video call, this week or next. Nothing to prepare, and nothing to sell. Thanks either way!