Hi dear Figma community,
Wanted to know if there is a hard rule between using layout and using component.
When should I use one and not the other and why ?
Hi dear Figma community,
Wanted to know if there is a hard rule between using layout and using component.
When should I use one and not the other and why ?
Best answer by djv
Thanks for clarifying, @achraf_azzez!
Auto layout is a property you can add to frames and components that lets you a create design that grow to fill, shrink to fit, or reflow as contents change.
You’ll want to use Auto layout on a frame to accommodate things such as images or longer text strings to maintain alignment as your design continues to evolve.
Again, a component is something like a button or icon that you intend to use over and over again throughout your design.
In summary, auto layout is for alignment and keeping things looking neat inside your frames or components inside a frame. Components should be used as the different elements inside your design, such as your brand icon that you want to appear on every page.
More info about auto layout and components is available here:
Figma Learn - Help CenterEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.