ramotion/expanding-collection — explained in plain English
Analysis updated 2026-06-26
Add an animated card collection screen to an iOS app where each card expands on tap to reveal more detail.
Build a content browsing view with front-and-back cards that transition into a full detail screen using the included animation.
Add a horizontal card carousel with material-design-style peek-and-pop animations to an existing Xcode project.
| ramotion/expanding-collection | andrewhartar/arkit-corelocation | alin23/lunar | |
|---|---|---|---|
| Stars | 5,520 | 5,523 | 5,571 |
| Language | Swift | Swift | Swift |
| Setup difficulty | easy | moderate | easy |
| Complexity | 2/5 | 3/5 | 2/5 |
| Audience | developer | developer | general |
Figures from each repo's GitHub metadata at analysis time.
ExpandingCollection is an iOS animation library written in Swift that lets you build card-based screens where each card can expand to reveal more detail. The visual style follows material design conventions, giving cards a satisfying peek-and-pop motion when a user taps them. Ramotion, a mobile design agency, created and maintains this library as part of a broader set of open-source UI components. The core idea is a horizontally scrolling collection of cards. Each card has a front view and a back view. In its collapsed state only the front is visible, when the user taps, the card animates open to show the back content. You can put whatever views you like inside both sides. A companion transition carries the user forward to a full detail screen, and a matching back transition returns them to the collection. Setting it up requires iOS 9 or later and Xcode 9 or later. You can add it to your project by dropping in the source folder directly, or by using CocoaPods or Carthage, which are standard iOS dependency managers. Once added, you create a custom collection view cell that inherits from the library's base cell class, wire up a front container view and a back container view through the interface builder, then create a view controller that inherits from the library's expanding view controller class. The README includes code samples for registering cells, handling tap events, and triggering the open-close animation. The library is released under the MIT license, meaning you can use it in personal and commercial projects freely. Ramotion also built an Android version of the same concept in Java, linked from the README. A paid iOS showcase app from Ramotion lets you try this component and others in a live environment before integrating them yourself.
An iOS Swift library that adds a card-expand animation to your app, cards flip open to reveal more detail when tapped, with a smooth transition to a full detail screen and back.
Mainly Swift. The stack also includes Swift, CocoaPods, Carthage.
Free to use in personal and commercial projects with no restrictions.
Setup difficulty is rated easy, with roughly 30min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.