Reorder List
The gap the neighboring rows open is the drop target.
Drag a row, or focus it and press Space to grab it. Arrow keys move; Escape cancels.
Installation
Copy the command below and run it in your terminal.
Usage
Bind the controlled array for live movement. Use onCommit for persistence so a drag writes once rather than on every crossing. Drag anywhere on a
row with a mouse, pen, or touch. Hover highlights the row; a grabbed row keeps its
raised surface and primary border until dropped.
Anatomy
ReorderList - Reorders controlled items with pointer or keyboard input.
bunx @sivir-ui/svelte add reorder-list