useDockDrag

AppDock's grip drag. Lifts the bar off its edge, keeps it under the pointer, previews where it will land and hands the landing to useDockFlight. Nothing re-docks mid-drag.

Install: pnpm add-composable useDockDrag

Wiring a grip

The handlers go on the grip. dragStyle goes on the bar.

Previewing a drag from the layout

Page chrome can react to a viewport drag without owning it.

API