Ripple Button
A stylish ripple button component with customizable colors and animation duration.
Install using CLI
Install Manually
Copy and paste the following code
RippleButton.vue
API
Prop Name | Type | Default | Description |
---|---|---|---|
class | string | - | Additional CSS classes for custom styling. |
rippleColor | string | "#ADD8E6" | Color of the ripple effect. |
duration | number | 600 | Duration of the ripple animation in milliseconds. |
Emits
Event Name | Type | Description |
---|---|---|
click | event | Click event |
Credits
- Inspired by Magic UI's Ripple Button component.
- Credits to kalix127 for porting this component.