Drag & Reorder
Kanban Move
Three-column kanban board where a cyan card lifts and spring-animates between lanes via FLIP. Auto-demos on a timer; supports arrow keys and horizontal drag.
cssmedium complexitymoderate motionclick
Open on the canvas to copy the code → Free account · 3 copies a day · membership goes unlimited
Worth keeping?
Votes steer what gets built next — sign in to cast one, free to read
When to use it
Showcasing drag-to-reorder UI patterns, kanban onboarding demos, or project-management feature previews.
When not to
Production task management — auto-demo loop and fixed card set must be removed and replaced with real data before shipping.
Working with an AI agent
Every component ships agent-ready metadata. An example instruction for this one:
Change the demo interval from 2200ms to 1400ms, add a fourth column, and swap the accent color from cyan (#22d3ee) to violet (#a855f7). 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
- demo interval (2200ms in setInterval)
- column count (COLS=3)
- accent color (--dr02-acc)
- spring stiffness (0.18) and damping (0.34)
- initial card layout (layout array)
- theme tokens (:root dark defaults + [data-theme=light] overrides)
Keep intact
- FLIP engine (flipReorder + measure functions)
- IIFE wrapper
- prefers-reduced-motion static fallback
- visibilitychange pause
- theme hook (?theme= bootstrap + forever:theme message listener + theme tokens)
Known limitations
- Auto-demo loop must be disabled for real user-controlled boards
- Card content is decorative CSS pseudo-elements only — no real text
- Pointer drag uses column-width snapping, not pixel-precise drag
More Drag & Reorder components
- FLIP Reorder7-row list reorders via FLIP spring physics on drag or arrow-key input; lifted card gains glow outline while others spring to new slots. Auto-demos when idle.
- Pull to RefreshA 5-row canvas list springs down on drag, revealing diagonal bars and a rotating geometric indicator; releasing past threshold triggers a 1.5s sync spinner.
- Sortable Grid3x3 grid of colored numbered tiles that spring-animate into position as tiles are dragged or swapped; auto-shuffles on idle as a demo.
- Snap SliderOchre-accent range slider with 9 tick detents; thumb flicks with spring momentum and rubber-bands at ends. Self-demos on idle, accepts keyboard input.
- Dual RangeCanvas dual-range slider with two spring-driven thumbs (white lo, amber hi), hatched fill, delta readout, and tick marks. Auto-breathes when idle.
- Carousel ThrowSeven colored cards orbit a glowing hub in a radial ring; drag to fling with angular inertia, release to snap to the nearest card under the marker.