Popular Searches
Popular Course Categories
Popular Courses

Vertical Auto Layout

Vertical Auto Layout

Auto Layout

Vertical Auto Layout in Figma

Vertical Auto Layout in Figma is a powerful layout system used to arrange elements from top to bottom along the y-axis. It automatically manages the position, spacing, padding, alignment, and resizing of elements when content changes. Vertical Auto Layout is especially useful for forms, cards, lists, dashboards, articles, mobile screens, news feeds, timelines, menus, profile sections, notifications, and other interfaces where content naturally flows vertically.

Learn professional Figma UI/UX design concepts with JustAcademy Figma Training and build practical responsive interface projects. You can also Register for Figma Course Demo to understand the course structure and learning approach.


1. What is Vertical Auto Layout?

Vertical Auto Layout is an Auto Layout flow in Figma that automatically arranges child objects from top to bottom along the y-axis. When objects are added, removed, reordered, or resized, Figma automatically adjusts their position according to the defined gap, padding, alignment, and resizing settings.

Vertical Auto Layout

        |

        v

+--------------------------+

| Heading                  |

|                          |

| Description              |

|                          |

| Input Field              |

|                          |

| Password Field           |

|                          |

| Login Button             |

+--------------------------+

        |

        v

Elements flow from TOP to BOTTOM

For example, a login form normally contains a heading, description, email field, password field, and button. Since these elements naturally appear one below another, Vertical Auto Layout is an ideal choice.


2. Why Use Vertical Auto Layout?

Without Auto Layout, designers often need to manually move elements whenever text changes or a new element is added. Vertical Auto Layout removes much of this manual work by allowing Figma to calculate the position of child objects automatically.

  • Automatically stacks elements from top to bottom.
  • Maintains consistent spacing between objects.
  • Automatically responds to content changes.
  • Allows frames to grow or shrink according to content.
  • Makes forms easier to create and maintain.
  • Makes cards responsive.
  • Supports reusable components.
  • Works well with text-heavy layouts.
  • Supports Hug Contents, Fill Container, and Fixed sizing.
  • Supports vertical wrapping into multiple columns.
  • Allows nested Auto Layout structures.
  • Reduces manual alignment and positioning.
  • Makes design handoff easier for developers.


3. Vertical Auto Layout and the Y-Axis

The main characteristic of Vertical Auto Layout is that child objects follow the y-axis. New objects are added into the vertical flow, and existing objects move when the structure changes.

Y-Axis

  |

  v

  +------------------+

  | Heading          |

  +------------------+

          |

          v

  +------------------+

  | Description      |

  +------------------+

          |

          v

  +------------------+

  | Input            |

  +------------------+

          |

          v

  +------------------+

  | Button           |

  +------------------+

Figma's current documentation describes Vertical Auto Layout as a flow that places objects along the y-axis. Objects that are added, removed, or reordered continue to follow that vertical flow. :contentReference[oaicite:0]{index=0}


4. Parent and Child Structure

Auto Layout is based on a parent-child relationship. The parent is the Auto Layout frame, while the objects inside the frame are its children.

Vertical Auto Layout Frame

|

+-- Heading

+-- Description

+-- Email Field

+-- Password Field

+-- Button

The parent controls the overall flow, padding, gap, alignment, wrapping, and available space. Child objects can have their own resizing behavior.


5. Vertical Auto Layout vs Regular Frame

FeatureRegular FrameVertical Auto Layout
Automatic stackingNoYes
Vertical flowManualAutomatic
Spacing managementManualAutomatic
Content resizingMore manualResponsive
Adding elementsMay require repositioningAutomatic
Removing elementsMay require repositioningAutomatic
PaddingManual positioningBuilt-in
Long contentCan require manual adjustmentCan adapt automatically
Reusable componentsMore difficultEasier


6. Vertical vs Horizontal vs Grid Auto Layout

Figma currently provides three Auto Layout flows: Vertical, Horizontal, and Grid. The correct flow depends on the structure of the content.

FlowDirectionCommon Use
VerticalTop to bottomForms, cards, lists, articles
HorizontalLeft to rightNavigation, buttons, tabs, toolbars
GridRows and columnsDashboards, galleries, bento layouts


7. How to Create Vertical Auto Layout

You can apply Auto Layout to an existing frame or to a selection of layers. Figma then allows you to choose Vertical, Horizontal, or Grid flow.

Method 1: Keyboard Shortcut

  1. Select the layers that should be arranged vertically.
  2. Press Shift + A.
  3. Figma creates or applies an Auto Layout frame.
  4. Open the Auto Layout settings in the right sidebar.
  5. Select the Vertical flow.

Method 2: Right Sidebar

  1. Select a frame or multiple layers.
  2. Find the Auto Layout section in the right sidebar.
  3. Click Add Auto Layout.
  4. Select Vertical flow.

Method 3: Right-Click

  1. Select the desired frame or layers.
  2. Right-click the selection.
  3. Select Add Auto Layout.
  4. Choose Vertical flow.

Figma's current guide confirms that Auto Layout can be added with Shift + A, through the right sidebar, or through the right-click menu. :contentReference[oaicite:1]{index=1}


8. Creating Vertical Auto Layout from an Empty Frame

You can create an empty frame first and then configure it as a Vertical Auto Layout frame before adding content.

Create Frame

    |

    v

Apply Auto Layout

    |

    v

Select Vertical Flow

    |

    v

Set Padding

    |

    v

Set Gap

    |

    v

Set Alignment

    |

    v

Add Child Elements

This workflow is useful when building reusable components, cards, forms, or page sections from scratch.


