Skip to main content
Question

I can't find the API docs for AutoLayout Grid


Ethan_7363

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?

5 replies

leo31
  • New Participant
  • 5 replies
  • May 20, 2025

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


James Simonson

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? 


James Simonson

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 


James Simonson

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

 


leo31
  • New Participant
  • 5 replies
  • May 29, 2025
James Simonson wrote:

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…😴


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings