A SwiftUI library for creating smooth animated linear gradients with customizable colors, animation, and control points.
AnimatedGradient is a SwiftUI library for creating animated linear gradients in iOS applications. It solves the problem of implementing smooth, customizable color transitions for backgrounds, loading indicators, and other UI elements with a simple declarative API.
iOS developers building SwiftUI applications who want to add animated gradient effects to enhance visual design.
Developers choose AnimatedGradient for its pure SwiftUI implementation, fine-grained control over gradient parameters, and ease of integration compared to building custom animation solutions from scratch.
AnimatedGradient is a SwiftUI library that enables developers to easily implement animated linear gradients in their iOS applications. It provides a declarative API for creating smooth color transitions, enhancing the visual appeal of user interfaces with dynamic backgrounds and loading indicators.
AnimatedGradient prioritizes a simple, declarative SwiftUI API that gives developers fine-grained control over gradient animations while maintaining ease of use.
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Leverages SwiftUI's modifier system for easy implementation and customization, as demonstrated in the minimal and advanced code examples.
Allows setting custom color arrays and animation parameters like duration and type, providing precise control over transition effects.
Enables specifying the number of colors displayed at once independent of the total array, offering varied gradient appearances for dynamic UIs.
Includes GradientPreset for pre-configured color combinations, speeding up development for common use cases like loading indicators.
Only supports linear gradients, lacking radial or other gradient patterns which might be necessary for more complex visual designs.
Cocoapods installation is deprecated after version 1.0.0, forcing users to migrate to Swift Package Manager, which could disrupt existing workflows.
Requires iOS 14.0 or later, excluding legacy applications that need to support older versions of the operating system.