Declarative Dragging

Joshua Horowitz, Andrew Blinn and Jeffrey Heer

Abstract

Drag-and-drop interactions realize the vision of direct manipulation, allowing objects to be manipulated in intuitive and responsive ways. However, implementing such interactions typically requires managing complex spatial, temporal, and visual behaviors. We present a higher-level alternative, declarative dragging (D2). D2 is model-driven: An interface author makes an element draggable by specifying which future model states should be accessible by dragging it. An engine speculatively renders these states to view trees, extracts the position of the dragged element in each of these renderings, and uses these to synthesize a drag-and-drop interaction, all without detailed work required by the interface author. To provide greater expressive range and customizability, D2 is composable: simple model-driven drag-and-drop behaviors can be combined to create more complex ones, and modifiers can layer features like floating, snapping, and transitions. To test D2, we built a prototype engine called Dragology. We demonstrate that Dragology’s model-driven primitives can concisely express a broad range of high-quality drag-and-drop interactions. Interviews with 13 interface developers suggest declarative dragging lowers the floor for building polished, varied drag-and-drop interactions – while surfacing barriers to learning and adoption.

Venue
UIST 2026
Volume
Proceedings of the 39th Annual ACM Symposium on User Interface Software and Technology
DOI
10.1145/3830398.3830556
PDF
https://dl.acm.org/doi/pdf/10.1145/3830398.3830556
Anthology ID
2026.uist.81

Cite

@inproceedings{horowitz-etal-2026-declarative,
    title = {{Declarative Dragging}},
    author = {Joshua Horowitz and Andrew Blinn and Jeffrey Heer},
    booktitle = {Proceedings of the 39th Annual ACM Symposium on User Interface Software and Technology},
    isbn = {9798400728563},
    year = {2026},
    publisher = {Association for Computing Machinery},
    address = {New York, NY, USA},
    doi = {10.1145/3830398.3830556},
    url = {https://doi.org/10.1145/3830398.3830556},
    abstract = {Drag-and-drop interactions realize the vision of direct manipulation, allowing objects to be manipulated in intuitive and responsive ways. However, implementing such interactions typically requires managing complex spatial, temporal, and visual behaviors. We present a higher-level alternative, declarative dragging (D2). D2 is model-driven: An interface author makes an element draggable by specifying which future model states should be accessible by dragging it. An engine speculatively renders these states to view trees, extracts the position of the dragged element in each of these renderings, and uses these to synthesize a drag-and-drop interaction, all without detailed work required by the interface author. To provide greater expressive range and customizability, D2 is composable: simple model-driven drag-and-drop behaviors can be combined to create more complex ones, and modifiers can layer features like floating, snapping, and transitions. To test D2, we built a prototype engine called Dragology. We demonstrate that Dragology’s model-driven primitives can concisely express a broad range of high-quality drag-and-drop interactions. Interviews with 13 interface developers suggest declarative dragging lowers the floor for building polished, varied drag-and-drop interactions – while surfacing barriers to learning and adoption.}
}