# kirillmurashov/vue-drag-resize

Vue2 && Vue3 Component for resize and drag elements

Repository: https://github.com/kirillmurashov/vue-drag-resize
Canonical: https://ross.abutalabs.com/products/vue-drag-resize
Homepage: https://kirillmurashov.com/vue-drag-resize/
Language: JavaScript
License: MIT
License Family: permissive
Topics: vuejs, vue, drag, draggable, resize, resizable, component
Last push: 2023-05-31T03:19:46+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3051, "days_push": 1190, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2375, forks 327 (observed 2026-08-28T04:06:41.970121+00:00)

## What it is
A lightweight, dependency-free Vue component (supporting both Vue 2 and Vue 3) that makes wrapped elements draggable and resizable. It supports touch events, grid snapping, aspect-ratio locking, axis constraints, and parent-bound resizing.

## Use cases
- make elements draggable and resizable in a vue app
- build a drag-and-drop layout editor in vue
- snap resizable panels to a custom grid
- create movable widgets with touch support
- restrict element resizing to a parent container
- lock aspect ratio while resizing a vue component

## When to choose
- you need a small, zero-dependency drag/resize component for Vue 2 or Vue 3
- you want touch support, grid snapping, or aspect-ratio locking out of the box
- you need reactive props to control element position and size programmatically

## When to avoid
- you use React, Svelte, or another non-Vue framework
- you need full drag-and-drop list reordering rather than free-form drag/resize
- you need an actively developed project with frequent updates

## Facets
- artifact type: library
- maturity: maintenance
- function: ui-components, frontend-framework
- domain: frontend, web-development
- platform: cross-platform
- tags: vue, vue2, vue3, drag-and-drop, resizable, component, web-server, nodejs

## Member repositories
- kirillmurashov/vue-drag-resize (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:41.970121+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:35:03.371676+00:00, confidence not recorded.
  - readme: https://github.com/kirillmurashov/vue-drag-resize (fetched 2026-08-28T04:06:41.970121+00:00, sha 6a86be01f8c5)
  - homepage: https://kirillmurashov.com/vue-drag-resize/ (fetched 2026-08-29T10:16:19.969905+00:00, sha 0e17a82c3db1)
  - registry_npm: https://registry.npmjs.org/vue-drag-resize (fetched 2026-08-29T10:16:19.972514+00:00, sha 2f64967ebfba)
- Data as of 2026-08-30T08:39:29.467469+00:00.
