Skip to content
Patternfly Logo

Drag and drop

Info alert:Beta feature

This Beta component is currently under review and is still open for further evolution. It is available for use in product. Beta components are considered for promotion on a quarterly basis. Please join in and give us your feedback or submit any questions on the PatternFly forum or via Slack. To learn more go to our Beta components page on GitHub.

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-c-draggable
*
Initiates a draggable element.
.pf-c-droppable
*
Initiates a droppable element.
.pf-m-dragging
.pf-c-draggable, .pf-c-droppable
Indicates a draggable and droppable element are in the dragging state.
.pf-m-drag-outside
.pf-c-draggable, .pf-c-droppable
Indicates a draggable element is dragged outside of a droppable element.

CSS variables


View source on GitHub