A simple and customizable button library for iOS/macOS apps with flat and pressable button styles.
SwiftyButton is a Swift library that provides customizable button components for iOS and macOS applications. It solves the problem of creating visually appealing buttons with consistent styling by offering two main button types—FlatButton and PressableButton—with extensive customization options for colors, shadows, and corner radii.
iOS and macOS developers building native applications who need customizable, visually consistent button components that work with both code and Interface Builder.
Developers choose SwiftyButton for its simplicity, extensive customization options, and seamless integration with Interface Builder. It provides ready-to-use button styles with 3D press effects and global defaults configuration, reducing the need for custom button implementations.
Simple and customizable button in Swift
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Works directly in Storyboard/XIB files by changing the button class, enabling visual design without code and reducing development time.
Supports multiple button states (normal, highlighted, selected, disabled) with separate color properties, ensuring consistent visual feedback.
Allows setting defaults for all button instances via FlatButton.Defaults or PressableButton.Defaults structures, promoting design consistency across apps.
PressableButton provides a realistic press animation with shadow layers and depth control, adding polish without custom animation code.
PressableButton only works with plain colors and does not support alpha/transparency, restricting design flexibility for modern UI effects.
User-specified top and bottom insets for titles and images are overridden, limiting precise control over button content layout.
Only provides button components, requiring integration with other libraries for a full UI toolkit, which can increase project complexity.