Skip to main content

AF Wrap Layout Group

for Unity UI (uGUI)

8 flow & direction combinations
Horizontal or vertical flow, in either direction

Automatic wrapping
Children wrap into new rows or columns as space requires

Variable child sizes
Uses each child’s preferred size when calculating the layout

AF Wrap Layout Group Runtime

Works with Unity layout sizing
Uses child LayoutElement preferred sizes

Flexible alignment & spacing
Control alignment, spacing and padding

Horizontal or vertical layouts
Configure wrapping for either orientation

Inspector configured
Set up and adjust the layout directly in the Inspector

Unity 6 / UGUI / TMP / Built-In / URP / HDRP / SRP

Easy Inspector Setup / Drop-in Component

Soon on Unity Asset Store

AF Wrap Layout Group works with standard Unity UI hierarchies, automatically arranging and wrapping child elements within the available space.

Direction
Choose horizontal or vertical layout, then independently control horizontal and vertical flow direction.

Layout
Set padding, X/Y spacing and child alignment directly in the Inspector.

Sizing
Child elements use their LayoutElement preferred sizes, allowing different-sized items to wrap naturally.

Standard Unity hierarchy
Use regular uGUI children and layout components without requiring a custom item structure.

AF Wrap Layout Grouop Editor

Features

  • Automatic wrapping into rows or columns
  • Horizontal and vertical layout modes
  • 8 flow and direction combinations
  • Variable child sizes using preferred dimensions
  • Configurable padding, spacing and child alignment
  • Works with dynamic child counts

Developers

  • Standard Unity uGUI hierarchy
  • Drop-in LayoutGroup component
  • Inspector-based configuration
  • Works with LayoutElement preferred sizes
  • Full C# source included
  • No custom child components required

Technical details

  • Built for Unity UI (uGUI)
  • No third-party dependencies
  • No Asset Store package dependencies
  • Full source — no precompiled runtime DLL
  • Compatible with Built-in, URP, HDRP and Custom Render Pipelines
  • UI Toolkit is not supported