Skip to content

Redskullvue/vue-transify

Repository files navigation

🌀 Vue Transify

Vue Transify is a lightweight animation library built on top of Vue’s native <Transition> component — making it powerful, easy to use, and fully customizable.

With flexible props and Quality Animations for fine-tuning, Vue Transify makes it effortless to bring your Vue components to life.


🚀 Features

  • ✅ Built directly on top of Vue’s core <Transition> component
  • ✅ Zero dependencies — just Vue
  • ✅ Simple prop-based customization (duration, delay, easing, etc.)
  • ✅ Works seamlessly with Vue 3
  • ✅ Lightweight — less than 2KB gzipped
  • ✅ Open for contributions & custom animation extensions

📦 Installation

# npm
npm install vue-transify

🧩 Basic Usage

-First Import the styles into you main.js

import { createApp } from 'vue'
import App from './App.vue'
import "vue-transify/dist/vue-transify.css";

createApp(App).mount('#app')

-Then you can import each animation as a component in your files and use it

<template>
  <div style="padding: 2rem">
    <button @click="show = !show">Toggle Fade</button>
    <!-- Use the component -->
    <Fade :duration="600" :appear="true">
      <p v-if="show">✨ Hello World from Fade Animation !</p>
    </Fade>
    <!-- Use these props to change the behavior of your animation -->
  </div>
</template>

<script setup>
import { ref } from 'vue'
// Import the component
import { Fade } from "vue-transify";
const show = ref(true)
</script>

Animations on 0.9.1

-Fade -BounceDown -BounceIn -BounceUp -RotateDown -RotateIn -RotateUp -SlideInDown -SlideInUp -SlideInLeft -SlideInRight -ZoomDown -ZoomIn -ZoomUp


⚙️ Props

-Library is fully prop based so you can customize the animations based on your need

Prop Type Default Description
appear boolean 'false' If true animation will run on load
duration number 500 Duration of the animation in milliseconds.
delay number 0 Delay before the animation starts in milliseconds.
easing string 'ease' CSS easing function to control the transition curve(CSS acceptable timing functions).

🧑‍💻 Contributing

Contributions are welcome ! If you’d like to add a new animation, improve docs, or fix a bug:

  1. Fork the repository.
  2. Create your feature branch.
   git checkout -b feat/animation-name
  1. Commit your changes.
  2. Push to your brach.
  3. Open a PR

-💡 Before submitting, make sure your code follows the existing structure and passes any lint or build checks.Be sure to follow the naming convetion.

-All Vue files and animations use PascalCase -All Class prefixes use the camelCase


🌟 Support & Feedback

If you like Vue Transify, please consider supporting the project:

  • Star the repo on GitHub — it helps others discover the library
  • 🐞 Open an issue or suggest new features
  • 🧩 Share it with other Vue developers and the community

Your support helps keep the project active and growing 💚


🖼️ Demo & Playground

Coming Soon ! :)

About

An easy to use animation library built on top of Transition component system of vue.js

Resources

License

Stars

Watchers

Forks

Packages

No packages published