Installation - @dnd-kit – Documentation
Home Examples Github Search ⌘ K Overview INTRODUCTION Installation Quick start API DOCUMENTATION DndContext Droppable Draggable Sensors Modifiers PRESETS Sortable GUIDES Accessibility Powered By GitBook Installation To get started with @dnd-kit, install the core library via npm or yarn: npm install @dnd-kit/core You'll also need to be make sure you have peer dependencies installed. Chances are you already have react and react-dom installed in your project, but if not, make sure to install them: npm install react react-dom Packages @dnd-kit is a monorepo. Depending on your needs, you may also want to install other sub-packages that are available under the @dnd-kit namespace. Core library In order to keep the core of the library small, @dnd-kit/core only ships with the main building blocks that the majority of users will need most of the time for building drag and drop experiences: Context provider Hooks for: Draggable Droppable Drag Overlay Sensors for: Pointer Mouse T
There’s a new version of @dnd-kit available. We recommend you use the latest version instead. To get started with the legacy version of @dnd-kit , install the core library via npm or yarn : npm install @dnd-kit/core You’ll also need to be make sure you have peer dependencies installed. Chances are you already have react and react-dom installed in your project, but if not, make sure to install them: npm install react react-dom Packages @dnd-kit is a monorepo . Depending on your needs, you may also want to install other sub-packages that are available under the @dnd-kit namespace. Core library I
related reading
- Getting Started - Legacy | dnd kitdocs.dndkit.com
- DndContext - Legacy | dnd kitdocs.dndkit.com
- Sortable - Legacy | dnd kitdocs.dndkit.com
- Draggable - Legacy | dnd kitdocs.dndkit.com
- Drag Overlay - Legacy | dnd kitdocs.dndkit.com
- Build your own Reactpomb.us
- React Foundations: Installing Next.js | Next.jsnextjs.org
- Node-Based UIs in React - React Flowreactflow.dev
- Welcome to Quartz 5quartz.jzhao.xyz
- Motion (prev Framer Motion): JavaScript & React animation librarymotion.dev
- srclsacred.computer
- React Foundations | Next.jsnextjs.org