# slackhq/PanModal

An elegant and highly customizable presentation API for constructing bottom sheet modals on iOS.

Repository: https://github.com/slackhq/PanModal
Canonical: https://ross.abutalabs.com/products/panmodal
Language: Swift
License: MIT
License Family: permissive
Archived: true
Last push: 2025-11-03T13:07:25+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 50, release rhythm 8, longevity 100
- inputs: {"age_days": 2746, "days_push": 303, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3778, forks 632 (observed 2026-08-28T04:08:18.330004+00:00)

## What it is
PanModal is a Swift library from Slack for presenting customizable bottom sheet modals on iOS. It supports any UIViewController and provides seamless pan gesture transitions between the modal and embedded scroll views.

## Use cases
- present a bottom sheet modal in an iOS app
- show a draggable sheet with scrollable content
- build thumb-accessible pickers or menus on iPhone
- replace UIKit's default modal presentation with a bottom sheet
- present a view controller as a partially expanded sheet

## When to choose
- you need polished, customizable bottom sheet presentation on iOS 10+
- you want smooth 60fps pan transitions between modal and scroll views
- you prefer a lightweight Swift library with CocoaPods, Carthage, or SPM support

## When to avoid
- you are building for Android or cross-platform with Flutter or React Native
- you need SwiftUI-native sheet APIs and can use built-in presentation modifiers
- your project targets iPadOS multi-window layouts requiring custom presentation containers

## Facets
- artifact type: library
- maturity: stable
- function: ui-components, animation, mobile-framework
- domain: mobile-development, frontend, cross-platform
- platform: -
- tags: bottom-sheet, modal-presentation, uikit, cocoapods, swift-package-manager, ios, swift, mobile

## Member repositories
- slackhq/PanModal (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:18.330004+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:27:48.133469+00:00, confidence not recorded.
  - readme: https://github.com/slackhq/PanModal (fetched 2026-08-28T04:08:18.330004+00:00, sha 30f0a44d2dc7)
- Data as of 2026-08-30T08:39:29.467469+00:00.
