vue-smooth-fade

Vue 3 плагин для плавного скрытие и показа контента
2,116 1
Install
npm install vue-smooth-fade
Latest Version:0.0.16
Vue:3
License:MIT
Last Updated:Mar 20, 2026
Links: GitHub  ·  npm
Maintainer: tvbird

Vue 3 Smooth Fade

Vue 3 плагин для плавного скрытие и показа контента

Установка

npm i vue-smooth-fade

Demo

Demo

Использование

Внутри vue компонентов:

<script setup>
    import { SmoothFade } from 'vue-smooth-fade'
    import { ref } from 'vue'
    
    const show = ref(false)
</script>

<template>
    <SmoothFade v-model="show">
        <div>
            ........
        </div>
    </SmoothFade>
    
    <a href="#" @click.prevent="show = !show">Toggle</a>
</template>

Props

Атрибут Тип По умолчанию Описание
duration Number 700 Продолжительность в мс
easing String ease-in-out Скорость изменения мс
overflow Boolean false Set overflow:hidden to parent element

Related Packages

seeroad-libs

A collection of utility classes

1,068
@orderprotection/vue

Order Protection components implemented in Vue

25,773
@publishvue/vue3complib

Vue 3 component library.

12,924 0
supre-ui

A UI library for Vue2 applications

10,417

Version History

Version Released Vue License
0.0.16 ^3.3.4 MIT
0.0.15 ^3.3.4 MIT
0.0.14 ^3.2.47 MIT
0.0.13 ^3.2.47 MIT
0.0.12 ^3.2.47 MIT