- August 28, 2025
- Mins Read
A SwiftUI bottom-up controller, like in the Maps app. Drag to expand or minimize.
File > Swift Packages > Add Package Dependency: https://github.com/maustinstar/swiftui-drawer
Add a dependency in your your Package.swift
.package(url: “https://github.com/maustinstar/swiftui-drawer.git”, from: “0.1.0”),
Embed your view content in a ZStack with the Drawer as the last element. The heights parameter defines a list of resting heights for the drawer.
ZStack {
ScrollView {
//…
}
Drawer(heights: [100, 340]) {
Color.blue
}.edgesIgnoringSafeArea(.vertical)
}
See the full Reference Guide.
A multi-height drawer with haptic impact.
This package provides you with an easy way to show tooltips over any SwiftUI view, since Apple does not provide ...
SimpleToast is a simple, lightweight, flexible and easy to use library to show toasts / popup notifications inside iOS or ...
Create Toast Views with Minimal Effort in SwiftUI Using SSToastMessage. SSToastMessage enables you to effortlessly add toast notifications, alerts, and ...