9. Applying Vertical Auto Layout to Existing Layers

Suppose you already have a heading, description, input field, and button placed manually. Select all of them and press Shift + A. Figma creates an Auto Layout frame around the selected layers, after which you can select Vertical flow.

Before Auto Layout

 

Heading

 

Description

 

Input

 

Button

 

        |

        | Shift + A

        v

 

After Auto Layout

 

+----------------------+

| Heading              |

| Description          |

| Input                |

| Button               |

+----------------------+


10. Padding in Vertical Auto Layout

Padding is the space between the boundary of the parent Auto Layout frame and its child objects. It creates internal breathing room around the content.

+--------------------------------------+

|             Top Padding              |

|                                      |

|  Heading                             |

|                                      |

|  Description                         |

|                                      |

|  Button                              |

|                                      |

|            Bottom Padding             |

+--------------------------------------+

Figma allows padding to be set uniformly, horizontally and vertically, or independently for top, right, bottom, and left sides. :contentReference[oaicite:2]{index=2}


11. Top Padding

Top padding defines the distance between the top edge of the parent frame and the first child.

+----------------------------+

|                            |

|      Top Padding           |

|                            |

|      Heading               |

|      Description           |

|      Button                |

+----------------------------+

Top padding is useful for cards, dialogs, forms, and content sections.


12. Bottom Padding

Bottom padding defines the distance between the last child and the bottom edge of the parent.

+----------------------------+

| Heading                    |

| Description                |

| Button                     |

|                            |

|      Bottom Padding        |

|                            |

+----------------------------+


13. Left and Right Padding

Left and right padding control the horizontal breathing room between children and the parent frame.

+--------------------------------------+

| 24px  [ Content Area ]        24px   |

+--------------------------------------+

Horizontal padding is particularly important for cards, forms, mobile screens, sidebars, and content containers.


14. Individual Padding

Different padding values can be assigned to each side when the design requires asymmetric spacing.

SideExample
Top24px
Right16px
Bottom32px
Left16px

Individual padding can be useful for specialized layouts, although consistent spacing tokens are generally easier to maintain across a design system.


15. Gap Between Vertical Items

Gap defines the distance between child objects inside an Auto Layout frame. In Vertical Auto Layout, the normal numeric gap controls the vertical distance between adjacent children.

[Heading]

   |

  16px

   |

[Description]

   |

  16px

   |

[Input]

   |

  16px

   |

[Button]

A consistent gap creates a predictable visual rhythm and prevents designers from manually positioning each object.


16. Numeric Gap

A numeric gap specifies an exact amount of space between child objects.

GapTypical Use
4pxVery closely related elements
8pxCompact spacing
12pxSmall component groups
16pxCommon component spacing
24pxMajor content groups
32pxLarge sections
48pxMajor page-level separation


17. Auto Gap

Instead of using a fixed number, Auto spacing distributes available space between objects. For vertical and horizontal flows, Figma provides Auto spacing options such as Between, Around, and Evenly. :contentReference[oaicite:3]{index=3}

Between

Between distributes the available space between the child objects.

+----------------------------+

| Heading                    |

|                            |

|                            |

| Description                |

|                            |

|                            |

| Button                     |

+----------------------------+

Around

Around distributes space around each child object.

Evenly

Evenly distributes available space equally across the relevant spaces.


18. Alignment in Vertical Auto Layout

Alignment determines where child objects sit along the cross-axis. Because Vertical Auto Layout flows vertically, its cross-axis is horizontal.

Left                Center                Right

+--------+          +--------+          +--------+

|Item    |          |  Item  |          |    Item|

|Item    |          |  Item  |          |    Item|

|Item    |          |  Item  |          |    Item|

+--------+          +--------+          +--------+

With numeric spacing, Figma provides nine alignment positions. When Auto spacing is used, the vertical flow provides Left, Center, and Right alignment options. :contentReference[oaicite:4]{index=4}


19. Left Alignment

Left alignment places child objects against the left side of the available content area.

+--------------------------------+

| Heading                        |

| Description                    |

| Input                          |

| Button                         |

+--------------------------------+

Left alignment is commonly used for forms, articles, settings pages, cards, and dashboard content.


20. Center Alignment

Center alignment places the children horizontally in the center of the parent.

+--------------------------------+

|                                |

|           Heading              |

|           Description          |

|           [Button]             |

|                                |

+--------------------------------+

Center alignment works well for onboarding screens, empty states, login screens, confirmation pages, and promotional sections.


21. Right Alignment

Right alignment places child objects toward the right side of the parent.

+--------------------------------+

|                        Heading |

|                    Description |

|                          Button |

+--------------------------------+

Right alignment can be useful for numerical information, specialized dashboards, and specific editorial layouts.


22. Hug Contents

Hug Contents allows an Auto Layout frame to resize itself according to its children while respecting padding and spacing. It is especially useful when the height of a component should grow automatically as its content changes.

Short Content:

 

+----------------------------+

| Heading                    |

| Description                |

| Button                     |

+----------------------------+

 

Long Content:

 

+----------------------------+

| Heading                    |

| Longer description text    |

| that needs more space      |

| Additional content         |

| Button                     |

+----------------------------+

Figma defines Hug Contents as a resizing behavior that keeps an Auto Layout frame at the smallest size needed to contain its children and spacing. :contentReference[oaicite:5]{index=5}


23. Fill Container

Fill Container allows a child layer to occupy the available space in its parent while respecting padding and other spacing settings.

+------------------------------------------+

| Heading                                  |

|                                          |

