# PuruVJ/neodrag

One Draggable to rule them all 💍

Repository: https://github.com/PuruVJ/neodrag
Canonical: https://ross.abutalabs.com/products/neodrag
Homepage: https://neodrag.dev
Language: TypeScript
License: MIT
License Family: permissive
Topics: svelte, draggable, javascript, typescript
Last push: 2026-08-10T10:53:37+00:00

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

## Adoption (not part of the score)
Stars 2449, forks 62 (observed 2026-08-28T04:06:52.889417+00:00)

## What it is
Neodrag is a family of tiny (~2KB) multi-framework libraries for making DOM elements draggable, with consistent APIs for Svelte, React, Vue, Solid, and vanilla JS. It supports axis locking, bounds, grid snapping, handles, and SSR-friendly usage.

## Use cases
- make elements draggable in react
- draggable svelte action
- constrain dragging to parent container
- snap dragging to a grid
- lightweight drag library with small bundle size
- draggable vue directive

## When to choose
- you need drag behavior across multiple frameworks with one consistent API
- bundle size matters and you want a ~2KB draggable
- you need SSR compatibility with meta-frameworks like Next.js or SvelteKit
- you need axis locking, bounds, grid snapping, or drag handles

## When to avoid
- you need full drag-and-drop list reordering or file drop zones
- you need touch/multi-pointer gesture support beyond basic dragging
- you're building with Lit or an unsupported framework

## Facets
- artifact type: library
- maturity: active
- function: ui-components, frontend-framework
- domain: frontend, web-development
- platform: browser, cross-platform
- tags: draggable, svelte, react, vue, solid, drag-and-drop, tiny-bundle, ssr-friendly, nodejs

## Member repositories
- PuruVJ/neodrag (main) score 78

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:52.889417+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:30:14.067082+00:00, confidence not recorded.
  - readme: https://github.com/PuruVJ/neodrag (fetched 2026-08-28T04:06:52.889417+00:00, sha 431f3b7d631f)
  - homepage: https://neodrag.dev (fetched 2026-08-29T10:11:45.749215+00:00, sha 57179f970317)
  - site_page: https://www.neodrag.dev/docs/svelte (fetched 2026-08-29T10:11:45.758344+00:00, sha d2820d80ed43)
  - site_page: https://www.neodrag.dev/docs/react (fetched 2026-08-29T10:11:45.760867+00:00, sha 1fbae9d8217d)
  - site_page: https://www.neodrag.dev/docs/vue (fetched 2026-08-29T10:11:45.763105+00:00, sha e778be1bf2c2)
  - site_page: https://www.neodrag.dev/docs/solid (fetched 2026-08-29T10:11:45.765381+00:00, sha b34955e348de)
  - site_page: https://www.neodrag.dev/docs/vanilla (fetched 2026-08-29T10:11:45.768052+00:00, sha e9e2312931a6)
- Data as of 2026-08-30T08:39:29.467469+00:00.
