NewCode with Beto MCP

Drag and Drop Tutorial | Beautiful DnD

Beto, June 28, 2024 · 3,916 views

Drag and drop is one of those features that looks simple and gets messy fast. So instead of hand-rolling it, we use Atlassian's library (trusted by nearly 100,000 developers) and spend our time where it matters: building a pixel-perfect task manager from a real Figma design. I build it in the video with Next.js, TypeScript, shadcn UI, and Tailwind.

This is the closest thing to a real frontend ticket: a design handoff, missing mobile views, and a deadline energy.

What's inside

  • Smooth drag and drop between columns with Atlassian's library
  • A command palette with Command+K for quick task creation
  • Figma developer mode to nail exact paddings and margins
  • shadcn UI plus Tailwind for fast, consistent styling
  • What to do when the design has no mobile version (a real job skill)
  • Dropdown actions on each task card, starting with delete

Resources

CourseReact with TypeScript course

Let's connect!

Had a win? Get featured on Code with Beto.Share your story