| [             Input Field             ] |

|                                          |

| [             Input Field             ] |

|                                          |

| [              Button                  ] |

+------------------------------------------+

Fill Container can be used on child objects inside Auto Layout frames and is particularly useful for full-width inputs, buttons, and content areas. :contentReference[oaicite:6]{index=6}


24. Fixed Width and Height

Fixed sizing maintains a specific dimension even when surrounding content changes.

Card Width  = Fixed

Card Height = Hug Contents

 

Content changes

      |

      v

Card height adjusts

Card width remains controlled

Fixed dimensions are useful when a design requires a predictable width or height.


25. Minimum and Maximum Dimensions

Minimum and maximum dimensions allow designers to control how far a frame or child can shrink or expand.

Minimum Height = 200px

Maximum Height = 600px

 

200px <= Component Height <= 600px

Figma supports minimum and maximum width and height settings alongside other resizing properties. :contentReference[oaicite:7]{index=7}


26. Vertical Auto Layout for Forms

Forms are one of the most common applications of Vertical Auto Layout because their fields naturally appear in a top-to-bottom sequence.

+--------------------------------+

| Create Account                 |

|                                |

| Full Name                      |

| [__________________________]   |

|                                |

| Email                          |

| [__________________________]   |

|                                |

| Password                       |

| [__________________________]   |

|                                |

|        [Create Account]        |

+--------------------------------+


27. Form Field Structure

A professional form field can be created as a nested Vertical Auto Layout component.

Form Field

|

+-- Label

|

+-- Input

|

+-- Helper Text / Error Message

This structure allows an error message to appear without manually moving the fields below it.


28. Login Form

A login form can be created almost entirely with nested Auto Layout frames.

Login Form

|

+-- Heading

+-- Description

+-- Email Field

+-- Password Field

+-- Remember Me

+-- Login Button

+-- Forgot Password

+-- Sign Up Link

The main form uses Vertical Auto Layout, while smaller rows such as Remember Me can use Horizontal Auto Layout.


29. Registration Form

A registration form can combine Vertical and Horizontal Auto Layout.

Registration Form

|

+-- Heading

+-- Description

+-- Name Row

|    +-- First Name

|    +-- Last Name

+-- Email

+-- Password

+-- Confirm Password

+-- Terms

+-- Submit Button

The main structure flows vertically while the first-name and last-name fields can be arranged horizontally.


30. Vertical Auto Layout for Cards

Cards are naturally suited to Vertical Auto Layout because content usually flows from image or heading to description, metadata, and actions.

+--------------------------------+

|            [Image]             |

|                                |

| Product Title                  |

| Product description goes here  |

| and can contain more content.  |

|                                |

| ₹999                           |

|                                |

| [Add to Cart]                  |

+--------------------------------+

The card can use Hug Contents for height so it automatically grows when the description becomes longer.


31. Product Card

Product Card

|

+-- Product Image

+-- Product Information

|    |

|    +-- Brand

|    +-- Product Name

|    +-- Rating

|    +-- Price

|

+-- Actions

     |

     +-- Wishlist

     +-- Add to Cart

The Product Information section can use Vertical Auto Layout, while the Actions section can use Horizontal Auto Layout.


32. News Card

A news card can contain an image, category, headline, summary, author, and date. Vertical Auto Layout allows the card to respond when a headline or summary becomes longer.

News Card

|

+-- Image

+-- Category

+-- Headline

+-- Summary

+-- Author Row

     |

     +-- Avatar

     +-- Author

     +-- Date


33. Social Media Post

Social media posts are an excellent example of nested Vertical Auto Layout.

Post

|

+-- Profile Row

|    +-- Avatar

|    +-- Name

|    +-- More

|

+-- Image

|

+-- Action Row

|

+-- Like Count

|

+-- Caption

|

+-- Comments

|

+-- Timestamp

Figma's documentation uses social media posts as an example of layouts where content naturally flows vertically. :contentReference[oaicite:8]{index=8}


34. Timeline

A timeline is a natural Vertical Auto Layout structure because events appear sequentially from top to bottom.

Timeline

|

+-- Event 1

|

+-- Event 2

|

+-- Event 3

|

+-- Event 4

|

+-- Event 5

Each timeline item can be a reusable component containing its own icon, date, title, and description.


35. To-Do List

A to-do list is another simple example of Vertical Auto Layout.

+--------------------------------+

| My Tasks                       |

|                                |

| [ ] Complete Figma Course      |

| [x] Create Wireframe           |

| [ ] Design Dashboard           |

| [ ] Review Prototype           |

+--------------------------------+

When a task is added or removed, the remaining tasks automatically reposition themselves.


36. Notification List

A notification center can use a Vertical Auto Layout parent with individual notification components.

Notifications

|

+-- Notification 1

+-- Notification 2

+-- Notification 3

+-- Notification 4

+-- Notification 5

Removing one notification causes the following notifications to move into the available space automatically.


37. Settings Page

A settings page can be organized into vertically stacked sections.

Settings

|

+-- Profile Section

|    +-- Name

|    +-- Email

|

+-- Security Section

|    +-- Password

|    +-- Two-Factor Authentication

|

+-- Notification Section

|    +-- Email Notifications

|    +-- Push Notifications

|

+-- Save Button


38. Article Page

Article pages are naturally vertical because their content flows from title to metadata, image, paragraphs, headings, and related content.

Article

|

+-- Category

+-- Title

+-- Subtitle

+-- Author

+-- Date

+-- Hero Image

+-- Introduction

+-- Section 1

+-- Section 2

+-- Section 3

