Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
thedaviddias avatar

Drag And Drop

  • 3 installs
  • 228 repo stars
  • Updated June 30, 2026
  • thedaviddias/ux-patterns-for-developers

Helps with ai & agent building tasks.

About

drag-and-drop is a Claude Code skill for ai & agent building. It helps solo builders move faster with AI-assisted coding.

  • drag-and-drop
  • AI & Agent Building
  • AI-coding skill

Drag And Drop by the numbers

  • 3 all-time installs (skills.sh)
  • Ranked #13,657 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Aug 3, 2026 (Skillselion catalog sync)
npx skills add https://github.com/thedaviddias/ux-patterns-for-developers --skill drag-and-drop

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs3
repo stars228
Last updatedJune 30, 2026
Repositorythedaviddias/ux-patterns-for-developers

What it does

Helps with ai & agent building tasks.

Files

SKILL.mdMarkdownGitHub ↗

Drag and Drop

Allow users to reorder items intuitively

What it solves

A Drag and Drop pattern helps teams create a reliable way to let users move or reorder items spatially while preserving clear feedback, keyboard alternatives, and safe recovery. It is most useful when teams need sortable lists and priorities. Compared with adjacent patterns, this pattern should reduce friction without hiding the state, rules, or recovery paths people need to keep moving.

When to use

  • Sortable lists and priorities
  • Moving cards across stages
  • Upload or placement gestures

When to avoid

  • Use explicit buttons or menus when direct manipulation would be harder to learn.
  • Avoid gesture-heavy behavior if the surface must work well with keyboard-only use.
  • Do not require drag or hover when a clearer alternative exists.

Implementation workflow

1. Confirm the pattern matches the problem and constraints before copying the example. 2. Start from the anatomy and examples in references/pattern.md, then choose the smallest viable variation. 3. Apply accessibility, performance, and interaction guardrails before layering visual polish. 4. Use the testing guidance to verify behavior across keyboard, screen reader, responsive, and failure scenarios.

Accessibility guardrails

Keyboard Interaction

  • [ ] Verify that drag and drop can be completed using keyboard alone.
  • [ ] Keep focus order logical when the pattern opens, updates, or reveals additional UI.
  • [ ] Preserve a visible focus state that is still readable at high zoom.

Screen Reader Support

  • [ ] Use semantic elements first, then add ARIA only where semantics alone are not enough.
  • [ ] Announce state changes such as errors, loading, or completion in the right place and with the right politeness.
  • [ ] Connect labels, hints, and status text with aria-describedby or structural headings when useful.

Visual Accessibility

  • [ ] Do not rely on color alone to convey severity, completion, or selection state.

Performance guardrails

  • Avoid re-rendering the entire collection on every pointer move when only the placeholder position needs to change.
  • Use stable item heights or preview geometry so the list does not shift unpredictably during a drag.
  • Throttle expensive collision or ordering calculations when the surface contains many items.

Common mistakes

Designing only the happy path

The Problem: The pattern feels polished until loading, empty, and failure states appear.

How to Fix It? Specify the full lifecycle alongside the default state so implementation does not improvise later.

Letting interaction and content drift apart

The Problem: Users work harder when controls, status, and supporting information feel disconnected.

How to Fix It? Keep the information architecture of the pattern close to the interaction model.

Treating accessibility as a final pass

The Problem: Keyboard, announcement, and reading-order issues become expensive once the interaction is already fixed.

How to Fix It? Bake semantics, focus behavior, and announcements into the first implementation.

Related patterns

  • https://uxpatterns.dev/patterns/data-display/kanban-board
  • https://uxpatterns.dev/patterns/data-display/list-view
  • https://uxpatterns.dev/patterns/media/image-upload

---

For full implementation detail, examples, and testing notes, see references/pattern.md.

Pattern page: https://uxpatterns.dev/patterns/content-management/drag-and-drop

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.