Spec frame
A frame on a dotted grid with eight handles. Dimension lines with arrowheads sit outside it, extension lines grow from its corners while you drag, and a small lock tick plus the ratio name appear when an edge snaps to one.
Spec frame is part of Pro.
Get Pro to try it live and copy its code, along with every other element in the library.