BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/motiq/kanban-card-movement

Kanban Card Movement

motiq/kanban-card-movement
FreeComponent

An application-controlled Kanban interaction layer: pointer + touch + keyboard/menu card movement, drop validation, optimistic move with failure rollback, drop indicators, and empty columns. Dragging is never required. Clean-room (no external drag library); transform-based movement that doesn't re-render every card.

Live preview

live · rendered by the registry
Rendered by motiq on their own page — this is the component running, not a screenshot of it.

Install it

npx shadcn@latest add https://www.motiq.dev/r/kanban-card-movement.json

Source

registry/productivity/kanban-card-movement.tsxwww.motiq.dev/r/kanban-card-movement.json · first 6 KB
1"use client";
2
3/* --------------------------------------------------------------------------
4 * KanbanCardMovement — a presentation-only *card movement interaction layer*
5 * for a board. It is NOT a project-management app: the host application owns
6 * the columns, the cards, WIP limits, validation, and persistence. This
7 * component renders that data and owns only the *movement UX* — pointer drag,
8 * touch drag, keyboard pick-up-and-move, a non-drag "Move" menu, drop
9 * validation, drop indicators, and optimistic movement with failure rollback.
10 *
11 * Movement is implemented CLEAN-ROOM on native Pointer events + CSS transforms
12 * (Motion for React is used only for the layout/FLIP reflow when cards settle
13 * into a new slot). There is deliberately **no** third-party drag-and-drop
14 * dependency (no dnd-kit / react-dnd / sortable) so the component stays small
15 * and isolated.
16 *
17 * Accessibility (never drag-only):
18 * - Every card is a keyboard "pick up → arrow → drop" target (Space/Enter to
19 * grab, arrows to move between columns + positions, Enter to drop, Escape to
20 * cancel and return to origin).
21 * - Every card also exposes an always-available **Move** menu — a full non-drag
22 * path to move between columns with a mouse, keyboard, or switch device.
23 * - Origin + destination are announced in a polite live region; focus returns
24 * to the moved card after any move (drag, keyboard, menu, or rollback).
25 * - Columns/drop targets are labelled; WIP-limit state is conveyed with text
26 * (e.g. "Full"), never colour alone; reduced motion drops all transforms.
27 *
28 * Performance:
29 * - During a pointer drag only the dragged card is repositioned, via a CSS
30 * transform written straight to its ref inside requestAnimationFrame — there
31 * is **no** React state update per `pointermove`. The only state that changes
32 * mid-drag is the drop-slot index, and cards are `React.memo`'d so the rest
33 * of the board does not re-render as the indicator moves.
34 * - For very large boards, virtualize each column's card list (e.g.
35 * `@tanstack/react-virtual`) and feed only the visible cards in as `cards`;
36 * the movement math here is O(cards) per commit, not per frame, so it stays
37 * cheap. Keep column card counts bounded or windowed for 60fps drag.
38 *
39 * Clean-room original.
40 * ----------------------------------------------------------------------- */
41
42import * as React from "react";
43import { motion } from "motion/react";
44
45// … truncated

What it pulls in

npm packages

  • motion

Other registry items

  • https://motiq.dev/r/utils.json
  • https://motiq.dev/r/primitives.json

Files it writes

  • registry/productivity/kanban-card-movement.tsx

Facts

Registry
motiq
Type
registry:component
Access
Free
Files written
1
Licence
MIT
In the index
at or before 2026-08-12
Last confirmed
today

Go to the source

Docs on motiq www.motiq.dev RMahammad/motiq on GitHub Raw registry item This item as JSON

More from motiq

All 100 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Activity Streamactivity-streammotiqComponentsFree1 dep
Adaptive Safe-Zone Gridadaptive-safe-zone-gridmotiqComponentsFreeno deps
Agent Run Timelineagent-run-timelinemotiqComponentsFree1 dep
AI Response Streamai-response-streammotiqComponentsFree1 dep
Animated Accordionanimated-accordionmotiqComponentsFree2 deps
Animated Buttonanimated-buttonmotiqComponentsFree1 dep
Animated Dialoganimated-dialogmotiqComponentsFree2 deps
Animated Gridanimated-gridmotiqComponentsFree2 deps

Also from Kynth Studios

Built for the same person as BlockDex

SkillWorks

Claude Code skills and plugins, scored

skillworks.kynth.studio

RuleStack

AGENTS.md gallery and agent-config comparison

rulestack.kynth.studio

ToolDrift

What the AI coding tools changed last night

tooldrift.kynth.studio

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex

The studio list

One product, taken apart, once a month

Kynth Studios pulls one shipped product open every month — what it does, what it cost to build, what the pipeline behind it looks like, and what the numbers did. One email a month, nothing in between.

Double opt-in — we send one confirmation link and nothing else until you click it.

BlockDex

Built by

Kynth Studios

the studio behind SkillWorks, RuleStack and ToolDrift

part of Toolproof, the measurement layer for AI agent tooling

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

© 2026 BlockDex. A Kynth Studios product. Changelog

BlockDex