kipluo
Included in $29 packInteractionsReact + FlutterLists & inboxesDashboards

React Drag and Drop Animation – Spring Sortable List

Smooth drag-and-drop sortable list for React with live spring displacement, pointer drag handles, and full Space + Arrow keyboard reordering.

Live interactive demo · Drag a grip handle or press Space.
  • Design tokens

    CSS variables

  • Spring engine

    120 Hz loop

  • Gesture lock

    Touch & mouse

  • Sound palette

    Web Audio

Motion preview loop
  • Design tokens

    CSS variables

  • Spring engine

    120 Hz loop

  • Gesture lock

    Touch & mouse

  • Sound palette

    Web Audio

Live vector preview rendered straight from the same 120 Hz spring engine—no heavy GIF compression artifacts, zero layout shift.

Customization playground

Tune outline, fill, accent, text colour, and shadow direction live above. The snippet updates automatically for copy-and-paste.

Customize

Colours
Shadow
<SortableList />

Installation

Install directly into your project source with the Kipluo CLI (React/Tailwind v4) or add the matching Flutter package.

Install

$ npx kipluo add sortable-list

Working code example

sortable-list.tsx
import { SortableList } from "@/components/kipluo/sortable-list";

export function RoadmapList() {
  return (
    <SortableList
      items={[
        { id: "tokens", label: "Design tokens", meta: "CSS variables" },
        { id: "spring", label: "Spring engine", meta: "120 Hz loop" },
        { id: "sound", label: "Sound palette", meta: "Web Audio" },
      ]}
      onReorder={(next) => console.log("New order:", next.map((i) => i.id))}
    />
  );
}

What Sortable List does

  • Tracks pointer drag offsets directly on GPU-composited transforms while sibling items spring smoothly out of the way to preview drop slots.
  • Provides complete keyboard reordering (Space to pick up, ArrowUp/ArrowDown to move, Space to drop) with aria-live position announcements.
  • Zero external DnD framework overhead—owns its pointer capture and spring settlement cleanly.

Accessibility & sound behavior

Keyboard & screen readers: Focus a grip handle, press Space to grab, Arrow Up / Down to move, and Space or Escape to drop.

Reduced motion: Automatically respects prefers-reduced-motion: reduce by snapping spring targets immediately without jarring travel.

Sound cues: A pop on pickup, an ascending tick on each swap, and a soft boop on drop. Disable per instance with sound={false} or globally via setSoundEnabled(false).

API reference

itemsSortableItem[]
Initial list items. Default Demo rows.
onReorder(items: SortableItem[]) => void
Called whenever items swap order.
soundboolean
Plays this component's sounds. The global switch setSoundEnabled(false) silences every component. Default true.

Framework compatibility

Platform / ToolStatusDetails
React 18 & 19Full supportZero peer runtime lock-in beyond @kipluo/core.
Next.js App RouterFull supportShips with 'use client' boundaries; SSR-safe hydration.
Vite / Remix / AstroFull supportStandard ESM TypeScript source files you own.
Tailwind CSS v4 & shadcn/uiNativeInherits CSS variables and installs via shadcn registry or CLI.
Flutter (Dart)Native packageMatching spring physics, themes, and PCM audio in packages/flutter/kipluo.

Build it yourself: related tutorials

All tutorials →