NewsCrawler.org

How hover areas of selection boxes differ across design tools

How hover areas of selection boxes differ across design tools
A visualization of selection hover areas for tldraw
A visualization of selection hover areas for Figma
A visualization of selection hover areas for Sketch
Image: tldraw.dev

The author reviewed the selection box in design tools, the frame that appears around selected shapes. Inside it, dragging moves the selection, dragging an edge resizes along one axis, dragging a corner resizes along both axes, and dragging from further out on a corner rotates the selection. The hover areas[1] that trigger these actions differ widely between apps, and they are not visible in the interface.

To compare them, the author used Claude Code to build a Hammerspoon[2] script. The script moved the mouse across a 50x50 grid, recorded what the cursor looked like at each position, and produced a PNG image of the results for each app.

tldraw's own hover areas serve as the baseline. Figma's rotation area is an arc that wraps around the corner, Excalidraw uses the same size for edges and corners, and Miro has a corner area smaller than its edges, with overlapping edges. The author noted that the rotation arc in Rive appears to be -4.5° rather than -45°, possibly a unit or decimal error. The author plans to adjust tldraw's resize areas, since apps built with the tldraw SDK will inherit them.

Repository tldraw github.com

Open source React SDK for building infinite canvas apps, the library behind the tldraw whiteboard.

Stars: 51,000Forks: 3,600License: NOASSERTIONUpdated:

Read the original tldraw.devDiscussion

Discussion

Commenters mostly praised the level of detail and noted that this kind of UX work is largely invisible. One suggested adding a color legend to the illustrations, and another pointed out that a Figma button overlaps one of the corner areas. Another commenter said the analysis lacks detail on touch target sizes.

Sources

Published: First seen: Читать по-русски

Open as a page