> ## Documentation Index
> Fetch the complete documentation index at: https://docs.preview.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Groups

> Organize the infinite canvas and direct new generations into specific areas.

## When to use groups

Use groups to separate explorations, keep references and outputs together, and stop the canvas from getting visually chaotic.

<Frame>
  <img src="https://mintcdn.com/preview-ba0f310c/8IkxIOqWtPDfyhOG/images/preview/groups-overview.png?fit=max&auto=format&n=8IkxIOqWtPDfyhOG&q=85&s=f94c974cf917bbbac08b2a989f6b1e5d" alt="A group on canvas" width="1468" height="1432" data-path="images/preview/groups-overview.png" />
</Frame>

<Tip>
  Create groups before large prompt runs: they work best shaping the workflow early, not cleaning it up after the canvas is already crowded.
</Tip>

## Create a group

* Right-click the canvas and choose **Create group**.
* Select multiple files and press **⌘G** (or use **Group** in the selection menu).
* Quick Actions that return multiple images group results automatically.

## Generate into a specific group

Hover a group and click **Enter** next to its name. The canvas flips to [Files view](/preview/canvas-overview#files-view), scoped to just this group's session, with the prompt box ready; new generations land inside the group on canvas until you exit.

<Frame>
  <img src="https://mintcdn.com/preview-ba0f310c/fpZnWnmuBRnBmJsw/images/preview/groups-files-view-session.png?fit=max&auto=format&n=fpZnWnmuBRnBmJsw&q=85&s=0f26591b2fb71859d0c633b558c81917" alt="Files view scoped to a group session" width="3836" height="1922" data-path="images/preview/groups-files-view-session.png" />
</Frame>

Click the group chip in the prompt box to switch to a different group, or start a **New group** from the same menu.

<Frame>
  <div style={{ maxWidth: "45%", margin: "0 auto" }}>
    <img src="https://mintcdn.com/preview-ba0f310c/fpZnWnmuBRnBmJsw/images/preview/groups-select-group-menu.png?fit=max&auto=format&n=fpZnWnmuBRnBmJsw&q=85&s=352a4abd5b78c2aa46fa1f3b443a6113" alt="Choosing the target group from the prompt box" width="1022" height="1354" data-path="images/preview/groups-select-group-menu.png" />
  </div>
</Frame>

## The group menu

Click a group's name (or right-click the group) to open its menu:

* **Rename** (or double-click the group's name directly).
* **Set a color**.
* **Set max columns**.
* **Select all in group**.
* **Organize**: arranges its files into a grid.
* **Duplicate**.
* **Copy link**.
* **Export**.
* **Copy ComfyUI ingest node**: see [Comfy UI Plugin](/preview/comfy-ui-plugin).
* **Ungroup**: disbands the group; files stay on canvas individually.

To delete a group and its contents, select it and press **Delete**; that option isn't in the menu.

To save a group's contents to your library, select the files inside it (or **Select all in group**) and choose **Add to...**. There's no group-level "Add to..." shortcut, only on individual file selections.
