# lukasoppermann/html5sortable

VanillaJS sortable lists and grids using native HTML5 drag and drop API.

Repository: https://github.com/lukasoppermann/html5sortable
Canonical: https://ross.abutalabs.com/products/lukasoppermann-html5sortable
Homepage: http://lukasoppermann.github.io/html5sortable/index.html
Language: TypeScript
License: MIT
License Family: permissive
Topics: vanillajs, sortable-lists, drag, javascript, vanilla-javascript, drag-and-drop, sortables
Last push: 2024-06-10T13:05:52+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": 4738, "days_push": 814, "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 1643, forks 447 (observed 2026-08-28T04:05:15.462053+00:00)

## What it is
A lightweight (2.54KB gzipped) vanilla JavaScript micro-library for creating sortable lists and grids using the native HTML5 drag and drop API. It supports nested lists, connected lists, table row sorting, handles, and touch support with no dependencies.

## Use cases
- make a list sortable with drag and drop
- reorder grid items by dragging
- drag items between two connected lists
- sort table rows by dragging
- sortable list with drag handles and disabled items
- lightweight drag and drop without jQuery

## When to choose
- you need a tiny, dependency-free sortable for plain JavaScript projects
- you want native HTML5 drag and drop for lists, grids, or table rows
- you need connected or nested sortable lists

## When to avoid
- you need actively maintained software with guaranteed bug fixes
- you need touch-optimized or mobile-first drag and drop with advanced features
- you are using a framework where a dedicated adapter or component is better supported

## Facets
- artifact type: library
- maturity: maintenance
- function: ui-components, animation
- domain: frontend, web-development
- platform: browser, cross-platform
- tags: drag-and-drop, sortable-lists, vanillajs, micro-library, typescript, no-dependencies

## Member repositories
- lukasoppermann/html5sortable (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:15.462053+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-30T03:45:59.347743+00:00, confidence not recorded.
  - readme: https://github.com/lukasoppermann/html5sortable (fetched 2026-08-28T04:05:15.462053+00:00, sha b144d55a9cc4)
  - homepage: http://lukasoppermann.github.io/html5sortable/index.html (fetched 2026-08-29T11:19:21.057589+00:00, sha 4abfec21e747)
  - registry_npm: https://registry.npmjs.org/html5sortable (fetched 2026-08-29T11:19:21.066879+00:00, sha 305f534c47b7)
- Data as of 2026-08-30T08:39:29.467469+00:00.
