WrapLayout

0.3.0

A custom layout built on top of SwiftUI's Layout API that lays elements out in multiple lines. Similar to flex-wrap in CSS, CollectionViewFlowLayout.
FluidGroup/swiftui-WrapLayout

What's New

0.3.0

2024-10-04T02:44:33Z

What's Changed

New Contributors

Full Changelog: 0.2.1...0.3.0

WrapLayout

CleanShot 2022-09-10 at 00 45 09@2x

A custom layout built on top of SwiftUI's Layout API that lays elements out in multiple lines.
Similar to flex-wrap in CSS, CollectionViewFlowLayout.

Much better performance rathar than using GeometryReader

Requirements

Swift 5.7+. SwiftUI requires Layout

Instructions

WrapLayout {
  ...
}

Installation

Supports Swift Package Manager

License

MIT license.

Description

  • Swift Tools 5.7.0
View More Packages from this Author

Dependencies

Last updated: Wed May 14 2025 03:27:56 GMT-0900 (Hawaii-Aleutian Daylight Time)