Gathering detailed insights and metrics for @vueuse/gesture
Gathering detailed insights and metrics for @vueuse/gesture
Gathering detailed insights and metrics for @vueuse/gesture
Gathering detailed insights and metrics for @vueuse/gesture
npm install @vueuse/gesture
Typescript
Module System
Node Version
NPM Version
76
Supply Chain
91.7
Quality
80.3
Maintenance
50
Vulnerability
100
License
TypeScript (100%)
Total Downloads
889,889
Last Day
229
Last Week
10,585
Last Month
51,475
Last Year
480,504
MIT License
393 Stars
205 Commits
19 Forks
5 Watchers
1 Branches
22 Contributors
Updated on Jun 25, 2025
Minified
Minified + Gzipped
Latest Version
2.0.0
Package Id
@vueuse/gesture@2.0.0
Unpacked Size
183.94 kB
Size
35.14 kB
File Count
8
NPM Version
8.15.0
Node Version
16.17.0
Published on
Feb 22, 2024
Cumulative downloads
Total Downloads
Last Day
-61.5%
229
Compared to previous day
Last Week
-24.4%
10,585
Compared to previous week
Last Month
2.3%
51,475
Compared to previous month
Last Year
131.7%
480,504
Compared to previous year
2
Vue Composables making your app interactive
Let's get started quickly by installing the package and adding the plugin.
From your terminal:
1pnpm add @vueuse/gesture
In your Vue app entry file:
1import { createApp } from 'vue' 2import { GesturePlugin } from '@vueuse/gesture' 3import App from './App.vue' 4 5const app = createApp(App) 6 7app.use(GesturePlugin) 8 9app.mount('#app')
You can now interact with any of your component, HTML or SVG elements using v-drag
or any other directive.
1<template> 2 <div v-drag="dragHandler" /> 3</template> 4 5<script lang="ts"> 6const dragHandler = (dragState) => { 7 // Do something with dragState 8} 9</script>
To see more about the gestures events data, check out Gesture State.
To see more about the gestures options, check out Gesture Options.
Also, here is a list of the available gestures:
This package is a fork react-use-gesture by pmndrs.
If you like this package, consider following me on GitHub and on Twitter.
👋
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 4/30 approved changesets -- score normalized to 1
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
20 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-06-30
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More