DeckKit – Deckview sticker swipe, card swipe, list swipe
  • July 4, 2025

DeckKit is a SwiftUI library that makes it easy to create deck-based apps. It has a DeckView that can render any list of items, with support for swipe gestures, edge swipes, shuffling, etc.

DeckKit can be customized to great extent. You can change colors, fonts, etc. and use completely custom views. It also has tools to manage favorites.

Installation


DeckKit can be installed with the Swift Package Manager:

https://github.com/danielsaidi/DeckKit.git

Support My Work


Maintaining my various open-source tools takes significant time and effort. You can become a sponsor to help me dedicate more time to creating, maintaining, and improving these projects. Every contribution, no matter the size, makes a real difference in keeping these tools free and actively developed. Thank you for considering!

Getting started


With DeckKit, you can create a deck of cards with any type that conforms to Identifiable:

struct Hobby: Identifiable {

var name: String
var text: String

var id: String { name }
}

struct MyView: View {

@State
var hobbies: [Hobby] = …

var body: some View {
DeckView($hobbies) { hobby in
RoundedRectangle(cornerRadius: 25.0)
.fill(.blue)
.overlay(Text(hobby.name))
.shadow(radius: 10)
}
}
}

DeckKit has several view components for presenting decks, e.g. DeckView and DeckPageView.

See the online getting started guide for more information.

Documentation


The online documentation has more information, articles, code examples, etc.

GitHub


View Github

#ios #macos #swift #tvos
YOU MIGHT ALSO LIKE...
🧭 NavigationKit

NavigationKit is a lightweight library which makes SwiftUI navigation super easy to use. 💻 Installation 📦 Swift Package Manager Using Swift Package Manager, add ...

swiftui-navigation-stack

An alternative SwiftUI NavigationView implementing classic stack-based navigation giving also some more control on animations and programmatic navigation. NavigationStack Installation ...

Stinsen

Simple, powerful and elegant implementation of the Coordinator pattern in SwiftUI. Stinsen is written using 100% SwiftUI which makes it ...

SwiftUI Router

With SwiftUI Router you can power your SwiftUI app with path-based routing. By utilizing a path-based system, navigation in your app becomes ...

FlowStacks

This package takes SwiftUI's familiar and powerful NavigationStack API and gives it superpowers, allowing you to use the same API not just ...