Layout & Design
Joseph
·
8:05
·
88K views
·
About this lesson
Stacks allow us to create rows or columns of elements that automatically align, distribute, and space themselves within the available space. Which not only means less tedious scaling and repositioning for us on the canvas — but also lets us build bulletproof layouts that can flex and adapt when things change size in browser.
Stacks not only unlock relative positioning — but also new sizing options that can make elements fill their parent — or make a parent frame automatically fit its children.
In this lesson, we’re going to look at how Stacks and Relative positioned layers work, how they make our lives easier, and of course when to use them.
If you’re already familiar with auto-layout in Figma or Flexbox in CSS, you’ve got a head start — but either way, you’re in the right place because we’re going to start with the basics.
https://www.youtube.com/watch?v=jQoR0dQQ9XY&t=0s Intro
https://www.youtube.com/watch?v=jQoR0dQQ9XY&t=9s What stacks do and why they matter
https://www.youtube.com/watch?v=jQoR0dQQ9XY&t=20s Stacks and relative positioning
https://www.youtube.com/watch?v=jQoR0dQQ9XY&t=37s Turning frames into stacks
https://www.youtube.com/watch?v=jQoR0dQQ9XY&t=72s Relative positioning behavior in stacks
https://www.youtube.com/watch?v=jQoR0dQQ9XY&t=115s Common use cases for stacks
https://www.youtube.com/watch?v=jQoR0dQQ9XY&t=145s Fitting stacks to content
https://www.youtube.com/watch?v=jQoR0dQQ9XY&t=182s Creating stacks from scratch or wrapping layers
https://www.youtube.com/watch?v=jQoR0dQQ9XY&t=235s Default stretching behavior for new stacks
https://www.youtube.com/watch?v=jQoR0dQQ9XY&t=256s Stack properties: direction and distribution
https://www.youtube.com/watch?v=jQoR0dQQ9XY&t=326s Adjusting gaps between elements
https://www.youtube.com/watch?v=jQoR0dQQ9XY&t=355s Aligning elements on the cross axis
https://www.youtube.com/watch?v=jQoR0dQQ9XY&t=371s Using padding effectively
https://www.youtube.com/watch?v=jQoR0dQQ9XY&t=404s Wrapping elements in stacks
https://www.youtube.com/watch?v=jQoR0dQQ9XY&t=422s Applying stack layouts to breakpoint frames
https://www.youtube.com/watch?v=jQoR0dQQ9XY&t=465s Wrap up
🌞 Start for free: https://framer.link/yt
📚 Learn more at: https://framer.link/yt-academy
💎 Join the Community: https://framer.link/yt-community
🎉 Follow on X: https://framer.link/yt-x