Sliding Panel Component For Vue – vue-slideout

If you are working on any vue based app and looking for sliding panel component then here i am going to share an awesome library which you can use to create simple sliding panel on your vue application. There are many types of sliding panel in this library like left right top bottom slide panel which you can choose as per your project need. Integration of this sliding component is very easy just follow the below steps.
Vue Sliding Panel Component


NodeJS ENV (commonjs)

npm i @hyjiacan/vue-slideout


yarn add @hyjiacan/vue-slideout

Unlike node env, a lowercase global slideout will be exploded.

The newest version

<script src=""></script>
<link rel="stylesheet" href="" />

Specified version

<script src="<VERSION>/lib/slideout.umd.min.js"></script>
<link rel="stylesheet" href="<VERSION>/lib/slideout.css" />

unpkg is also available: instead with

And you can use the uncompressed by instead slideout.umd.min.js with slideout.umd.js


Global (recommended)


import Vue from 'vue'
import SlideOut from '@hyjiacan/vue-slideout'
import '@hyjiacan/vue-slideout/lib/slideout.css'

// import SlideOut component, and set the defaults props
Vue.use(SlideOut, {
  // set props here

In Component


<slide-out @close="onClose">
    <div slot="header" slot-scope="{title}">
import SlideOut from '@hyjiacan/vue-slideout'
import '@hyjiacan/vue-slideout/lib/slideout.css'

export default {
    name: 'Foobar',
    components: {SlideOut},
    methods: {
        onClose (e) {
            // prevent close and wait
            e.wait = true
            // close after 3 seconds
            setTimeout(() => {
                // assign true to close, do nothing or assign false to cancel close.
                e.close = true
            }, 3000)

See live demo and download source code.

Don’t forget to Subscribe My Public Notebook for more useful free scripts, tutorials and articles.

This awesome script developed by hyjiacan. Visit their official repository for more information and follow for future updates.