Over 11,000 five-star assets

Rated by 85,000+ customers

Supported by 100,000+ forum members

Every asset moderated by Unity

Home
Tools
GUI
1/5
A CSS Flexbox layout system implementation. Helps with dynamically arranging and sizing UI elements.
Render pipeline compatibility
The Built-in Render Pipeline is Unity’s default render pipeline. It is a general-purpose render pipeline that has limited options for customization. The Universal Render Pipeline (URP) is a Scriptable Render Pipeline that is quick and easy to customize, and lets you create optimized graphics across a wide range of platforms. The High Definition Render Pipeline (HDRP) is a Scriptable Render Pipeline that lets you create cutting-edge, high-fidelity graphics on high-end platforms.
Unity VersionBuilt-inURPHDRP
6000.0.39f1
Compatible
Compatible
Compatible
2021.3.15f1
Compatible
Compatible
Compatible
2020.3.12f1
Compatible
Compatible
Compatible
Description

A layout system driving UI rect-transform components. Suitable for many UI layout cases. Dynamically shrinks, wraps or grows items by their containers. Features are designed to reflect CSS' Flexbox behavior, with a few additions to improve customization.


Flex-Container Features:

  • Direction (Horizontal and Vertical) with reverse option.
  • Wrapping and Reverse-Wrapping
  • Justify-Content
  • Align-Content
  • Align-Items
  • Minimum Gap*
  • Padding*

Flex-Item Features:

  • Flex-Order
  • Flex-Grow
  • Flex-Shrink
  • Flex-Basis*
  • Minimum Size* and Maximum Size*
  • Align-Self
  • Margins*

* Sizes are validated dually (Relative Percentage + Constant in Pixels)


Includes a Flex Linker component which acts like a content size fitter, fitting flex-item sizes to its sub-container item sizes.


New feature in version 1.1.0! The Flex Aspect Ratio component now makes it easier to maintain or change the aspect ratio of an item, also with dynamic sizes.


Performance

  • Optimized to compute only when required.
  • Works with Unity's layout passes to minimize recomputing.

Other Features

  • Unity Animations supported.
  • Sub-containers fully supported.
  • Retains pivot points.
  • Includes full source code.

Limitations

  • Mainly for Axis-Aligned UI components.
  • CSS Flexbox 'Baseline' function is not available.
  • May not work with Unity's built-in layout components correctly.

Documentation

To familiarize yourself with with Flexbox, I recommend this online guide:

A CSS Guide To Flexbox

The documentation for this asset is also publicly available:

UI Flex Layout Documentation



CONTACT

Email: w7assets@gmail.com

UI Flex Layout

(3)
15 users have favourite this asset
(15)
$7.45
Seat
1
Updated price and taxes/VAT calculated at checkout
Refund policy
This asset is covered by the Unity Asset Store Refund Policy. Please see section 2.9.3 of the EULA for details.
Secure checkout:
Supported payment methods: Visa, Mastercard, Maestro, Paypal, Amex
License type
File size
256.6 KB
Latest version
1.1.2
Latest release date
Mar 31, 2025
Original Unity version
2020.3.12
Quality assets
Over 11,000 five-star assets
Trusted
Rated by 85,000+ customers
Community support
Supported by 100,000+ forum members
Unity logo
Language
Feedback
Partners Program
Partners
USD
EUR
Copyright © 2025 Unity Technologies
All prices are exclusive of tax
USD
EUR