WaterfallGrid
A waterfall grid layout view for SwiftUI. (by paololeonardi)
WrappingHStack
WrappingHStack (FlowLayout) is a SwiftUI component similar to HStack that wraps horizontally overflowing subviews onto the next lines. (by ksemianov)
WaterfallGrid | WrappingHStack | |
---|---|---|
1 | 5 | |
2,269 | 160 | |
- | - | |
0.0 | 4.4 | |
2 months ago | 4 months ago | |
Swift | Swift | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
WaterfallGrid
Posts with mentions or reviews of WaterfallGrid.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-07-09.
-
Is it possible to create this type of grid in SwiftUI?
It’s called waterflow layout, and there are tons of libraries implementing this look/behavior (like this for example https://github.com/paololeonardi/WaterfallGrid)
WrappingHStack
Posts with mentions or reviews of WrappingHStack.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-07-09.
-
Is it possible to create this type of grid in SwiftUI?
Similar idea, but with control over alignment https://github.com/ksemianov/WrappingHStack
-
[help]LazyVGrid with Foreach AsyncImages loading issue (macos)
Personally I've swapped the LazyVGrid with a custom package called WrappingHStack.
- WrappingHStack – a SwiftUI component that wraps overflowing subviews
-
WrappingHStack (FlowLayout)
I always felt that SwiftUI is missing a container that wraps content to the next lines if they do not fit the width. So I wrote a tutorial on how to do just that with the recent Layout protocol. Also available as a Swift Package: https://github.com/ksemianov/WrappingHStack
-
Building a wrapping HStack with the SwiftUI Layout protocol
The component we are about to make is available as a Swift Package.
What are some alternatives?
When comparing WaterfallGrid and WrappingHStack you can also consider the following projects:
swiftui-flow-layout - Flow layout / tag cloud / collection view in SwiftUI.
SwiftUIFlow - SwiftUI views that arrange their children in a flow layout.