Add-ons
The core package aims to be lightweight and dependence free. While the add-ons are wrapping popular packages into the consistent API style.
Head - @vueuse/head
Document head manager for Vue 3. SSR ready. Created and maintained by @egoist
Motion - @vueuse/motion
Vue Composables putting your components in motion.
- ๐ Smooth animations based on Popmotion
- ๐ฎ Declarative API
- ๐ Plug & play with 10+ presets
- โ Supports Vue 2 & 3 using vue-demi
- ๐ Supports Nuxt using nuxt-use-motion
- โจ Written in TypeScript
- ๐๏ธโโ๏ธ Lightweight with <20kb bundle size
Created and maintained by @Tahul
Gesture - @vueuse/gesture
Vue Composables making your app interactive
- ๐ Plug & play
- ๐น Mouse & Touch support
- ๐ฎ Directives support (v-drag, v-pinch, v-move...)
- โจ Written in TypeScript
- โ Supports Vue 2 & 3 using vue-demi
- ๐คน Plays well with vueuse/motion or any other animation solution
Created and maintained by @Tahul
Sound - @vueuse/sound
Vue composables for playing sound effects.
- ๐ Lets your website communicate using 2 human senses instead of 1
- ๐ฅ Built with Vue Composition API
- โ Supports Vue 2 & 3 using vue-demi
- ๐ Supports Nuxt using nuxt-use-sound
- โก๏ธ <1kb bytes (gzip) in your bundle! ~10kb loaded async.
- โจ Built with TypeScript
- ๐ฃ Uses a powerful, battle-tested audio utility: Howler.js
Created and maintained by @Tahul
Nuxt - @vueuse/nuxt
VueUse Nuxt Module
Router - @vueuse/router
Utilities for vue-router
useRouteHashโ shorthand for reactive route.hashuseRouteQueryโ shorthand for reactive route.query
Integrations - @vueuse/integrations
Integration wrappers for utility libraries
useAxiosโ wrapper foraxiosuseCookiesโ wrapper foruniversal-cookieuseDrauuโ reactive instance for drauuuseFocusTrapโ reactive wrapper forfocus-trapuseFuseโ easily implement fuzzy search using a composable on top of the zero-dependency library Fuse.jsuseJwtโ wrapper forjwt-decodeuseNProgressโ reactive wrapper fornprogressuseQRCodeโ wrapper forqrcode
RxJS - @vueuse/rxjs
Enables RxJS reactive functions in Vue
fromโ / fromEventtoObserverโ sugar function to convert a ref in an observeruseObservableโ use an ObservableuseSubjectโ bind Subject to ref and propagate value changes both waysuseSubscriptionโ uses subscriptions without worry about unsubscribing to it or memory leaks
Firebase - @vueuse/firebase
Enables realtime bindings for Firebase
useAuthโ reactive Firebase Auth bindinguseFirestoreโ reactive Firestore bindinguseRTDBโ reactive Firebase Realtime Database binding
Electron - @vueuse/electron
Electron renderer process modules for VueUse
useIpcRendererโ provides ipcRenderer and it's all APIsuseIpcRendererInvokeโ reactive ipcRenderer.invoke API resultuseIpcRendererOnโ use ipcRenderer.on with ease and ipcRenderer.removeListener automatically on unmounteduseZoomFactorโ reactive WebFrame zoom factoruseZoomLevelโ reactive WebFrame zoom level