FloatingButton alternatives and similar libraries
Based on the "Button" category.
Alternatively, view FloatingButton alternatives based on common mentions on social networks and blogs.
-
LiquidFloatingActionButton
Material Design Floating Action Button in liquid state -
DOFavoriteButton
Cute Animated Button written in Swift. -
VBFPopFlatButton
Flat button with 9 different states using POP -
LGButton
A fully customisable subclass of the native UIControl which allows you to create beautiful buttons without writing any line of code. -
KCFloatingActionButton
:heart: Floating Action Button for iOS -
TransitionButton
UIButton sublass for loading and transition animation. -
ZFRippleButton
Custom UIButton effect inspired by Google Material Design -
WCLShineButton
This is a UI lib for iOS. Effects like shining. -
TVButton
Recreating the cool parallax icons from Apple TV as iOS UIButtons (in Swift). -
HTPressableButton
Flat design pressable button for iOS developers. -
PMSuperButton
🔥 PMSuperButton is a powerful UIButton coming from the countryside, but with super powers! 😎 -
gbkui-button-progress-view
Inspired by Apple’s download progress buttons in the app store -
ButtonProgressBar-iOS
A small and flexible (well documented) UIButton subclass with animated loading progress, and completion animation. -
TORoundedButton
A high-performance button control with rounded corners for iOS. -
NFDownloadButton
Revamped Download Button. It's kinda a reverse engineering of Netflix's app download button. -
VCFloatingActionButton
A Floating Action Button just like Google inbox for iOS -
JOEmojiableBtn
Since Facebook introduced reactions in 2016, it became a standard in several applications as a way for users to interact with content. ReactionButton is a control that allows developers to add this functionality to their apps in an easy way. -
EasySocialButton
An easy way to create beautiful social authentication buttons -
FlowBarButtonItem
Bar Button Item that can be moved anywhere in the screen, like Android's stickers button. -
JTFadingInfoView
UIButton-based view with fade in/out animation features -
ProgressButton
Custom button class that displays a progress bar around it to gauge -
ExpandableButton
Customizable and easy to use expandable button in Swift. -
DesignableButton
A Custom UIButton with Centralised Styling and common styles available in Interface Builder -
EMEmojiableBtn
Option selector that works similar to Reactions by fb. Objective-c version -
MultiToggleButton
Multiple state tap-to-toggle UIButton (like old camera flash button) -
WYMaterialButton
Interactive and fully animated Material Design button for iOS developers. -
AnimatablePlayButton
Animated Play and Pause Button written in Swift, using CALayer, CAKeyframeAnimation. -
SDevBootstrapButton
Twitter Bootstrap buttons for Swift -
JSButton
A fully customisable swift subclass on UIButton which allows you to create beautiful buttons without writing any line of code.
Appwrite - The Open Source Firebase alternative introduces iOS support
* 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 FloatingButton or a related project?
README
FloatingButton
Easily customizable floating button menu created with SwiftUI
We are a development agency building phenomenal apps.
Usage
- Create main button view and a number of submenu buttons — both should be cast to
AnyView
type. - Pass both to
FloatingButton
constructor:
FloatingButton(mainButtonView: mainButton, buttons: buttons)
- You may also pass a binding which will determine if the menu is currently open. You may use this to close the menu on any submenu button tap for example.
swift FloatingButton(mainButtonView: mainButton, buttons: buttons, isOpen: $isOpen)
- Chain
.straight()
or.circle()
to specify desired menu type. Chain whatever you like afterwards. For example:
FloatingButton(mainButtonView: mainButton, buttons: textButtons) .straight() .direction(.top) .alignment(.left) .spacing(10) .initialOffset(x: -1000) .animation(.spring()) FloatingButton(mainButtonView: mainButton2, buttons: buttonsImage.dropLast()) .circle() .startAngle(3/2 * .pi) .endAngle(2 * .pi) .radius(70)
Universal options
spacing
- space between submenu buttons
initialScaling
- size multiplyer for submenu buttons when the menu is closed
initialOffset
- offset for submenu buttons when the menu is closed
initialOpacity
- opacity for submenu buttons when the menu is closed
animation
- custom SwiftUI animation like Animation.easeInOut()
or Animation.spring()
delays
- delay for each submenu button's animation start
Straight menu only options
direction
- position of submenu buttons relative to main menu button
alignment
- alignment of submenu buttons relative to main menu button
Circle only options
startAngle
endAngle
radius
Examples
To try out the FloatingButton examples:
- Clone the repo
git clone [email protected]:exyte/FloatingButton.git
. - Open terminal and run
cd <FloatingButtonRepo>/Example
. - Run
pod install
to install all dependencies. - Run
xed .
to open project in the Xcode. - Try it!
Installation
CocoaPods
pod 'FloatingButton'
Carthage
github "Exyte/FloatingButton"
Manually
Drop FloatingButton.swift into your project.
Requirements
- iOS 13+ / watchOS 13+ / tvOS 13+ / macOS 10.15+
- Xcode 11+
*Note that all licence references and agreements mentioned in the FloatingButton README section above
are relevant to that project's source code only.