
by Luiz Mello
@luizmellodevBeautiful animated buttons with shimmer/shine effects. Includes default shimmer, gradient shimmer with rotating colors, and pulse shimmer with expanding rings. Fully customizable with haptic feedback and smooth animations.
public struct ShimmerButtonStyle {
let backgroundColor: Color
let foregroundColor: Color
let shimmerColor: Color
let cornerRadius: CGFloat
let height: CGFloat
let fontSize: CGFloat
let fontWeight: Font.Weight
let shadowRadius: CGFloat
let shimmerSpeed: Double
public init(
backgroundColor: Color = .blue,
foregroundColor: Color = .white,
shimmerColor: Color = .white.opacity(0.6),
cornerRadius: CGFloat = 12,
height: CGFloat = 56,
fontSize: CGFloat = 17,
fontWeight: Font.Weight = .semibold,
shadowRadius: CGFloat = 8,
// ... (click "Show full code" to see more)