Skip to content

nextjs-dnd

A Next.js example of a sortable drag-and-drop list using shadcn/ui and dnd-kit.

nextjs-shadcn-dnd.vercel.app

nextjs-dnd website screenshot
Added
GitHub stars
178
Price
Free

About

About nextjs-dnd

nextjs-dnd is an example project for sortable drag and drop in a Next.js app, built with shadcn/ui and the dnd-kit library. The live demo shows a list of popular web frameworks, NextJS, ReactJS, Astro and Vue, that you reorder by dragging.

There is nothing to install as a package. Clone the repository, run the dev server with npm run dev, and read the code to see how the sortable list is wired up; the README is the stock create-next-app text, so the source is the documentation. It has about 180 GitHub stars, lists no license, and was last pushed in August 2024. It suits developers who want a small reference before adding drag-to-reorder lists to their own app.

nextjs-dnd features

5 features

  • Sortable list with drag and drop
  • Built on dnd-kit
  • shadcn/ui styling
  • Next.js app router project
  • Live demo on Vercel

What you can build with nextjs-dnd

3 use cases

  • Letting users reorder items in a settings list
  • Reading a minimal dnd-kit setup before building a board
  • Adding drag handles to a ranked list

Pricing

Ship it with Pro

The directory is free. Pro adds 6,000+ blocks, 14 premium templates and the MCP server, so your AI editor installs them for you.

4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.

  • Secure checkout via Stripe
  • Code lives in your repo
  • Keep what you've shipped if you cancel
  • License terms

FAQ

Frequently asked questions

What nextjs-dnd is, how to install it, its license and its alternatives.

4.9 out of 5 from 150+ developers

Found your stack? Ship it.

6,000+ blocks, premium templates and MCP in every Pro plan. The directory stays free.

Get Pro