When creating a symbol we can tell each group how the elements should flow. Horizontal, vertical etc. However this is only in symbols. It would be awesome if this worked on regular groups/folders without symbols aswell. Maybe like in SwiftUI with Vstack, Hstack and Zstack!
Perhaps you already have that on the roadmap, but Itās interesting how PenPot is approaching auto layout. It would be amazing to have a mix in between actual auto layout and that.
I could also suggest looking on Framer Stacks - they either act like Flexbox or Grid CSS. I know itās different for Framer, because they are actually rendering into DOM instead of custom canvas. But itās so easy to quickly build UI with this settings!
Our philosophy with Smart Layout is purposely less rigid and more forgiving than Penpot / Framer / Figma, whose approaches are all strongly inspired by CSSā flexbox (although not a 1:1 match). For example, Smart Layout naturally allows for uneven spacing, mixed alignment on the cross-axis, or even having ungrouped elements parallel to each other, without having to make extra containers just for those purposes.
Expect us to keep much of that flexibility unique to Smart Layout, but taking it a lot further step-by-step, reducing the amount of manual work to keep things as you expect them to be. Itās a long journey but we have ambitious plans.
@paulozoom I guess the main problem is that itās not really clear (or itās just me) how it behaves in each specific scenario. To be honest, thatās the main reason I had to switch to Figma. Itās not the implementation itself (though, having outer spacing in smart layouts would be great - like padding in CSS), but the way it presented in UI, so itās clear whatās happening. Itās very confusing in current implementation, IMO.
Hey folks ā for those of you who havenāt already seen, weāve just released a new beta of the Mac app and an experimental feature which brings Smart Layout to regular groups
Our work on this is not done, but we wanted to share this feature while itās still in development to get your feedback. You can find out more details of what it currently does, and what we still need to work on, in the Sketch Labs topic.
If youāre interested in trying out, you can head over to those two topics to find out more and share your feedback on what weāve built so far.
Hey,
New here, considering moving back from Figma to Sketch. One thing Iād love to get would being able specify, letās say, a smart layout made of 70% width zone and another zone for the remaining 30%, and that component would keep the space distribution whatever its width is.
Figma doesnāt do this, and this would be really really great.
I looked through a lot of tutorials on Sketch and didnāt see a special video or article that showed all the ways to make different combinations: lists, grids, complex combinations of objects (for parallax). It would have been nice to see how to create a list of 5 elements with the same space between elements. All in all, this is very useful information for new teammates.
Have you got some articles or video tutorials about it in Sketch?
@vitlayozza Ah, got you. Our Sketch 101 and Sketch 102 courses cover a lot of ground, but thereās nothing yet specific about taking advantage of features like Smart Layout and Smart Distribute (which, with Smart Layout in Groups, can work in tandem). Thanks for the suggestion!