[](https://www.npmjs.com/package/vue-tippy) [](https://vuejs.org/) [](https://www
  
> Vue.js 3 wrapper for Tippy.js
For full v6 documentation, visit https://vue-tippy.netlify.app/.
``js
npm install vue-tippy@v6
//or
yarn add vue-tippy@v6
`
`js
import { createApp } from 'vue'
import VueTippy from 'vue-tippy'
// or
import { plugin as VueTippy } from 'vue-tippy'
const app = createApp({})
app.use(
VueTippy,
// optional
{
directive: 'tippy', // => v-tippy
component: 'tippy', // =>
}
)
app.mount('#app')
`
`html
`
`html
`
`js
import { defineComponent, ref, h } from 'vue'
import { useTippy } from 'vue-tippy'
export default defineComponent({
setup() {
const button = ref()
useTippy(button, {
content: 'Hi!',
})
return () => h('button', { ref: button }, 'Tippy!')
},
})
``