I guess that a grid can be easy by using a scrollable container and placing rows and cell repeated by the population data (Data variable, formula or parameters)
In this example I have a grid with rows and cells using the “Repeat With” and a formula of data objects. Now I can place any component like a paragraph or a list item inside to represent the grid Item.
Well… that’s handy to create a grid, but it can’t adjust its width (I mean # of cells per row) responsively.
Hmm I might be able to do it by re-calculating the indice of the array, which have all elements to be displayed in the grid, whenever the screen width is adjusted. But the solution is quite complex.
Any plan to provide a Grid View Component in the future as the one in Webflow?
And can I adjust padding of view components (I’m wondering this because only some components have padding control UI but others don’t)?
We do have plans to bring in an intuitive Grid View at some point, but for now you do need some formula magic to handle responsiveness.
The available style props have been selected for clarity, feedback is appreciated if you have suggestions – otherwise you can always wrap your components in a container (and potentially turn them into a composite component).