Swiftpack.co -  weitieda/bottom-sheet as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
⬆️ A SwiftUI view component sliding in from bottom
.package(url: "https://github.com/weitieda/bottom-sheet.git", from: "1.0.6")

SwiftUI BottomSheet

GitHub tag (latest SemVer) License

preview preview


iOS 13+

Swift 5.0


Same way as you use Sheet in SwiftUI

NavigationView {
    List(0..<20) {
    .bottomSheet(isPresented: $isPresented, height: 300) {
        List(20..<40) { Text("\($0)") }.listStyle(PlainListStyle())
    .navigationBarTitle("Bottom Sheet")
        trailing: Button(action: { self.isPresented = true }) {


Both demo preview code are available in example project.

To run the example project, clone this repo, and open iOS Example.xcworkspace from the iOS Example directory.


Swift Package Manager

To install BottomSheet using Swift Package Manager, add .package(name: "BottomSheet", url: "https://github.com/weitieda/bottom-sheet", from: "1.0.0")," to your Package.swift, then follow the integration tutorial here.


To install BottomSheet using CocoaPods, add pod 'BottomSheet', :git => 'https://github.com/weitieda/bottom-sheet.git' to your Podfile, then follow the integration tutorial here.


Tieda Wei


BottomSheet is available under the MIT license. See the LICENSE file for more information.


Stars: 301
Last commit: 2 weeks ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Release Notes

UI bug fix on Example project
8 weeks ago
  • Fixed Example project List padding issue on iOS 14+ (Thanks Marcus Adriano)

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API