
Description
Law of Common Region is an agent skill that applies the Gestalt principle of common region to interface design. A shared container, background or border groups elements together, even when they are not especially close to one another. The skill uses backgrounds, borders, cards and surfaces to make clear groups, so users can see which elements belong together. It explains the principle with three examples: a card with a background forms an unambiguous group, a colored section background ties disparate content into one unit, and a panel border tells users that everything inside belongs together. The skill compares common region with the law of proximity. Proximity uses spacing alone and costs nothing, and it is the first choice for most layout grouping. Common region adds visual weight, and it fits cards that can be acted on as a unit, sidebars, tabbed sections, modals and form sections inside a larger form. The skill also includes a table of applications. It is published by owl-listener/designer-skills on skills.sh with about 2.1K installs.…
Highlights
- Groups elements with shared backgrounds, borders or cards
- Explains when to prefer proximity instead
- Fits cards, panels, sidebars, tabs and modals
- Makes grouping explicit inside larger forms
- Includes a table of application patterns
Ratings & Reviews
No ratings yet
Be the first to rate law-of-common-region.
People also visit
law-of-common-region FAQ
What is the Law of Common Region skill?
It is an agent skill that uses shared containers, backgrounds and borders to show which interface elements belong together.
How do I install it?
Run npx skills add https://github.com/owl-listener/designer-skills --skill law-of-common-region in your project.
When should I use proximity instead?
For most layout grouping. The skill says to use proximity first and add common region when spacing alone is not enough.
Which parts of a page does it suit?
Cards that act as a unit, panels, sidebars, tabbed sections, modals and form sections.
Does the skill pass its security audits?
Yes. On skills.sh the audits show Gen Agent Trust Hub Pass, Socket Pass and Snyk Pass.
What are the best law-of-common-region alternatives?
Popular alternatives to law-of-common-region include millers-law, better-layout and shared. See all law-of-common-region alternatives















