RepositoryC++BRBrazil
gilzoide

gilzoide/unity-flex-ui

Flexbox layout support for Unity UI using the Yoga layout engine

238stars
25forks
7issues
4views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: autolayout

#1 Repository of the month

1
TINIX TRENDING·Topic: upm-package

#1 Repository of the month

1
TINIX TRENDING·Topic: upm

#1 Repository of the month

Flex UI

openupm

Flexbox support for Unity UI using the Yoga layout engine.

Flex Layout demo

Features

  • Supported platforms: Windows, Linux, macOS, iOS, tvOS, visionOS, Android and WebGL
  • There is a single component you need: FlexLayout
  • Live updates in edit mode.
  • FlexLayout only lays out children that also have a FlexLayout component, so you can still use anchors and other Layout Elements where necessary.
  • Set additional layout engine configurations per object using FlexLayoutConfig assets.

How to install

This package is available on the openupm registry and can be installed using the openupm-cli:

openupm add com.gilzoide.flex-ui

Otherwise, you can install directly using the Unity Package Manager with the following URL:

https://github.com/gilzoide/unity-flex-ui.git#1.2.4

How to use

  1. Add a FlexLayout component to the UI object that will layout its descendants (children, grandchildren, etc...)
  2. Add FlexLayout components to the descendants that will be layed out by the root FlexLayouts.
  3. Configure the layout properties as necessary and see all changes live in edit mode.
  4. Enjoy 🍾

All properties can be set in the Inspector as well as by code and the layout will be automatically refreshed. You can set several values in code and the layout will be calculated only once per frame.

To learn more about the properties supported by FlexLayout, check out the Yoga documentation in the "Properties" section: https://yogalayout.dev/docs

You can also set the layout engine configurations by creating FlexLayoutConfig assets and setting them to FlexLayout's "Configuration" property. These configurations include toggling of experimental features and controlling how Yoga rounds floating point values using the "Point Scale Factor" property.

Similar Projects

Discover other similar projects and AI models.

RepositoryC#
mob-sakai/UIEffect

UIEffect is an open-source package that allows you to intuitively apply rich UI effects directly from the Inspector or via code. Combine various filters, such as grayscale, blur, and dissolve, to decorate your UI with a unique visual style!

7.7k
Nov 26, 2026
RepositoryC#
mob-sakai/ParticleEffectForUGUI

Render particle effect in UnityUI(uGUI). Maskable, sortable, and no extra Camera/RenderTexture/Canvas.

6.1k
Nov 20, 2026
RepositoryC#
Unity-Technologies/ml-agents

The Unity Machine Learning Agents Toolkit (ML-Agents) is an open-source project that enables games and simulations to serve as environments for training intelligent agents using deep reinforcement learning and imitation learning.

19.9k
Nov 25, 2026
RepositoryC#
Perfare/AssetStudio

AssetStudio is a tool for exploring, extracting and exporting assets and assetbundles.

15.6k
Dec 8, 2022
RepositoryC
Tencent/xLua

xLua is a lua programming solution for C# ( Unity, .Net, Mono) , it supports android, ios, windows, linux, osx, etc.

10.2k
Nov 21, 2025
RepositoryC#
egametang/ET

Unity3D Client And C# Server Framework

10.0k
Nov 23, 2026
RepositoryC#
Perfare/Il2CppDumper

Unity il2cpp reverse engineer

9.7k
Aug 18, 2024
RepositoryC#
BepInEx/BepInEx

Unity / XNA game patcher and plugin framework

9.1k
Nov 5, 2026
RepositoryC#
AssetRipper/AssetRipper

GUI application to analyze game files

9.1k
Dec 3, 2026