Ripple Button

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

Install using CLI

npm
pnpm
bun
yarn
npx shadcn-vue@latest add "https://inspira-ui.com/r/ripple-button.json"

Install Manually

Copy and paste the following code

RippleButton.vue

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

Credits