Skip to main content
Ethan_7363
New Member
May 20, 2025
Question

I can't find the API docs for AutoLayout Grid

  • May 20, 2025
  • 5 replies
  • 248 views

I can't seem to find the API docs for AutoLayout Grid recently.

A few days ago, I could still access properties like:

gridChildHorizontalAlign
gridChildVerticalAlign
gridColumnCount
gridColumnGap
...

But now, I can't retrieve these properties anymore. Were they removed? Or were they moved to a different interface?

    This topic has been closed for replies.

    5 replies

    leo31
    New Participant
    May 20, 2025

    I'm anxiously waiting😣, but this issue is not being taken seriously.

    James Simonson
    New Participant
    May 22, 2025

    OMG You could access them? I swore I could access them but yer now I can't see them anymore. 

    I joined to ask this same question. I noticed that the Typescript Typings doesn't show these. I assume that may be due to Grids being in beta. Is there a beta API we can opt-into? 

    Working on Figma to Babylonjs plugin.
    James Simonson
    New Participant
    May 25, 2025

    Just wanted to add some context.

     

    Tested on the latest which is 1.113.0. 
    https://www.npmjs.com/package/@figma/plugin-typings

     

    The docs do not talk about a ‘GRID’ layoutMode https://www.figma.com/plugin-docs/api/properties/nodes-layoutmode/

    However, myNode.layoutMode will return “GRID” if it is a grid. However no other properties of a grid are presented, even if you use //@ts-ignore 

    Working on Figma to Babylonjs plugin.
    James Simonson
    New Participant
    May 25, 2025

    Ok I found the official line: 


    turns out we did not intend for these APIs to be exposed quite yet. The API for Grid is not yet complete hence the lack of documentation, so we've removed references to it. Stay tuned for when that API officially launches!
    https://github.com/figma/plugin-typings/issues/330

     

    Working on Figma to Babylonjs plugin.
    leo31
    New Participant
    May 29, 2025

    Ok I found the official line: 


    turns out we did not intend for these APIs to be exposed quite yet. The API for Grid is not yet complete hence the lack of documentation, so we've removed references to it. Stay tuned for when that API officially launches!
    https://github.com/figma/plugin-typings/issues/330

     

    Thanks for keeping track of the info. Right now, it seems like all we can do is wait…😴