Drag and drop

The drag and drop component allows users to reposition, rearrange, and group items into more relevant and appropriate layouts.

Examples

Basic

Item
Item
Item
Item
Item
Item
Item
Item

Dragging

Item
Item
Item
Item
Item
Item
Item
Item

Drag outside

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.