SwiftUI Drawer is a UI component that implements a draggable bottom sheet interface similar to those found in modern mobile apps like Apple Maps, enabling users to expand or collapse content panels interactively. It is built entirely using SwiftUI, leveraging declarative patterns to define layout behavior and interactions in a concise and flexible way. The component allows developers to specify multiple resting heights, giving the drawer different states that users can snap to when dragging. It integrates seamlessly into existing layouts using a ZStack structure, where the drawer sits above other content and responds to gestures naturally. The library includes support for animations and haptic feedback, enhancing the tactile feel of interactions and improving user experience. It also provides customization options such as alignment, width, and responsive layout adjustments depending on device orientation or screen size.

Features

  • Draggable bottom sheet interface with multiple resting states
  • Built with SwiftUI declarative architecture
  • Customizable heights and layout behavior
  • Support for haptic feedback and smooth animations
  • Responsive layout adjustments for different screen sizes
  • Easy integration using ZStack structure

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow SwiftUI Drawer

SwiftUI Drawer Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of SwiftUI Drawer!

Additional Project Details

Programming Language

Swift

Related Categories

Swift User Interface (UI) Software, Swift Libraries

Registered

3 days ago