+-- Related Articles


39. Landing Page

A landing page can use a Vertical Auto Layout frame as its main structure.

Landing Page

|

+-- Header

+-- Hero Section

+-- Features

+-- Testimonials

+-- Pricing

+-- FAQ

+-- CTA

+-- Footer

Each section can be a nested Auto Layout frame with its own padding, gap, alignment, and resizing behavior.


40. FAQ Section

Frequently Asked Questions are usually displayed as a vertical list.

FAQ

|

+-- Question 1

+-- Question 2

+-- Question 3

+-- Question 4

+-- Question 5

Each FAQ item can contain a question row and answer content inside a nested Auto Layout frame.


41. Accordion Component

An accordion can use Vertical Auto Layout to manage expanded and collapsed content.

Accordion Item

|

+-- Question Row

|    +-- Question

|    +-- Arrow

|

+-- Answer Content

When the answer is shown, the component grows vertically and pushes the content below it downward.


42. Profile Card

A profile card can contain an avatar, name, role, biography, statistics, and actions.

Profile Card

|

+-- Avatar

+-- Name

+-- Role

+-- Bio

+-- Statistics

+-- Actions

The Statistics and Actions sections can use Horizontal Auto Layout inside the Vertical parent.


43. Pricing Card

Pricing cards are generally structured vertically.

Pricing Card

|

+-- Plan Name

+-- Price

+-- Billing Period

+-- Description

+-- Feature List

+-- CTA Button

The feature list itself can use another Vertical Auto Layout frame.


44. Feature List

A feature list can contain vertically stacked feature rows.

Features

|

+-- [✓] Unlimited Projects

+-- [✓] Team Collaboration

+-- [✓] Advanced Analytics

+-- [✓] Priority Support

Each individual feature row can use Horizontal Auto Layout while the complete list uses Vertical Auto Layout.


45. Vertical Auto Layout with Text

Vertical Auto Layout is particularly valuable for text-heavy interfaces. Headings, paragraphs, captions, and other text layers can stack automatically.

Article Section

|

+-- Heading

|

+-- Paragraph

|

+-- Paragraph

|

+-- Subheading

|

+-- Paragraph

When a paragraph becomes longer, the elements below it can move downward automatically.


46. Long Text and Text Resizing

Long text needs special attention in Auto Layout. Fixed-size text boxes can cause clipping or overlap when the content becomes longer.

Short Text

|

+-- Heading

+-- Short Description

+-- Button

 

Long Text

|

+-- Heading

+-- Longer Description

|   that needs more

|   vertical space

+-- Button

For fluid Auto Layout designs, avoid unnecessary fixed-size text boxes. Figma recommends suitable text resizing because fixed-size text layers may not expand when content grows and can cause overlap. :contentReference[oaicite:9]{index=9}


47. Vertical Auto Layout with Images

Images can be placed inside vertical cards and content sections.

+----------------------------+

|                            |

|          IMAGE             |

|                            |

+----------------------------+

| Title                      |

| Description                |

| Button                     |

+----------------------------+

The image can use a fixed height while the text section can use Hug Contents.


48. Image and Content Card

Card

|

+-- Image

|

+-- Content

     |

     +-- Category

     +-- Title

     +-- Description

     +-- Action

This pattern is common for e-commerce products, blogs, news articles, courses, and portfolio projects.


49. Nested Auto Layout

Nested Auto Layout means placing an Auto Layout frame inside another Auto Layout frame. This is essential for creating complex responsive interfaces.

Main Vertical Frame

|

+-- Header Horizontal Frame

|    +-- Logo

|    +-- Navigation

|

+-- Content Vertical Frame

|    +-- Heading

|    +-- Description

|    +-- Cards

|

+-- Footer Horizontal Frame

     +-- Links

     +-- Social Icons

Figma explains that nested Auto Layout frames can combine vertical, horizontal, and grid flows, with each nested frame having its own padding, gap, and resizing behavior. :contentReference[oaicite:10]{index=10}


50. Vertical Parent with Horizontal Child

A Vertical Auto Layout parent can contain Horizontal Auto Layout children.

Vertical Parent

|

+-- Heading

|

+-- Horizontal Action Row

|    +-- Cancel

|    +-- Save

|

+-- Description

|

+-- Horizontal Information Row

     +-- Icon

     +-- Details

This is a common pattern for forms, dialogs, cards, dashboards, and settings screens.


51. Vertical Parent with Vertical Children

Large screens can be divided into multiple vertical Auto Layout sections.

Page

|

+-- Header Section

|    +-- Title

|    +-- Subtitle

|

+-- Form Section

|    +-- Field

|    +-- Field

|    +-- Field

|

+-- Action Section

     +-- Button

This structure makes large designs easier to maintain because each section can have independent spacing and padding.


52. Vertical Auto Layout for Components

Components can use Vertical Auto Layout to create reusable cards, forms, alerts, menus, and content blocks.

Card Component

|

+-- Image

+-- Title

+-- Description

+-- Action

When component content changes, the Auto Layout frame can resize according to its configuration.

Figma components are frames, so Auto Layout can be applied to them. The main component and its instances have different editing capabilities for layers, padding, gap, and other properties. :contentReference[oaicite:11]{index=11}


53. Variants with Vertical Auto Layout

Vertical Auto Layout works well with component variants such as Default, Active, Disabled, Expanded, Collapsed, Loading, Error, and Success.

VariantExample
DefaultNormal content
ExpandedAdditional content visible
CollapsedAdditional content hidden
LoadingSpinner and loading message
ErrorError message displayed
SuccessSuccess confirmation displayed


