Animated Radial Menu For Vue.js – vue-bloom-menu

Description:

An animated radial navigation menu built using Vue.js, Vue Router, and webpack.

Basic usage:

1. Import the vue-bloom-menu as follows:

import Vue from 'vue'
import VueSidebarMenu from 'vue-sidebar-menu'
import 'vue-sidebar-menu/dist/vue-sidebar-menu.css'

2. Register the component.

Vue.use(VueSidebarMenu)
// or app.vue
import { SidebarMenu } from 'vue-sidebar-menu'
export default {
  components: {
    SidebarMenu
  }
}

3. Create a basic radial menu component.

<template>
  <sidebar-menu :menu="menu" />
</template>
export default {
  data() {
    return {
      menu: [
        {
          header: true,
          title: 'Main Nav',
          hiddenOnCollapse: true
        },
        {
          href: '/1',
          title: 'Nav Item 1',
          icon: 'custom icon class'
        },
        {
          href: '/2',
          title: 'Nav Item 2',
          icon: 'custom icon class',
          child: [
              {
                  href: '/2/1',
                  title: 'Nav Item 2.1'
              }
          ]
        }
      ]
    }
  }
}

4. Default props.

menu: {
  type: Array,
  required: true
},
collapsed: {
  type: Boolean,
  default: false
},
width: {
  type: String,
  default: '350px'
},
widthCollapsed: {
  type: String,
  default: '50px'
},
showChild: {
  type: Boolean,
  default: false
},
theme: {
  type: String,
  default: ''
},
showOneChild: {
  type: Boolean,
  default: false
},
rtl: {
  type: Boolean,
  default: false
},
relative: {
  type: Boolean,
  default: false
},
hideToggle: {
  type: Boolean,
  default: false
},
disableHover: {
  type: Boolean,
  default: false
}

Preview:

vue-bloom-menu

Download Details:

Author: MingSeng-W

Live Demo: https://mingseng-w.github.io/vue-bloom-menu/

Download Link: https://github.com/MingSeng-W/vue-bloom-menu/archive/master.zip

Official Website: https://github.com/MingSeng-W/vue-bloom-menu

Install & Download:

# NPM
$ npm install vue-bloom-menu --save

You Might Be Interested In:

Add Comment