
Ripple Button
A button that spawns a ripple from the exact point you touched, with a finger-tracking glow and a physical press-in. Rapid taps stack ripples, and it comes in filled, tinted and glass variants.
- button
- gesture
- interactive
snippet.swift225 lines
6 files • Scroll to see all →
/// Visual styles for `RippleButton`.public enum RippleButtonVariant { /// Vivid gradient fill with white content and white ripples. case filled /// Soft tinted fill with tinted content and ripples. case tinted /// Frosted material with primary content and tinted ripples. case glass}Viewing: Variant.swift•1 of 6