Use hooks to turn your components into draggable elements and droppable areas with just a few lines of code. Control every aspect of how your draggable and droppable components should behave. Exposes hooks such as use draggable and undroppable, and won't require you to re-architect your app or create additional wrapper DOM nodes. Customizable collision detection algorithms, multiple activators, draggable overlay, drag handles, auto-scrolling, constraints, and so much more. Lists, Grids, multiple containers, nested contexts, variable-sized items, virtualized lists, 2D Games, and more. The core of the library weighs around 10kb minified and has no external dependencies. It's built around built-in React state management and context, which keeps the library lean. Customize every detail: animations, transitions, behaviours, styles. Build your own sensors, collision detection algorithms, customize key bindings and so much more.

Features

  • Lightweight, performant, accessible
  • Extensible drag & drop toolkit for React
  • A modular toolkit for building drag & drop interfaces
  • Keyboard support
  • Sensible default aria attributes
  • Built with performance in mind in order to support silky smooth animations

Project Samples

Project Activity

See All Activity >

Categories

Build Tools

License

MIT License

Follow dnd kit

dnd kit Web Site

Other Useful Business Software
Full-stack observability with actually useful AI | Grafana Cloud Icon
Full-stack observability with actually useful AI | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of dnd kit!

Additional Project Details

Programming Language

TypeScript

Related Categories

TypeScript Build Tools

Registered

2022-02-16