Replicate Figma's "Auto Layout" feature for containing blocks #21494
Labels
[Block] Columns
Affects the Columns Block
[Block] Group
Affects the Group Block
[Feature] Design Tools
Tools that impact the appearance of blocks both to expand the number of tools and improve the experi
Now that we've been working on creating block patterns, I'm finding that spacing, margins, and paddings are some of the hardest layout elements to manipulate.
While working on Figma, I couldn't help but think that it would be incredibly useful to have something similar to their Auto Layout feature in some of Gutenberg's blocks, particularly those that are used as "containers" (group, column, etc.).
The Auto Layout feature in Figma basically takes care of spacing and alignment of child items inside a frame (a frame in Figma is similar to what we call a group in Gutenberg).
The tool looks like this:
It allows for the setting of horizontal and vertical direction, horizontal and vertical padding, and spacing between child elements.
In practice, it looks like this:
Being able to manipulate these settings on a per-block basis would be very useful when creating custom layouts and patterns.
The text was updated successfully, but these errors were encountered: