From perpendicular angel knowledgebase
As referenced in the Wikipedia article on Principles of Grouping this is one of 5 Gestalt laws of grouping.
Objects or shapes that are close to one another appear to form groups.
- Gestalt Principles of Perception 3: Proximity, Uniform Connectedness, and Good Continuation by Andy Rutledge
- Law of Proximity on Laws of UX