Bottom Sheet for iOS

What's New

Release 2.0.2


Bottom Sheet

Bottom Sheet component is designed to handle any content, including a scrolling one.

  • use any content size, and it will adapt
  • use scrollable content: UICollectionView, UITableView or UIScrollView
  • dismiss interactively by swipe-down or just tapping on an empty space
  • build flows inside using BottomSheetNavigationController
    • supports all system transitions: push and (interactive) pop
    • transition animated between different content sizes
  • Customize appearance:
    • pull bar visibility
    • corner radius
    • shadow background color

How it looks like

Adapts to content size Interactive dismissal
adapt-to-content-size interactive-dismissal

NavigationController inside Bottom Sheet

Push and pop transitions Interactive pop transition
system-push-pop interactive-pop


Swift Package Manager

To integrate Bottom Sheet into your Xcode project using Swift Package Manager, add it to the dependencies value of your Package.swift:

dependencies: [
    .package(url: "", from: "2.0.0")


CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:

$ bundle install

To integrate BottomSheet into your Xcode project using CocoaPods, specify it in your Podfile:

source ''

target '<Your Target Name>' do
    pod 'BottomSheet', :git => ''

Getting started

This repo contains demo, which can be a great start for understanding Bottom Sheet usage, but here are simple steps to follow:

  1. Create UIViewController to present and set content's size by preferredContentSize property
  2. (optional) Conform to ScrollableBottomSheetPresentedController if your view controller is list-based
  3. Present by using presentBottomSheet(viewController:configuration:)

If you want to build flows, use BottomSheetNavigationController

    viewController: viewControllerToPresent,
    configuration: .default

You can customize appearance passing configuration parameter

    viewController: viewControllerToPresent,
    configuration: BottomSheetConfiguration(
        cornerRadius: 10,
        pullBarConfiguration: .visible(.init(height: 20)),
        shadowConfiguration: .init(backgroundColor:


Read the article on Medium for betting understanding of how it works under the hood


  • Swift Tools 5.3.0
View More Packages from this Author


  • None
Last updated: Tue Jun 06 2023 15:37:04 GMT-0500 (GMT-05:00)