# Groups of Controls

> For the complete documentation index, see [llms.txt](https://plugins.jetbrains.com/docs/intellij/llms.txt).

Group controls to organize content on a screen and help people locate the necessary controls faster.

Use the following controls or layouts:

* [Group headers](group-header.html)

* [Tabs](tabs.html)

* Master-detail layout

## What grouping to choose

Use group headers if all rules apply:

> **Note:**
> If there are less than 3 controls in all groups, consider separating with [vertical insets](group-header.html#how-to-use).

* Each group contains no more than 10 controls

* All groups occupy no more than 2 heights of the dialog in its default size

![6 01 group headers](images/6_01_group_headers.png)

Use tabs if all rules apply:

* One of the groups contains more than 10 controls, or groups occupy more than 2 heights of a dialog

* There are no more than 8 groups

![01 use tabs](images/01_use_tabs.png)

Use the master-detail layout if either of the rules applies:

* There are more than 8 groups

* The number of groups can change

![02 use master detail](images/02_use_master_detail.png)

