Drag & Reorder
Gear Pack Column
Pixel gear in ochre, verdigris and moss on an ink ground; drag or tap items into a weighted backpack column, with bounce and overflow feedback.
canvasmedium complexitymoderate motionpointermobile-readyaccessible
Open on the canvas to copy the code → Free account · 3 copies a day · membership goes unlimited
1
When to use it
A playful item picker with capacity feedback and keyboard alternatives.
When not to
Persistent inventory management without connecting real item data and storage.
Working with an AI agent
Every component ships agent-ready metadata. An example instruction for this one:
Adapt content through the existing data arrays (IT, N, CL); retain the named ochre, verdigris, moss and vermilion palette (--wia-go, --wia-cy, --wia-gr, --wia-cr), the controls and the demo-v1 lifecycle. Set aria-disabled="true" on .wia-root for the disabled look. Theme: dark tokens live in :root, the light variant in :root[data-theme="light"]; ?theme=light or a {type:'forever:theme'} postMessage switches at runtime.
Safe to edit
- Dark/light palette tokens
- Sample data and visible labels
- Animation timing and geometry
Keep intact
- IIFE and namespaced CSS/IDs
- Initial Manual mode; sticky first-input takeover
- Theme URL/message hook; redraw canvas palette
- Keyboard/focus/live status; reduced motion; hidden pause
Known limitations
- Illustrative data; local state resets on remount.
- Canvas/SVG labels scale with artwork; inspect readability at small sizes.
- Light ochre accent #7E5A0C has 4.4:1 contrast on #D8D8E5; catalog accentLight uses the light ink #101018 for placeholder chrome.
More Drag & Reorder components
- Kanban MoveThree-column kanban board where a verdigris card lifts and spring-animates between lanes via FLIP. Idle demo stops after first input; supports arrow keys,…
- Pull to RefreshA 5-row canvas list springs down on drag, revealing diagonal bars and a rotating geometric indicator in verdigris and red; releasing past threshold…
- Sortable Grid3x3 grid of colored numbered tiles that spring-animate into position as tiles are dragged or swapped; initial idle shuffle stops after first input.
- Dual RangeCanvas dual-range slider with two spring-driven thumbs (white lo, amber hi), hatched fill, delta readout, and tick marks. Initial breathing stops after…
- Carousel ThrowSeven colored cards orbit a ringed hub in a radial ring; drag to fling with angular inertia, release to snap to the nearest card under the marker.
- Drag HandleA vertical list of dark rows with grip handles that lift, take a teal ring and spring into place when dragged or arrow-keyed to reorder.