54. Vertical Auto Layout for Alerts

An alert can contain an icon, title, description, and action button.

Alert

|

+-- Icon

+-- Title

+-- Description

+-- Action Button

When the description becomes longer, the alert can expand vertically without requiring manual repositioning.


55. Vertical Auto Layout for Error Messages

Form validation messages are a strong use case for Vertical Auto Layout.

Email Field

|

+-- Label

+-- Input

+-- Error Message

When the error message appears, the content below the field moves down automatically.


56. Vertical Auto Layout for Success Messages

A success state can be designed as a vertical stack.

Success State

|

+-- Success Icon

+-- Heading

+-- Description

+-- Continue Button


57. Vertical Auto Layout for Empty States

Empty states often use a centered vertical structure.

+--------------------------------+

|                                |

|          [Illustration]        |

|                                |

|          No Projects           |

|                                |

|     Create your first project  |

|                                |

|        [Create Project]        |

|                                |

+--------------------------------+

The parent can use Vertical Auto Layout with center alignment.


58. Vertical Auto Layout for Modal Dialogs

Modal dialogs can use Vertical Auto Layout to stack their title, message, content, and action area.

Modal

|

+-- Title

+-- Description

+-- Content

+-- Action Row

     +-- Cancel

     +-- Confirm

The Action Row can use Horizontal Auto Layout inside the Vertical parent.


59. Vertical Auto Layout for Sidebars

Sidebars can use Vertical Auto Layout to stack navigation groups.

Sidebar

|

+-- Logo

+-- Main Navigation

|    +-- Dashboard

|    +-- Projects

|    +-- Reports

|

+-- Workspace

|    +-- Team

|    +-- Settings

|

+-- User Profile


60. Vertical Auto Layout for Mobile Screens

Mobile interfaces frequently use vertical structures because users normally consume content from top to bottom.

Mobile Screen

|

+-- Header

+-- Hero

+-- Search

+-- Categories

+-- Product List

+-- Footer

Each major section can be implemented as a nested Auto Layout frame.


61. Vertical Auto Layout for Onboarding

Onboarding screens commonly contain an illustration, heading, description, pagination, and action button.

Onboarding

|

+-- Illustration

+-- Heading

+-- Description

+-- Pagination

+-- Continue Button

Vertical Auto Layout helps maintain consistent spacing when the content changes.


62. Vertical Auto Layout for Checkout

Checkout pages naturally consist of vertically stacked sections.

Checkout

|

+-- Contact Information

+-- Shipping Address

+-- Delivery Method

+-- Payment Method

+-- Order Summary

+-- Place Order

Each section can use nested Auto Layout while the overall page uses Vertical Auto Layout.


63. Vertical Auto Layout for Product Details

An e-commerce product details page can use Vertical Auto Layout for its content hierarchy.

Product Details

|

+-- Product Image

+-- Brand

+-- Product Name

+-- Rating

+-- Price

+-- Description

+-- Size Selection

+-- Quantity

+-- Add to Cart

+-- Delivery Information


64. Vertical Auto Layout for Chat Interfaces

Chat messages can be arranged vertically inside a conversation container.

Conversation

|

+-- Message 1

+-- Message 2

+-- Message 3

+-- Message 4

+-- Message 5

Each message bubble can have its own nested Auto Layout for message text, timestamp, reactions, and attachments.


65. Vertical Auto Layout for Comments

Comments naturally stack vertically.

Comments

|

+-- Comment 1

|    +-- User

|    +-- Text

|    +-- Actions

|

+-- Comment 2

|    +-- User

|    +-- Text

|    +-- Actions

|

+-- Comment 3


66. Vertical Auto Layout for Menus

Dropdown menus and side menus can use Vertical Auto Layout to stack menu items.

Menu

|

+-- Dashboard

+-- Profile

+-- Settings

+-- Help

+-- Logout

Each menu item can use Horizontal Auto Layout internally for its icon and label.


67. Vertical Auto Layout for Dropdown Content

Dropdown

|

+-- Item

|    +-- Icon

|    +-- Label

|

+-- Item

|    +-- Icon

|    +-- Label

|

+-- Item

     +-- Icon

     +-- Label

The dropdown itself uses Vertical Auto Layout, while individual items can use Horizontal Auto Layout.


68. Vertical Wrap

Vertical Auto Layout also supports Wrap. With Vertical Wrap enabled, objects flow from top to bottom and move into a new column when they reach the available height of the frame.

Column 1       Column 2

+--------+     +--------+

| Item 1 |     | Item 4 |

| Item 2 |     | Item 5 |

| Item 3 |     | Item 6 |

+--------+     +--------+

Figma explains that Vertical Wrap fills the frame from top to bottom and then continues into a new column. It is useful for fixed-height multi-column layouts such as checkbox lists, product blurbs, and bios. Vertical Wrap is not masonry; objects remain in Auto Layout order. :contentReference[oaicite:12]{index=12}


69. When to Use Vertical Wrap

  • Checkbox lists.
  • Multi-column menus.
  • Product information collections.
  • Biography layouts.
  • Fixed-height content lists.
  • Compact multi-column content.


70. Vertical Auto Layout and Responsive Design

Vertical Auto Layout is highly useful for responsive design because content can naturally push following elements downward when its height changes.

Desktop

+-----------------------------+

| Heading                     |

| Description                 |

| Form                        |

| Actions                     |

+-----------------------------+

 

Mobile

+-----------------------------+

| Heading                     |

| Description                 |

| Form                        |

| Actions                     |

+-----------------------------+

