v-animate-css

Animate CSS for Vue.js 3
63,423 113
Install
npm install v-animate-css
Latest Version:1.0.1
License:MIT
Last Updated:Oct 7, 2023
Links: GitHub  ·  npm
Maintainer: cent1pede

Vue Animate CSS

GitHub forks GitHub Repo stars

v-animate-css

Animate.css for Vue.js 3

If you like this project, please give it a star :star: , and consider following the author :octocat: :wink: .

Vue 2 version is no longer maintained but the code is available here. You can still contribute if you wish so, and we will publish them for Vue 2.

Installation using NPM

npm install v-animate-css --save

OR

Installation using YARN

yarn add v-animate-css

Or just import this to project without installing

Using CDN

https://unpkg.com/v-animate-css/dist/v-animate-css.js

Getting Started

Usage

import Vue from 'vue';
import VAnimateCss from 'v-animate-css';

Vue.use(VAnimateCss);
<script src="https://cdnjs.cloudflare.com/ajax/libs/vue/2.4.4/vue.js"></script>
<script src="https://unpkg.com/v-animate-css/dist/v-animate-css.js"></script>

<script>
  Vue.use(VAnimateCss.default);
</script>

Injecting Alternative CSS Link (local or CDN)

Related to Issue#33 it make sense to give the user the option to add their own local version of Animate.css instead of relying to the default CDN version of Animate.css within the plugin.

You can do it using the new animateCSSPath option.

import Vue from 'vue';
import VAnimateCss from 'v-animate-css';

Vue.use(VAnimateCss, { animateCSSPath: './local-animate-css-file.css' });

// You can also use this option to inject a newer version of Animate.css
Vue.use(VAnimateCss, { animateCSSPath: 'cdn-link-to-a-newer-animate-css-version' });

Demo and Docs here.

Made with :heart: by Joff Tiquez

Related Packages

vue3-animate-onscroll

A simple Vue directive that animates elements as they scroll into view.

5,683
vue-animate-onscroll

A simple Vue directive that animates elements as they scroll into view.

18,044 116
@neeravp/vue-3-animate-in-view

Vue3 Directive & Component to animate elements as they appear in viewport

1,748 2
vue-parent-change-transition

Animate a child component when it's parent changed.

13,337 27
animate-number

Number animation component for Vue. 一个基于Vue的数字滚动动画组件。

1,393

Version History

Version Released License
1.0.1 MIT
1.0.0 MIT
0.0.6 MIT
0.0.5 MIT
0.0.4 MIT