Shimmer Button

Shimmer Button

Beautiful 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.

Luiz Mello
  • button
  • animation
  • gradient

snippet.swift453 lines

6 files • Scroll to see all →
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)
Viewing: ShimmerButtonStyle.swift•1 of 6