1.0.0 • Published 4 years ago

vue-hamburger v1.0.0

Weekly downloads
36
License
MIT
Repository
github
Last release
4 years ago

Vue Hamburger

A hamburger icon that transitions to a close icon.

npm.io

Usage

// Add component
import 'vue-hamburger/index.css'
Vue.component('hamburger', require('vue-hamburger'))

// Example Vue component using the hamburger
Vue.component('mobile-nav', {
  data: function() {
    return {
      open: false // The open/close state of the mobile nav
    }
  }
})
<mobile-nav>
	<hamburger
		:stroke='2'
		:gap='5'
		color='#192a35'
		:open.sync='open'>
	</hamburger>
</mobile-nav>
1.0.0

4 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago