# tui/groups
List all panel groups in the workspace.
## Syntax
[tui/groups]
## Returns
A list of maps, each with:
| Key | Type | Description |
|-----|------|-------------|
| `id` | number | The group's panel ID |
| `title` | string | Auto-generated group title (e.g. "editor + launcher") |
| `child-count` | number | Number of children in the group |
## Example
set groups [tui/groups] for grp $groups { [echo "Group" $grp~id $grp~title "has" $grp~child-count "children"] }
## See Also
`tui/add-to-group`, `tui/panels`, `tui/split`