# Drag\&Drop Overview

The KendoReact Drag\&Drop functionality provides an easy way to drag and drop both native HTML elements and React components.

Depending on the type of the targeted React components, you can implement the Drag\&Drop in two ways:

* By using the `useDraggable` and `useDroppable` React [Hooks](https://react.dev/reference/react/hooks) in [functional components](https://react.dev/reference/react/Component).
* By using the [`Draggable`](https://www.telerik.com/kendo-react-ui/components/common/api/draggable) and [`Droppable`](https://www.telerik.com/kendo-react-ui/components/common/api/droppable) higher-order KendoReact components in [class components](https://react.dev/reference/react/Component).

<CtaPanelOverview></CtaPanelOverview>

The following example demonstrates the Drag\&Drop in action.

[Demo Source](https://demos.telerik.com/kendo-react-ui/common/drag-and-drop/overview/func/source.txt)

The example above showcases the Drag\&Drop functionality—we register an element as `draggable` and provide four possible `droppable` elements. Additionally, we apply a visual clue to the `drop` elements to show where a `drop` is possible.

> The Drag\&Drop is part of the [KendoReact Common Utilities](https://www.telerik.com/kendo-react-ui/components/common) component library. The procedures for installing, importing, and using the Common Utilities are identical for all components in the package. To learn how to use the Drag\&Drop and the rest of the Common Utilities, see the [Getting Started with the KendoReact Common Utilities](https://www.telerik.com/kendo-react-ui/components/common/get-started) guide.

## Key Features

* [Auto Scroll](https://www.telerik.com/kendo-react-ui/components/common/drag-and-drop/auto-scroll)—Automatically scroll the nearest scroll container when the dragged component is close to the edges.
* [Drag Hint](https://www.telerik.com/kendo-react-ui/components/common/drag-and-drop/drag-hint)—Render a copy of the original element to be used as `hint` during dragging.
* [Drag Handle](https://www.telerik.com/kendo-react-ui/components/common/drag-and-drop/drag-hint#drag-handle)—Allow drag only through interacting with a specified `handle` while still using the parent element for `drop` detection.
* [Hold to Drag](https://www.telerik.com/kendo-react-ui/components/common/drag-and-drop/hold-to-drag)—Enable dragging after holding the drag element for a specific period of time.
* [Minimum Distance](https://www.telerik.com/kendo-react-ui/components/common/drag-and-drop/minimum-distance)—Display the `drag` hint after a a predefined distance is covered.
* [Axis lock](https://www.telerik.com/kendo-react-ui/components/common/drag-and-drop/axis-lock)—Enable dragging only on a single axis.
* [Multiple Drag Contexts](https://www.telerik.com/kendo-react-ui/components/common/drag-and-drop/multiple-drags)—Implement multiple drag-n-drop functionalities without interference between them.

## Suggested Links

* [Getting Started with the KendoReact Layout Package](https://www.telerik.com/kendo-react-ui/components/layout/get-started)
* [API Reference of the `useDraggable` hook](https://www.telerik.com/kendo-react-ui/components/common/api/usedraggable)
* [API Reference of the `useDroppable` hook](https://www.telerik.com/kendo-react-ui/components/common/api/usedroppable)
* [API Reference of the `Draggable` Component](https://www.telerik.com/kendo-react-ui/components/common/api/draggable)
* [API Reference of the `Droppable` Component](https://www.telerik.com/kendo-react-ui/components/common/api/droppable)
* [API Reference of the `DragAndDrop` Component](https://www.telerik.com/kendo-react-ui/components/common/api/draganddrop)
