Sortable Drag & Drop Items
"
svelte-sortable-items
is a Svelte/SvelteKit package to create sortable drag-and-drop items.This package allows you to relate a JavaScript array to sortable HTML elements.
It differs from other Svelte sorting packages by not committing to a specific HTML structure (like
ul
/li
lists). Furthermore, it promotes sorting from the child elements only, instead of sorting the children of a parent element. This allows a non-opinionated structure/styling and, consequently, the ordering of more flexible structures, such as the lines of a table for example."