Responsive behavior depends on correctly combining flow, padding, gap, alignment, and resizing properties.


71. Fixed Width + Hug Height

A common professional pattern is Fixed Width combined with Hug Contents for Height.

Card Width  = Fixed

Card Height = Hug Contents

 

Content grows

      |

      v

Height grows automatically

Width remains controlled

This is useful for cards, notifications, articles, messages, and product information.


72. Fill Width + Hug Height

A content section can fill the available width while its height grows according to its content.

+------------------------------------------+

| Heading                                  |

| Description                              |

| Additional content                       |

| Button                                   |

+------------------------------------------+

This pattern is useful for responsive forms, cards, and page sections.


73. Fixed Height + Vertical Wrap

When using Vertical Wrap, the fixed height of the frame determines when items move into the next column.

Fixed Height

      |

      v

+--------+--------+

| Item 1 | Item 4 |

| Item 2 | Item 5 |

| Item 3 | Item 6 |

+--------+--------+

        ^

        |

   New column


74. Vertical Auto Layout for Design Systems

Vertical Auto Layout is important when creating scalable design systems. Components can define consistent padding, gap, and content behavior and then be reused throughout multiple screens.

ComponentRecommended Flow
Form FieldVertical
ButtonHorizontal
CardVertical
MenuVertical
Navigation ItemHorizontal
AlertVertical
ModalVertical
Action GroupHorizontal


75. Vertical Auto Layout and Design Tokens

Design systems often use predefined spacing values such as 4px, 8px, 12px, 16px, 24px, and 32px. Using consistent values for Auto Layout gaps and padding helps maintain visual consistency.

Spacing Tokens

4px   = XS

8px   = SM

12px  = Small

16px  = Medium

24px  = Large

32px  = XL

48px  = XXL


76. Vertical Auto Layout and Components

When creating reusable components, define the structure so it can accommodate different content lengths.

Reusable Card

|

+-- Image

+-- Content

|    +-- Title

|    +-- Description

|    +-- Metadata

|

+-- Action

Auto Layout makes it easier to reuse the same component with different text, images, and content.


77. Vertical Auto Layout and Variables

Figma variables can be used with design systems to manage reusable values such as spacing, colors, typography, and dimensions. Auto Layout can then use consistent values throughout components and screens.

This reduces repetitive manual changes and supports scalable design systems.


78. Vertical Auto Layout and Prototyping

Auto Layout can affect prototype behavior because an Auto Layout parent can resize according to its content. If you need scrolling overflow and clipping, an Auto Layout content frame can be placed inside a regular frame that acts as the viewport.

Figma explains that content-driven Auto Layout parents resize to fit their objects, while a regular outer frame can be used when a clipped scrolling viewport is required. :contentReference[oaicite:13]{index=13}


79. Vertical Auto Layout for Scrollable Content

Viewport Frame

|

+-- Scrollable Content Frame

     |

     +-- Header

     +-- Card 1

     +-- Card 2

     +-- Card 3

     +-- Card 4

     +-- Card 5

The inner content can use Vertical Auto Layout while the outer regular frame defines the visible viewport.


80. Common Mistakes in Vertical Auto Layout

Mistake 1: Manually Positioning Every Element

Manual positioning makes the layout difficult to maintain when content changes.

Mistake 2: Using Fixed Heights Everywhere

Fixed heights can cause clipping when text or content becomes longer.

Mistake 3: Ignoring Text Resizing

Incorrect text resizing can cause overlap between layers.

Mistake 4: Using Random Gaps

Inconsistent spacing creates an unprofessional visual rhythm.

Mistake 5: Choosing the Wrong Alignment

Incorrect alignment can make content appear visually unbalanced.

Mistake 6: Not Using Nested Auto Layout

Complex screens become difficult to maintain when every element is controlled by one huge frame.

Mistake 7: Overusing Fixed Dimensions

Too many fixed dimensions can reduce responsiveness.

Mistake 8: Not Testing Long Content

Always test realistic content instead of relying only on short placeholder text.


81. Best Practices for Vertical Auto Layout

  • Use Vertical Auto Layout when content naturally flows from top to bottom.
  • Use consistent spacing values.
  • Use Hug Contents for content-driven sections.
  • Use Fill Container for flexible child elements.
  • Use Fixed dimensions only where necessary.
  • Use nested Auto Layout for complex structures.
  • Use components for repeated UI patterns.
  • Test both short and long content.
  • Test different screen widths.
  • Use Vertical Wrap only when a column-based flow is actually required.
  • Use minimum and maximum dimensions when appropriate.
  • Keep the layer hierarchy clean.
  • Use meaningful layer names.
  • Use design-system spacing consistently.
  • Test prototype scrolling when designing long content.


82. Professional Workflow

Identify Content

      |

      v

Group Related Elements

      |

      v

Apply Auto Layout

      |

      v

Choose Vertical Flow

      |

      v

Set Padding

      |

      v

Set Gap

      |

      v

Set Alignment

      |

      v

Configure Width and Height

      |

      v

Configure Hug / Fill / Fixed

      |

      v

Add Nested Auto Layout

      |

      v

Create Component

      |

      v

Test Long Content

      |

      v

Test Responsive Behavior

      |

      v

Reuse Across Screens


83. Practical Project: Login Form

Create a complete responsive login form using Vertical Auto Layout.

  1. Create a frame for the login form.
  2. Apply Auto Layout.
  3. Select Vertical flow.
  4. Add a heading.
  5. Add a description.
  6. Create an email field.
  7. Create a password field.
  8. Add a Remember Me row.
  9. Add a login button.
  10. Add a Forgot Password link.
  11. Add a registration link.
  12. Set padding and gaps.
  13. Test different text lengths.

