exyte / Fan Menu
Licence: mit
Menu with a circular layout based on Macaw
Stars: ✭ 607
Programming Languages
swift
15916 projects
Projects that are alternatives of or similar to Fan Menu
Hamburger React
Animated hamburger menu icons for React (1.5 KB) 🍔
Stars: ✭ 391 (-35.58%)
Mutual labels: menu
Autoconnect
An Arduino library for ESP8266/ESP32 WLAN configuration at runtime with the Web interface
Stars: ✭ 513 (-15.49%)
Mutual labels: menu
Wmzpagecontroller
分页控制器,替换UIPageController方案,具备完整的生命周期,多种指示器样式,多种标题样式,可悬浮,支持ios13暗黑模式(仿优酷,爱奇艺,今日头条,简书,京东等多种标题菜单) (Pagination controller with full life cycle, multiple indicator styles, multiple title styles)
Stars: ✭ 405 (-33.28%)
Mutual labels: menu
Superslide.js
A flexible, smooth, GPU accelerated sliding menu for your next PWA
Stars: ✭ 496 (-18.29%)
Mutual labels: menu
Fwpopupview
弹窗控件:支持AlertView、Sheet、自定义视图的PopupView。AlertView中可以嵌套自定义视图,各组件的显示隐藏可配置;Sheet仿微信样式;同时提供自定义弹出。更多配置请参考”可设置参数“,提供OC使用Demo。
Stars: ✭ 361 (-40.53%)
Mutual labels: menu
Side Menu.android
Side menu with some categories to choose.
Stars: ✭ 5,187 (+754.53%)
Mutual labels: menu
Wmzdropdownmenu
🌹一个能几乎实现所有App各种类型筛选菜单的控件,可悬浮,目前已实现闲鱼/美团/Boss直聘/京东/饿了么/淘宝/拼多多/赶集网/美图外卖等等的筛选菜单,可以自由调用代理实现自己想组装的筛选功能和UI,且控件的生命周期自动管理,悬浮自动管理🌹(A control that can implement almost all types of filtering menus of all apps)
Stars: ✭ 503 (-17.13%)
Mutual labels: menu
React Contexify
Add a context menu to your react app with ease
Stars: ✭ 575 (-5.27%)
Mutual labels: menu
Dlwidgetmenu
Versatile solution for displaying widget menus. Easily adjustable with custom layouts and/or animations.
Stars: ✭ 416 (-31.47%)
Mutual labels: menu
Godot Gametemplate
Template with all necessary stuff taken care, just create your games main features.
Stars: ✭ 435 (-28.34%)
Mutual labels: menu
Fabrevealmenu Master
A general purpose android UI library to show a user show menu in accordance of Floating action button with material design guidelines.
Stars: ✭ 558 (-8.07%)
Mutual labels: menu
Android Snake Menu
imitate Tumblr's menu, dragging animations look like a snake
Stars: ✭ 584 (-3.79%)
Mutual labels: menu
Radialmenu
A highly customizable radial menu that's very easy to setup.
Stars: ✭ 371 (-38.88%)
Mutual labels: menu
Llslidemenu
This is a spring slide menu for iOS apps - 一个弹性侧滑菜单
Stars: ✭ 591 (-2.64%)
Mutual labels: menu
Sidemenu
Simple side/slide menu control for iOS, no code necessary! Lots of customization. Add it to your project in 5 minutes or less.
Stars: ✭ 5,267 (+767.71%)
Mutual labels: menu
FanMenu
Macaw
Easily customizable floating circle menu created withWe are a development agency building phenomenal apps.
Usage
- Create
UIView
in your storyboard or programatically. - Set
FanMenu
asUIView
class. - Set the button
fanMenu.button = FanMenuButton(
id: "main",
image: "plus",
color: Color(val: 0x7C93FE)
)
- Set menu items
fanMenu.items = [
FanMenuButton(
id: "exchange_id",
image: "exchange",
color: Color(val: 0x9F85FF)
),
...
FanMenuButton(
id: "visa_id",
image: "visa",
color: Color(val: 0xF55B58)
)
]
- Add an event handler
// call before animation
fanMenu.onItemDidClick = { button in
print("ItemDidClick: \(button.id)")
}
// call after animation
fanMenu.onItemWillClick = { button in
print("ItemWillClick: \(button.id)")
}
- Configure optional parameters
// distance between button and items
fanMenu.menuRadius = 90.0
// animation duration
fanMenu.duration = 0.35
// menu opening delay
fanMenu.delay = 0.05
// interval for buttons in radians
fanMenu.interval = (0, 2.0 * M_PI)
// menu background color
fanMenu.menuBackground = Color.red
- Useful methods
fanMenu.isOpen
fanMenu.open()
fanMenu.close()
Customization
FanMenu is created with Macaw, our vector graphics Swift library. Thanks to that, it can be easily modified and improved for your purposes.
All source code is located in one single file called FanMenu.swift. To modify the menu simply copy this file and apply necessary changes.
Examples
To try out the FanMenu examples:
- Clone the repo
git clone [email protected]:exyte/fan-menu.git
- Open terminal and run
cd <FanMenuRepo>/Example
- Run
pod install
to install all dependencies - Run
xed .
to open project in the Xcode - Try it!
We have the following examples:
- FinanceViewController.swift Accounting & Financial Management. Inspired by Yingfang Xie.
- TaskViewController.swift Color Coding Microinteraction. Insipred by Filippos Protogeridis.
- ShopViewController.swift Inspired by Tice.
- CustomViewController.swift Inspired by awesome Ramotion control circle-menu
Installation
CocoaPods
pod 'FanMenu'
Carthage
github 'Exyte/fan-menu'
Manually
Drop FanMenu.swift into your project.
Requirements
- iOS 9.0+ / macOS 10.12+
- Xcode 10.2+
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].