# yacir/CollectionViewSlantedLayout

A CollectionView Layout displaying a slanted cells

Repository: https://github.com/yacir/CollectionViewSlantedLayout
Canonical: https://ross.abutalabs.com/products/collectionviewslantedlayout
Homepage: https://yacir.github.io/CollectionViewSlantedLayout/
Language: Swift
License: MIT
License Family: permissive
Topics: collectionview, uicollectionview, swift, collection-view, ui, ui-components, ui-design, uikit, ui-kit, ios, slanted, collectionviewlayout, collectionviewcell, swift4, uicollectionviewlayout, uicollectionviewcell
Last push: 2021-05-01T03:13:05+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3838, "days_push": 1950, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2339, forks 135 (observed 2026-08-28T04:06:38.529755+00:00)

## What it is
A Swift subclass of UICollectionViewLayout that displays slanted (diagonal) cells in a UICollectionView. It supports horizontal and vertical scrolling, dynamic cell heights, and is fully configurable via inspectable properties.

## Use cases
- display slanted cells in a UICollectionView
- create a diagonal image gallery on iOS
- build a slanted carousel with horizontal or vertical scrolling
- add angled cell layouts to a Swift app
- customize slant size, direction, and angle in a collection view

## When to choose
- you need slanted or diagonal cells in a UIKit collection view
- you want a pure Swift layout supporting CocoaPods, Carthage, and SPM
- you need both horizontal and vertical scrolling with dynamic cell heights

## When to avoid
- you are building with SwiftUI rather than UIKit
- you need a maintained library with recent updates (last release 2021)
- you need non-iOS platforms like Android or web

## Facets
- artifact type: library
- maturity: maintenance
- function: ui-components, animation
- domain: mobile-development, frontend
- platform: -
- tags: uikit, uicollectionview, collection-view-layout, slanted-cells, cocoapods, carthage, spm, ios, swift, mobile

## Member repositories
- yacir/CollectionViewSlantedLayout (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:38.529755+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:37:29.959400+00:00, confidence not recorded.
  - readme: https://github.com/yacir/CollectionViewSlantedLayout (fetched 2026-08-28T04:06:38.529755+00:00, sha 6854ba466f01)
  - homepage: https://yacir.github.io/CollectionViewSlantedLayout/ (fetched 2026-08-29T10:17:56.049154+00:00, sha 539993ddbc93)
- Data as of 2026-08-30T08:39:29.467469+00:00.