+--------------------------------+

| Welcome Back                   |

| Sign in to continue            |

|                                |

| Email                          |

| [__________________________]   |

|                                |

| Password                       |

| [__________________________]   |

|                                |

| [ ] Remember Me                |

|                                |

| [          Login            ]  |

|                                |

| Forgot Password?               |

|                                |

| Create an Account              |

+--------------------------------+


84. Practical Project: Product Card

Create a reusable e-commerce product card using Vertical Auto Layout.

Product Card

|

+-- Image

+-- Brand

+-- Product Name

+-- Rating

+-- Price

+-- Discount

+-- Add to Cart

Recommended structure:

  • Card width: Fixed.
  • Card height: Hug Contents.
  • Image height: Fixed.
  • Content: Vertical Auto Layout.
  • Button: Fill Container or Hug Contents.


85. Practical Project: News Article Card

Create a responsive news card.

News Card

|

+-- Image

+-- Category

+-- Headline

+-- Description

+-- Author Row

+-- Read More

Use Vertical Auto Layout for the main card and Horizontal Auto Layout for the author row.


86. Practical Project: Profile Card

Create a profile card containing an avatar, name, role, description, statistics, and actions.

Profile Card

|

+-- Avatar

+-- Name

+-- Role

+-- Bio

+-- Statistics Row

+-- Action Buttons

The Statistics Row and Action Buttons can use Horizontal Auto Layout nested inside the vertical parent.


87. Practical Project: Pricing Card

Create a pricing card using Vertical Auto Layout.

Pricing Plan

|

+-- Plan Name

+-- Price

+-- Description

+-- Feature List

|    +-- Feature 1

|    +-- Feature 2

|    +-- Feature 3

|    +-- Feature 4

|

+-- CTA Button

Set the feature list to Vertical Auto Layout so additional features can be added without manually moving the CTA button.


88. Practical Project: FAQ Accordion

Create a reusable FAQ accordion component.

FAQ Item

|

+-- Question Row

|    +-- Question

|    +-- Arrow

|

+-- Answer

|    +-- Paragraph

|

+-- Related Link

When the answer becomes visible, the component should grow vertically and move following content downward.


89. Practical Project: Dashboard Page

Create a dashboard using a vertical page structure.

Dashboard

|

+-- Header

+-- Filter Section

+-- Statistics Section

|    +-- Card

|    +-- Card

|    +-- Card

|

+-- Analytics Section

+-- Recent Activity

+-- Table

+-- Footer

Use Horizontal Auto Layout for the statistics row and Vertical Auto Layout for the overall page structure.


90. Practical Project: Mobile Shopping Screen

Create a mobile shopping screen using Vertical Auto Layout.

Shopping Screen

|

+-- Header

+-- Search Bar

+-- Category Section

+-- Banner

+-- Product Section

|    +-- Product Card

|    +-- Product Card

|    +-- Product Card

|

+-- Recommendation Section

+-- Footer


91. Practical Project: Notification Center

Create a notification center with a vertically stacked notification list.

Notification Center

|

+-- Header

+-- Notification 1

+-- Notification 2

+-- Notification 3

+-- Notification 4

+-- Notification 5

+-- Mark All as Read


92. Debugging Vertical Auto Layout

When a Vertical Auto Layout behaves unexpectedly, inspect its properties systematically.

Problem

  |

  +-- Check Flow

  |

  +-- Check Padding

  |

  +-- Check Gap

  |

  +-- Check Alignment

  |

  +-- Check Width

  |

  +-- Check Height

  |

  +-- Check Hug / Fill / Fixed

  |

  +-- Check Min / Max

  |

  +-- Check Text Resizing

  |

  +-- Check Nested Frames

  |

  +-- Check Wrap

  |

  +-- Test Long Content


93. Vertical Auto Layout Debugging Checklist

  • Is the parent using Vertical flow?
  • Is the gap correct?
  • Is the padding correct?
  • Is the alignment correct?
  • Is the parent height configured correctly?
  • Should the parent use Hug Contents?
  • Should the child use Fill Container?
  • Should any dimension remain Fixed?
  • Are minimum or maximum dimensions required?
  • Is Wrap enabled unnecessarily?
  • Is each nested frame using the correct flow?
  • Is text resizing correctly?
  • Does the layout handle longer content?
  • Does the layout work at different widths?
  • Does prototype scrolling work as expected?


94. Vertical Auto Layout Quick Reference

PropertyPurpose
Vertical FlowArranges children from top to bottom
PaddingControls space around children
GapControls space between children
Auto SpacingDistributes available space dynamically
AlignmentControls horizontal positioning of children
Hug ContentsSizes the frame according to its content
Fill ContainerAllows a child to occupy available space
FixedMaintains a fixed dimension
WrapMoves children into additional columns when required
Min HeightPrevents excessive shrinking
Max HeightPrevents excessive expansion
Nested Auto LayoutCreates complex responsive structures


95. Useful Keyboard Shortcuts

ActionMacWindows
Add Auto LayoutShift + AShift + A
Suggest Auto LayoutControl + Shift + AControl + Alt + Shift + A
Remove Auto LayoutOption + Shift + AAlt + Shift + A
Set AlignmentArrow KeysArrow Keys
Set Edge AlignmentW / A / S / DW / A / S / D
Toggle Auto GapXX
Set Hug ContentsDouble-click edgeDouble-click edge
Set Fill ContainerOption + Double-click edgeAlt + Double-click edge

Figma's current shortcut documentation confirms Shift + A for adding Auto Layout, Control + Shift + A on Mac and Control + Alt + Shift + A on Windows for Suggest Auto Layout, and Option/Alt + Shift + A for removing Auto Layout. :contentReference[oaicite:14]{index=14}


96. Interview Questions and Answers

Q1. What is Vertical Auto Layout in Figma?

Vertical Auto Layout is a layout flow that automatically arranges child objects from top to bottom along the y-axis.

Q2. What shortcut is used to add Auto Layout?

Shift + A is used to add Auto Layout.

Q3. What is the main benefit of Vertical Auto Layout?

It automatically manages vertical positioning, spacing, and resizing when content changes.

Q4. What is the difference between Vertical and Horizontal Auto Layout?

Vertical Auto Layout flows from top to bottom along the y-axis, while Horizontal Auto Layout flows from left to right along the x-axis.

Q5. What is Padding?

Padding is the space between the parent Auto Layout frame boundary and its child objects.

Q6. What is Gap?

Gap controls the distance or distribution between child objects.

Q7. What is Hug Contents?

Hug Contents makes an Auto Layout frame size itself according to its child objects and spacing.

Q8. What is Fill Container?

Fill Container allows a child object to occupy available space inside its Auto Layout parent.

Q9. What is Fixed sizing?

Fixed sizing maintains a specified width or height regardless of content changes.

Q10. What is Vertical Wrap?

Vertical Wrap allows objects to flow from top to bottom and continue in a new column when the available height is reached.

Q11. What is Nested Auto Layout?

Nested Auto Layout means placing one Auto Layout frame inside another to create complex responsive layouts.

Q12. Why is Vertical Auto Layout useful for forms?

Forms naturally flow from top to bottom, so fields can be stacked and automatically repositioned when content changes.

Q13. Why is Hug Contents useful for cards?

It allows the card height to grow or shrink according to its content.

Q14. Can Vertical Auto Layout be used inside components?

Yes. Components are frames, so Auto Layout can be applied to them.

Q15. Why should long text be tested?

Longer text can require additional height and may cause overlap or clipping if the text layer is configured incorrectly.


97. Interview Scenario

Question: You are designing a profile card with an avatar, name, description, statistics, and button. The description can have different lengths. How would you create it?

Answer: Create a Vertical Auto Layout parent and place the avatar, name, description, statistics section, and action section inside it. Use Hug Contents for the card height, consistent gaps between sections, and nested Horizontal Auto Layout for statistics and actions. Configure the description with an appropriate text resizing behavior so the card can grow naturally.


98. Professional Design Checklist

  • Use Vertical Auto Layout for top-to-bottom content.
  • Set consistent padding.
  • Use a consistent gap system.
  • Choose alignment intentionally.
  • Use Hug Contents for content-driven heights.
  • Use Fill Container for flexible children.
  • Use Fixed sizing only where required.
  • Use nested Auto Layout for complex layouts.
  • Use components for repeated structures.
  • Test long and short content.
  • Check text resizing settings.
  • Test different screen widths.
  • Use min and max dimensions when necessary.
  • Use Vertical Wrap only when appropriate.
  • Check prototype scrolling for long pages.
  • Maintain a clean layer hierarchy.


99. Quick Revision

Vertical Auto Layout

        |

        +-- Flow = Vertical

        |       |

        |       +-- Top to Bottom

        |

        +-- Padding

        |

        +-- Gap

        |

        +-- Alignment

        |

        +-- Resizing

        |       |

        |       +-- Hug Contents

        |       +-- Fill Container

        |       +-- Fixed

        |

        +-- Wrap

        |

        +-- Min / Max

        |

        +-- Nested Auto Layout

        |

        +-- Components

        |

        +-- Responsive Design


100. Key Takeaways

  • Vertical Auto Layout arranges objects from top to bottom.
  • It follows the y-axis.
  • Objects added, removed, or reordered follow the vertical flow.
  • Padding controls space between the parent boundary and its children.
  • Gap controls space between child objects.
  • Auto spacing distributes available space dynamically.
  • Alignment controls the cross-axis positioning of children.
  • Hug Contents is useful for content-driven frames.
  • Fill Container is useful for flexible child elements.
  • Fixed sizing is useful when a dimension must remain stable.
  • Vertical Wrap allows content to continue into additional columns.
  • Nested Auto Layout helps create complex responsive interfaces.
  • Vertical Auto Layout is highly useful for forms, cards, lists, dashboards, articles, menus, and mobile screens.
  • Long text should always be tested.
  • Components become easier to reuse and maintain when built with Auto Layout.


101. Conclusion

Vertical Auto Layout is one of the most important Figma skills for creating structured, responsive, and maintainable user interfaces. It automatically arranges elements from top to bottom and manages their spacing, padding, alignment, and resizing behavior. Instead of manually repositioning content whenever a heading becomes longer, a field is added, or an item is removed, designers can allow the layout to respond automatically.

Vertical Auto Layout is especially useful for forms, cards, articles, lists, dashboards, news feeds, timelines, notifications, menus, profile pages, pricing sections, mobile screens, modals, FAQ sections, and reusable components. When combined with Horizontal Auto Layout, nested frames, Hug Contents, Fill Container, Fixed sizing, Wrap, components, variants, and design-system spacing, it becomes a powerful foundation for professional UI design.

For structured Figma learning and practical UI/UX projects, explore JustAcademy Figma Training. You can also Register for Figma Course Demo to get started with professional Figma training.

whatsapp