Simple material ripple effect wrapped in a component.
npm install vue-material-ripple
<template>
<div class="ripple-examples__component">
<h1>You can place Material Ripple effect on any other component</h1>
<button type="button" class="ripple-example-button">
Button
<MaterialRipple></MaterialRipple>
</button>
</div>
</template>
<script>
import MaterialRipple from 'vue-material-ripple'
module.exports = {
name: 'material-ripple-examples',
components: {
MaterialRipple
}
}
</script>
For more examples, please check /play
folder and the project's website.