vue3-ripple

This package provide directive for ripple effect on click
809 1
Install
npm install vue3-ripple
Latest Version:1.0.8
Vue:3
Last Updated:Apr 19, 2023
Links: GitHub  ·  npm
Maintainer: vashuber

vue3-ripple

This package provide directive for ripple effect on click

Installation

npm install vue3-ripple

Basic usage

import { createApp } from "vue";
import App from "./App.vue";
import { ripple } from "vue3-ripple";

const app = createApp(App);

app.directive("ripple", ripple);
app.mount("#app");
<button class="btn" v-ripple>
  click
</button>

Default color rgba(226, 237, 255, 0.5)

Modify color

<button class="btn" v-ripple="{color: 'rgba(0, 0, 0, 0.5)'}">
  click
</button>

Related Packages

zq-vue-hook

easy create form page

313 1
v-ripple-directive

Vue.js directive for ripple effect

19,605 4
vue-timer-hook

Vue 3 composition API hooks for countdown timers, stopwatches, and live clock st...

189,124
nuxt-ripple

Add simple ripple effects to your elements

3,919 2

Version History

Version Released Vue License
1.0.8 ^3.2.45
1.0.7 ^3.2.45
1.0.6 ^3.2.45
1.0.5 ^3.2.45
1.0.4 ^3.2.45