ContextMenu alternatives and similar libraries
Based on the "Menu" category.
Alternatively, view ContextMenu alternatives based on common mentions on social networks and blogs.
-
SideMenu
Simple side/slide menu control for iOS, no code necessary! Lots of customization. Add it to your project in 5 minutes or less. -
PageMenu
A paging menu controller built from other view controllers placed inside a scroll view (like Spotify, Windows Phone, Instagram) -
SlideMenuControllerSwift
iOS Slide Menu View based on Google+, iQON, Feedly, Ameba iOS app. It is written in pure swift. -
CircleMenu
:octocat: ⭕️ CircleMenu is a simple, elegant UI menu with a circular layout and material design animations. Swift UI library made by @Ramotion -
GuillotineMenu
Our Guillotine Menu Transitioning Animation implemented in Swift reminds a bit of a notorious killing machine. -
BTNavigationDropdownMenu
The elegant yet functional dropdown menu, written in Swift, appears underneath the navigation bar to display a list of defined items when a user clicks on the navigation title. -
PagingKit
PagingKit provides customizable menu UI. It has more flexible layout and design than the other libraries. -
CategorySliderView
slider view for choosing categories. add any UIView type as category item view. Fully customisable -
DTPagerController
A fully customizable container view controller to display a set of ViewControllers in a horizontal scroll view. Written in Swift. -
RadialMenu
RadialMenu is a custom control for providing a touch context menu (like iMessage recording in iOS 8) built with Swift & POP -
RHSideButtons
Library provides easy to implement variation of Android (Material Design) Floating Action Button for iOS. You can use it as your app small side menu. 🌶
CodeRabbit: AI Code Reviews for Developers

* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of ContextMenu or a related project?
README
- Contextual menus with delightful animations and styles
- Total control over menu contents using your own
UIViewController
s - Tons of feature and interaction customizations
Installation
Just add ContextMenu
to your Podfile and pod install
. Done!
pod 'ContextMenu'
For Carthage, just add GitHawkApp/ContextMenu
to your Cartfile and carthage bootstrap
.
github "GitHawkApp/ContextMenu"
Usage
Show the menu from one of your UIViewController
s:
ContextMenu.shared.show(
sourceViewController: self,
viewController: MyContentViewController()
)
You must provide a custom UIViewController
to display in the menu. The only requirement is that you must set preferredContentSize
to size your content.
class MyContentViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
title = "Demo"
preferredContentSize = CGSize(width: 200, height: 200)
}
}
Customizations
Display from a Source View
Animate the menu out from a button or view. ContextMenu
will take care of layout so that your menu doesn't clip the screen.
@IBAction func onButton(_ sender: UIButton) {
ContextMenu.shared.show(
sourceViewController: self,
viewController: MyContentViewController(),
sourceView: sender
)
}
Container Style & Display
Use ContextMenu.Options
to change the appearance of the containing view.
ContextMenu.shared.show(
sourceViewController: self,
viewController: MenuViewController(),
options: ContextMenu.Options(containerStyle: ContextMenu.ContainerStyle(backgroundColor: .blue)),
sourceView: button
)
There's plenty more you can customize with ContextMenu.ContainerStyle
:
cornerRadius
: The corner radius of the menushadowRadius
andshadowOpacity
: Appearance of the container shadowxPadding
,yPadding
,edgePadding
: Padding from the source view and screen edgeoverlayColor
: The color of the backgroundmotionEffect
: Respond to device gyroscope changes, similar to app icons on Springboard.app.
If you want more customizations, we will gladly accept a Pull Request!
Acknowledgements
- Inspiration from Things 3
- Created with ❤️ by Ryan Nystrom