--- id: 'Drag and drop' section: components cssPrefix: pf-v6-c-drag-drop ---import './DragDrop.css' ## Examples ### Basic ```html
Item
Item
Item
Item
Item
Item
Item
Item
``` ### Dragging ```html
Item
Item
Item
Item
Item
Item
Item
Item
``` ### Drag outside ```html
Item
Item
Item
Item
Item
Item
Item
Item
``` ## Documentation ### Usage | Class | Applied to | Outcome | | -- | -- | -- | | `.pf-v6-c-draggable` | `*` | Initiates a draggable element. | | `.pf-v6-c-droppable` | `*` | Initiates a droppable element. | | `.pf-m-dragging` | `.pf-v6-c-draggable`, `.pf-v6-c-droppable` | Indicates a draggable and droppable element are in the dragging state. | | `.pf-m-drag-outside` | `.pf-v6-c-draggable`, `.pf-v6-c-droppable` | Indicates a draggable element is dragged outside of a droppable element. |