Ripple Button
A stylish ripple button component with customizable colors and animation duration.
通过 CLI 安装
手动安装
复制并粘贴以下代码:
RippleButton.vue
API
Prop 名称 | 类型 | 默认值 | 描述 |
---|---|---|---|
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 | 类型 | Description |
---|---|---|
click | event | Click event |
感谢
- Inspired by Magic UI's Ripple Button component.
- Credits to kalix127 for porting this component.