airbnb/MagazineLayout
A collection view layout capable of laying out views in vertically scrolling grids and lists. observed · 2026-08-28
Health v2 · maintenance only
75/100
- Activity 95
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2847
- days_rel: n/a
- days_push: 34
- n_releases_24m: 0
Adoption not part of the score
3376 stars · 223 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
MagazineLayout is a UICollectionViewLayout subclass for laying out vertically scrolling grids and lists on iOS. It extends UICollectionViewFlowLayout with fractional-width items, vertical-only self-sizing, sticky headers/footers, section backgrounds, and customizable insert/delete animations.
Use cases
- build a vertically scrolling grid layout in a UICollectionView
- create a list layout similar to UITableView using collection views
- self-size collection view items in the vertical dimension only
- add sticky pinned headers and footers to collection view sections
- customize insert and delete animations for collection view items
- mix full-width and half-width items in the same collection view
- show or hide headers, footers, and section backgrounds per section
When to choose
- you need grid or list layouts that UICollectionViewFlowLayout cannot express, like fractional item widths or per-item self-sizing
- you want sticky headers/footers and section backgrounds with per-section control
- you are building content-heavy iOS screens like search results or feeds
When to avoid
- you need horizontal scrolling or non-grid/non-list layouts
- you are building with SwiftUI rather than UIKit collection views
- a simple flow layout already meets your needs and you want to avoid a dependency
Facets
library · maturity stable
ui-components animation mobile-development frontend uikit collection-view-layout grid-layout list-layout self-sizing swift-package-manager cocoapods ios swift mobile
1 source
- readme: https://github.com/airbnb/MagazineLayout · fetched 2026-08-28 · fb03726c3c15
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| airbnb/MagazineLayout | main | 75 |
For agents
markdown · JSON · MCP: product_card(name="airbnb/MagazineLayout")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem