An easy to use link/text hover effect library for VueJS
If you endup using and liking vue-good-links, consider spreading the joy :)
Install with npm:
npm install --save vue-good-links
import directly into components:
<template>
<div>
this is my <vgl-swing text="fancy text"></vgl-swing>
</div>
</template>
<script>
import {VglSwing} from 'vue-good-links';
export default {
components: {
'vgl-swing': VglSwing,
},
};
</script>
or use globally
import VueGoodLinks from 'vue-good-links';
// import the styles
import 'vue-good-links/dist/vue-good-links.css';
Vue.use(VueGoodLinks);
- VglWave
- VglRollup
- VglSlidein
- VglGhost
- VglSwing
- VglRotate
Option | Description | Type, Example |
---|---|---|
originalSpanStyle | css styles for standing text span. (applies to all but VglWave) |
<vgl-swing :originalSpanStyle="{color: 'blue'}" text="fancy!"></vgl-swing> |
hoverSpanStyle | css styles for hovering text span. (applies to all but VglWave) |
<vgl-swing :hoverSpanStyle="{color: 'blue'}" text="fancy!"></vgl-swing> |
This project is licensed under the MIT License - see the LICENSE.md file for details
inspiration for effects taken from Tympanus