{"repo":"LeoNatan/LNPopupUI","free":true,"listed":false,"github":"https://github.com/LeoNatan/LNPopupUI","clone":"git clone https://github.com/LeoNatan/LNPopupUI.git","description":"A SwiftUI library for presenting views as popups, much like the Apple Music and Podcasts apps.","language":"Swift","stars":624,"topics":["popup","swiftui-library","spm","swiftui","lnpopupcontroller","lnpopupcontroller-framework"],"license":"MIT","category":"mobile-apps","readme_excerpt":"LNPopupUI LNPopupUI is a SwiftUI library for presenting views as popups, much like the Apple Music and Podcasts apps. This is a SwiftUI wrapper of the LNPopupController framework, adapted to work with SwiftUI. Once a popup bar is presented with a content view, the user can swipe or tap the popup bar at any point to present the content view. After finishing, the user dismisses the popup by either swiping the content view or tapping the popup close button. The library extends SwiftUI’s View with new functionality for presenting and customizing popups with content views, as well as setting information such as the popup bar’s title, image and bar button items. When a popup bar is presented, the popup bar automatically adapts to the view it was presented on for best appearance. Generally, it is recommended to present the popup bar on the outermost view, such as TabView or NavigationStack . For example, if you have a view contained in a navigation stack, which is in turn contained in a tab view, it is recommended to present the popup bar on the tab view. Check the demo project for a quick recreation of Apple’s music app. [!NOTE] To run the example project, don't forget to update submodules by running: git submodule update --init --recursive Features Supports iOS 27 & iOS 26 glass design, while maintaining an appropriate look and feel on previous iOS versions Full support for iOS, iPadOS and Mac Catalyst ( Mac Catalyst with Optimize for Mac or Scaled to Match iPad , and Designed for","default_branch":null,"files":null,"tree":[],"storefront":"/r/LeoNatan","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/LeoNatan/LNPopupUI/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}