A modern, dependency-free JavaScript library for building highly customizable drag-and-drop interfaces like sortable lists, kanbans, and custom grid reorganization.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install shopify-draggable
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install shopify-draggable using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The @shopify/draggable library is a lightweight, pure JavaScript utility designed to handle complex drag-and-drop interaction patterns. Unlike rigid solutions, it splits its functionality into modular components including Draggable (the core engine), Sortable (for reordering), Droppable (for designated drop zones), and Swappable (for element position swapping). Built without runtime dependencies, it integrates smoothly with modern web frameworks or vanilla JS applications.
As part of the Openclaw Skills ecosystem, developers can utilize this utility to rapidly prototype and build fluid, accessible drag-and-drop interfaces. Supported by a robust plugin and sensor system, it enables developers to handle mouse, touch, and even force-touch events out-of-the-box, adapting easily to responsive web designs.
drag:start, sortable:sorted, droppable:dropped) throughout the interaction lifecycle.To begin using this capability within your Openclaw Skills workspace, install the package via npm:
npm install @shopify/draggable
Alternatively, you can load it directly from a modern CDN for quick prototyping:
<script type="module">
import { Draggable, Sortable, Droppable, Swappable } from 'https://cdn.jsdelivr.net/npm/@shopify/draggable/build/esm/index.mjs';
</script>
This library organizes its interactive structures via configurations and class states. Use the tables below to structure your components:
| Option | Type | Default | Description |
|---|---|---|---|
draggable |
String |
'.draggable-source' |
CSS selector identifying draggable elements |
handle |
`String | null` | null |
delay |
Object |
{} |
Milliseconds delay configuration for mouse and touch |
distance |
Number |
0 |
Minimum drag distance in pixels before triggering |
| Event Class State | Default Class Hook | Description |
|---|---|---|
container:dragging |
draggable-container--is-dragging |
Applied to the container during drag |
source:dragging |
draggable-source--is-dragging |
Applied to the cloned source |
mirror |
draggable-mirror |
The floating visual mirror element |
event.cancel() during the drag:start phase.Collidable, Snappable, Scrollable (auto-scrolling boundaries), and animations for Sort/Swap movements.ForceTouchSensor and native HTML5 DragSensor alongside modern mobile Touch sensors.addContainer() and removeContainer() to update active drag-and-drop targets on the fly without re-instantiating.Loading
An advanced AI-driven utility that translates natural language descriptions directly into fully compliant, responsive SVG vector graphic code.

An advanced seven-layer analytical engine that converts business agendas into structured, cross-validated reports using dynamically generated Python code.

An automated AI coding agent skill that generates complete, responsive frontend page code using a modern React 19, Vite 8, and Tailwind CSS 4 technical stack.

A structured AI agent workflow to screen physical and transition climate risks, assess financial materiality, and draft TCFD-aligned disclosure narratives.

Storyboard Master is an advanced video storyboard and shooting script generator that transforms creative briefs into production-ready, highly detailed visual plans.

An LLM-powered data analyst skill that translates natural language queries into read-only SQL, analyzes results, and generates interactive HTML visualizations.








































