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

# Group vectors

> Combine vector elements into single groups for clean image output in Rocket.new's Figma-to-code pipeline.

export const LlmsDirective = () => <blockquote className="llms-directive">
    For the complete documentation index, see <a href="/llms.txt">llms.txt</a>.
    For a lightweight markdown version of this page, append .md to the URL.
  </blockquote>;

<LlmsDirective />

## Why vector grouping matters

[Fill elements](https://help.figma.com/hc/en-us/articles/360040450213-Vector-networks#Fills) like images are often made up of many individual vectors combined into one. If those vectors are not grouped, Rocket downloads each one separately and cannot reconstruct the image correctly.

<Frame caption="Grouping vectors example">
  <img src="https://mintcdn.com/dhiwisepvtltd-5e04e6a4/pLntWJzZ3SjUx1lc/images/build-docs/create/figma/figma-design-guidelines/group-vectors/group-vectors.gif?s=4788dcf0f7f9a8201d14bd2b6158f370" alt="Animated example showing grouped vectors" className="theme-image" width="814" height="406" data-path="images/build-docs/create/figma/figma-design-guidelines/group-vectors/group-vectors.gif" />
</Frame>

<Warning>
  Icons should be designed using vectors, not PNGs. Vector-based icons scale cleanly and import correctly into Rocket.
</Warning>

<Divider />

## Best practices

* Combine all related vectors into a **single group** before importing.
* Proper grouping makes it easier to manage and identify elements later.
* Ungrouped vectors are downloaded as separate images, producing broken or duplicated output in the generated code.

<Divider />

<Card horizontal title="Back to guidelines" icon="arrow-left" href="/build/create/figma/figma-design-guidelines/overview">
  See all design guidelines for preparing your Figma files.
</Card>
