- August 12, 2025
- Mins Read
Same way as you use Sheet
in SwiftUI
NavigationView {
List(0..<20) {
Text(“\($0)”)
}.listStyle(PlainListStyle())
.bottomSheet(isPresented: $isPresented, height: 300) {
List(20..<40) { Text(“\($0)”) }.listStyle(PlainListStyle())
}
.navigationBarTitle(“Bottom Sheet”)
.navigationBarItems(
trailing: Button(action: { self.isPresented = true }) {
Text(“Show”)
}
)
}
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.
📱 iOS 13.0+
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.
Recognize your user's voice elegantly without having to figure out authorization and audio engines. SwiftSpeech Examples Features Installation Getting Started ...
Example To run the example project, clone the repo, and run pod install from the Example directory first. Requirements iOS 14.0 Installation ...
SlidingRuler is a Swift package containing a SwiftUI control that acts like an linear infinite slider or a finite, more precise ...
SkeletonUI aims to bring an elegant, declarative syntax to skeleton loading animations. Get rid of loading screens or spinners and ...