← Catalog
Drag: Lock direction vs similar
2 options side by side. Our @design-infra pieces render live under the design system you choose; upstream pieces show their live demo where the host allows embedding, otherwise a screenshot with a link to the real thing. Pick or pass, then copy the feedback for your agent.
Design systemdark only
- drag — mediumrecipeRefinedPlayful
motion · medium cost
An example of locking the drag direction of an element based on its initial drag direction using Motion for React's dragDirectionLock prop.
$pnpm add motion # then adapt the free source from https://motion.dev/examples/react-drag-lock-direction - drag · state — mediumrecipeRefinedPlayful
motion · low cost
Reorder: drag-to-reorder lists with automatic layout animation — settings lists, kanban columns, playlists. Free example (motion is MIT); copy and adapt the source from the example page.
$pnpm add motion # then adapt the free source from https://motion.dev/examples/react-reorder-items
Feedback for your agent
Pick or pass on each option (add a reason if you like), then paste this back into your agent's chat.
From design-infra compare — Drag: Lock direction vs similar: (no picks yet) Compare: https://www.owencoonahan.xyz/design-infra/compare?ids=motion/drag-lock-direction,motion/reorder-items&label=Drag%3A+Lock+direction+vs+similar