The principle of proximity aims to ensure that related design elements are placed together. Unrelated items, should be placed separately. Close proximity means items are connected or have a relationship to each other, to help organize or give structure to a layout.
In the organisation of software system the principle of proximity relates very much to cohesion. Proximity in that sense is the visual design counterpart of cohesion in software design.