Skip to main content

GroupingButton API

The <GroupingButton> component is button that toggles the grouping state of a window (and potentially other windows adjacent to it).

Even when used in the window title bar's template, the <GroupingButton> will only show itself for when the window is adjacent to other windows. Additionally, the grouping feature must be enabled for that component in config. See the config reference.

Props

<GroupingButton> accepts no props.

Usage

Here's how the <GroupingButton> component is used in the default window title bar:

<WindowTitleBarShell>
...
<div className="fsbl-header-right">
...
<GroupingButton />
...
</div>
...
</WindowTitleBarShell>