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

# Using Prompt Partials

> Prompt partials let you modularize and reuse snippets of prompt text across multiple prompts. This page explains how to insert, configure, and manage prompt partials efficiently within the playground.

export const MaximPlayer = ({url}) => {
  return <iframe className="border-background-highlight-secondary h-full w-full rounded-md border-2 aspect-video" src={url} allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowFullScreen></iframe>;
};

<MaximPlayer url="https://www.youtube.com/embed/GlGUz2bIsSM?si=vlJ3DcDGLJHElkZ6" />

<img src="https://mintcdn.com/maximai/YdQNCf1tftKyYOR4/images/docs/evaluate/how-to/evaluate-prompts/prompt-partials/prompt-playground-with-partials.png?fit=max&auto=format&n=YdQNCf1tftKyYOR4&q=85&s=6efa996dc600bc1a38ee880778fa5c92" alt="Using Prompt partials in the Prompt playground" width="2882" height="1730" data-path="images/docs/evaluate/how-to/evaluate-prompts/prompt-partials/prompt-playground-with-partials.png" />

<Steps>
  <Step title="Add Prompt partials to your messages">
    1. Type `{{` in either System or User message
    2. Select a Prompt partial from the dropdown list
    3. To use a specific version, continue typing after selecting the partial
    4. Choose the version from the list showing creation date and author

    <Note>The latest version is used by default if no specific version is selected</Note>
  </Step>

  <Step title="Configure variables and preview partials">
    * Variables used in partials automatically appear in the Prompt variables section
    * Add variable values to test in the playground
    * Click on the partial content in variables view to:
      * Preview the partial content
      * Navigate directly to the partial editor

            <img src="https://mintcdn.com/maximai/ZQA_95CgxXFSFido/images/docs/evaluate/how-to/evaluate-prompts/prompt-partials/prompt-partial-preview.png?fit=max&auto=format&n=ZQA_95CgxXFSFido&q=85&s=dae3a8c4330b28850754ad2afdd09e5c" alt="Variables view with Prompt partials" width="1155" height="1552" data-path="images/docs/evaluate/how-to/evaluate-prompts/prompt-partials/prompt-partial-preview.png" />

    <Note>
      Partials are replaced with actual content during test runs using values from your test configuration or context sources
    </Note>
  </Step>
</Steps>
