Repository navigation
Releases
Releases · kareemalnajjar99/Lumen
Lumen 1.0.0
The first stable release of Lumen: Metal-powered effects for SwiftUI, each one a single line to add.
Effects
- Holographic foil:
.holographic()lays an iridescent foil over any view. It follows the user's drag and the tilt of the device. - Ripples:
.ripple()sends a wave out from every tap. Waves overlap, and.ripple(at:trigger:)starts one from code. - Liquid transition:
.transition(.liquid)pours a view in from an edge and drains it back out.
Good to know
- Every effect follows the Reduce Motion setting.
- Supports iOS 17 and macOS 14, built in Swift 6 language mode, with no dependencies.
Install
.package(url: "https://github.com/kareemalnajjar99/Lumen.git", from: "1.0.0")