HomePluginsToolsGuidesPortfolioWorkflowAboutWork with usContact
GetSet

We build and fix production web applications, and publish the UI packages and free browser tools on this site.

info@get-set.it

Explore

  • Plugins
  • Tools
  • Guides
  • Portfolio

Company

  • About
  • Workflow
  • Work with us
  • Contact

Legal

  • Terms
  • Privacy
  • Accessibility
  • Cookies

© 2026 GetSet

We're on npm

Your Bundle

Your bundle is empty

Add plugins from the catalog to build one combined CDN link — like picking font families.

Browse plugins
Interaction Plugin

GS Sortable

Draggable list re-ordering manager with smooth swap animations, drag handles, and touch screen support.

Latest: v1.1.5
Downloads last month: 82
Visit Demo Website

Install Package

npm i @get-set/gs-sortable
or via CDN
<link rel="stylesheet" href="https://cdn.get-set.it/gs-sortable/latest/gs-sortable.min.css">
<script src="https://cdn.get-set.it/gs-sortable/latest/gs-sortable.min.js"></script>
Interactive Playground

Live Sandbox

Sortable.jsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import Sortable from '@get-set/gs-sortable';

export default function App() {
  return (
    <Sortable
      type="column"
      gap="12px"
    >
      <div className="item">Phase A: Discovery</div>
      <div className="item">Phase B: Core Development</div>
      <div className="item">Phase C: Refinement</div>
    </Sortable>
  );
}
Live Preview
Phase A: DiscoveryDrag Handle
Phase B: Core DevelopmentDrag Handle
Phase C: RefinementDrag Handle

Options

Configuration Values

Layout Type?List direction / mode.
Grid ColumnsColumns only apply to the Grid layout (current: "column").
Gap?CSS gap between items in px or rem, e.g. "12px" or "0.75rem".
Drag Handle?Auto-rendered grip; restricts dragging to it.
Custom Handle Selector?CSS selector of your own drag handle element.
Ghost Style?Placeholder left while dragging.
Reflow Duration (ms)?Sibling reflow / drop-settle duration.
Theme?Container + card theme.
Drag Class?Extra class on the grabbed element.
Ghost Class?Extra class on the placeholder.
Reference Key?Registry key (used by acceptFrom).

Feature Flags

API Specifications

OptionTypeDefaultDescription
type'column' | 'row' | 'grid''column'List display layout configuration.
countnumber3Matrix columns count (grid mode).
gapstring'12rem'Spaces between sort items.
allowOutOfBoxbooleantruePermit drag items out of box boundary.
takeClonebooleanfalseDrag element duplicates.
animationnumber200Reorder transition speed in ms.
disabledbooleanfalseDisable dragging triggers.

Technical Features

Swap Physics

Smooth visual slide swapping as children get dragged.

Drag Handles

Restrict drag initiation to specific sub-elements.

Touch Support

Native touch-start listener loops for mobile lists.

State Management

Exposes clean array reordering indices on drop.

We build and maintain these packages. If you want this kind of work on your own product, we’re available.

Work with us Contact us