Ripple Button

A stylish ripple button component with customizable colors and animation duration.

API

Prop NameTypeDefaultDescription
classstring-Additional CSS classes for custom styling.
rippleColorstring"#ADD8E6"Color of the ripple effect.
durationnumber600Duration of the ripple animation in milliseconds.

Emits

Event NameTypeDescription
clickeventClick event

Component Code

You can copy and paste the following code to create this component:

RippleButton.vue

Credits