Skip to main content

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?

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


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? 


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 


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

 


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