Did you know?dyk.si

Drag and Drop

You grab an item and move it elsewhere, with grip dots and a shadow showing where it lands.

draggable + drop events / Pointer events

When to use it

For reordering lists and moving cards between columns.

Common mistake

Don’t make dragging the only way to reorder.

Accessibility

Always provide a keyboard or button alternative to move items.

Name in code

HTML/CSSdraggable + drop events / Pointer events
Reactdnd-kit
Jetpack ComposeModifier.dragAndDropSource / reorderable list
SwiftUI.draggable / .dropDestination / .onMove

Ready prompt for your coding agent

Add a Drag and Drop to this screen. What it is: You grab an item and move it elsewhere, with grip dots and a shadow showing where it lands. Implement with: draggable + drop events / Pointer events (HTML/CSS). Accessibility: Always provide a keyboard or button alternative to move items. When to use it: For reordering lists and moving cards between columns. Avoid: Don’t make dragging the only way to reorder. Reuse the project's existing design tokens, spacing and component conventions.

Or compose a whole page from this element and others →

Prompts are in English for the most precise results with coding agents.