Featured image of post SwiftRipple Examples

SwiftRipple Examples

SwiftRipple Examples

SwiftRipple Use Cases

All examples can be found in this project, and the example names correspond to the View names in the project!

❗️Lots of GIFs ahead!❗️

Ranked by how fun I think they are:

TOP 1 Heart ♥

heart ripple

Implementation: Pulse + AllTouchGestureModifier + Timer

Example Name: HoldHeartRippleExample

TOP 2 Pulse!

Pulse

Implementation: Pulse + Timer + A Smart Brain 😉

Example Name: PulseRippleExample

TOP 3 Safe Area

safe area

Implementation: SwiftRipple + GeometryReader + A Smart Brain 😉

Example Name: RippleDiversityExample

TOP 4 Ripple Button (Material Style)

ripple button

Implementation: Just use RippleButton directly! Super easy!

Example Name: RippleButtonExample

TOP 5 Diffusion

diffusion

Implementation: Just use SwiftRipple directly!

Example Name: CircleExtendExample

TOP 6 Floating Hearts

floating heart

Implementation: Just use SwiftRipple directly!

Example Name: HeartRippleExample

TOP 7 Simple Ripple

normal ripple

Who says ripples must always expand? Sometimes simplicity is the best!

Example Name: CircleExample

Finally

Hope these beautiful ripples bring you joy!

Best,
Richard Jorne