> ## 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.

# Overview

> Figma best practices for preparing files before import 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 />

<Info>
  The cleaner your Figma file, the better your generated app. Follow these guidelines before importing to avoid common issues and get production-ready results right away.
</Info>

<Divider />

## Guidelines

<CardGroup cols={3}>
  <Card title="Design guidelines" icon="book" href="./design-guidelines">
    Follow the complete set of best practices to prepare Figma files for Rocket.
  </Card>

  <Card title="Group components and layers" icon="layer-group" href="./group-components-and-layers">
    Organize related elements into groups or components for cleaner imports.
  </Card>

  <Card title="Overlay controls" icon="clone" href="./overlay-controls">
    Design overlays (like modals) clearly so Rocket imports them as separate layers.
  </Card>

  <Card title="Group vectors" icon="object-group" href="./group-vectors">
    Combine vector layers into single groups to avoid messy outputs.
  </Card>

  <Card title="Components outside screen" icon="expand" href="./components-outside-screen">
    Keep all design elements inside their screen frame.
  </Card>

  <Card title="Image masking" icon="image" href="./image-masking">
    Use proper masks so images render as intended.
  </Card>

  <Card title="Invisible components" icon="eye-slash" href="./invisible-components">
    Remove hidden layers that could cause broken layouts.
  </Card>

  <Card title="Unwanted components" icon="trash" href="./unwanted-components">
    Delete placeholder or unused layers before importing.
  </Card>

  <Card title="Excess text boundary" icon="align-left" href="./excess-text-boundary">
    Resize text boxes so Rocket matches your intended layout.
  </Card>
</CardGroup>

<Divider />

## What's next?

<CardGroup cols={2}>
  <Card title="Create a web app" icon="globe" href="/build/create/figma/web-app">
    Your designs are ready. Import them into a web app.
  </Card>

  <Card title="Create a mobile app" icon="mobile-notch" href="/build/create/figma/mobile-app">
    Your designs are ready. Import them into a mobile app.
  </Card>
</CardGroup>
