The Gestalt principle stating that elements enclosed within the same clearly defined boundary are perceived as a group — even if they are otherwise visually dissimilar. In UI design, this principle explains why cards, panels, and dividers are effective grouping mechanisms, and why elements accidentally enclosed together by a border or background will be read as related.