PulseAnimation Save

Pules Button Animation with SwiftUI

Project README

PulseAnimation

Pulse Button Animation with SwiftUI

plus plus person info Screenshot 2021-03-22 at 9 48 36 PM Screenshot 2021-03-22 at 10 03 14 PM

I have created PJRPulseButton which will generate a pulse animation for the button. Provided an example as well.

How to use?

It is very simple, you can use PJRPulseButton file in any class just like PJRPulseButton(). It will craeate a default button animation with plus button image.

https://user-images.githubusercontent.com/5228713/112018520-a6fc5300-8b54-11eb-90ac-fd66d751a98e.mov

You can customize it with different colors, image, animation duration, button size and number of outer circles.

Example: PJRPulseButton(color: Color.red, systemImageName: "heart.circle.fill", buttonWidth: 48, numberOfOuterCircles: 2, animationDuration: 1)

https://user-images.githubusercontent.com/5228713/112018878-f3479300-8b54-11eb-850a-9a83f66ee41e.mov

License

Paritosh Raval

Open Source Agenda is not affiliated with "PulseAnimation" Project. README Source: paritoshraval100/PulseAnimation
Stars
50
Open Issues
0
Last Commit
3 years ago
License

Open Source Agenda Badge

Open Source Agenda Rating