MetalUI / Soft Hardware

React · SwiftUI · agent guides

Snap guides

The lines that explain a snap while a person moves or resizes on the canvas: 1 pt intent green, solid for aligned edges, dashed for aligned centres, spanning the aligned objects plus 8 pt, the same on screen at every zoom.

Use it for

  • Moving or resizing objects on the canvas, when the core's snap lands an edge or a centre on a neighbour's. Pass the core's guides for this frame.

Don't use it for

  • Showing a grid, a ruler or a selection. Guides exist only while something is being moved, and only for the alignments that actually snapped.

Read the Snap guides agent guide · Copy registry source

Explore the documentation · Agent index · Source on GitHub