# Create, import, and manage templates

Start with a new template, import an existing one, or download a template to use in another project.

**Templates** is where your project’s templates live. Open a design you are working on, create a new template, or bring in an existing one from a ZIP file.

Choose **New template** when you want to build your own layout. Use **Import** when you already have a template shared with you or downloaded from Tembuilder. For a ready-made design to start from, [browse Gallery](/docs/templates/marketplace/).

## 1. Create a new template

Sign in, open your project, and go to **Templates**. Select **New template** at the top to open the creation dialog.

Fill in two details:

- **Name**: the label shown in the template list. Choose something you will recognize, such as **Service invoice** or **Monthly report**.
- **Slug**: a short name used in the template’s URL, such as `service-invoice`. You can edit the suggested slug; use lowercase letters, numbers, and hyphens.

Each template in a project needs its own slug. If a slug is already taken, choose another one to continue.

Select **Create template**. The new template opens in the editor, ready for you to start designing. You can find it in **Templates** when you return to the project.

Try changing the name below to see the suggested slug. Switch to **Import** to explore naming a template from a ZIP file.

<figure class="doc-sim template-walkthrough" data-template-demo data-locale="en" aria-label="Try creating a template or importing a ZIP">
<div class="sim-kicker">TRY NAMING A TEMPLATE</div>
<div class="sim-stage"><div class="ct-mode" role="group" aria-label="Choose an illustration mode"><button type="button" class="sim-control sim-dark sim-focus" data-ct-mode="create" aria-pressed="true">＋ New template</button><button type="button" class="sim-control" data-ct-mode="import" aria-pressed="false">↥ Import</button></div><form class="sim-form" data-ct-form><div class="sim-toolbar"><strong data-ct-title>New template</strong></div><div class="ct-file" data-ct-file hidden><span class="sim-file">ZIP</span><div><strong>invoice-template.zip</strong><small>Sample file for this illustration</small></div></div><label>Name<input name="name" data-ct-name value="Service invoice" maxlength="64" required /></label><label>Slug<input name="slug" data-ct-slug value="service-invoice" maxlength="64" pattern="[a-z0-9-]+" required /></label><div class="sim-form-footer"><button type="submit" class="sim-control sim-dark sim-focus" data-ct-submit>Create template</button></div></form><div class="sim-completion" data-ct-result hidden><span aria-hidden="true">✓</span><strong data-ct-result-name></strong><small data-ct-result-slug></small><p>In the app, the template opens in the editor after this step.</p><button type="button" class="sim-reset" data-ct-reset>Try again ↺</button></div></div><figcaption data-ct-caption aria-live="polite">New template → Name & Slug → Create template · Interactive illustration</figcaption>
</figure>

## 2. Import a template from a ZIP

Import is useful when someone shares a template with you, you want to reuse a design in another project, or you have a saved copy on your computer.

Start with a ZIP downloaded from Tembuilder, then:

1. Select **Import** in **Templates** and choose the ZIP file.
2. Enter a **Name** and **Slug** for the template you are adding.
3. Select **Import** and wait for the upload and processing to finish.

The imported template opens in the editor. Giving it a name at this step helps you distinguish it from the templates already in your project.

Need a file to try? [Download the invoice template (.zip)](/docs/examples/invoice-template.zip) and follow the steps above. Keep the ZIP’s contents intact so the import has all the files it needs.

## 3. Download a template to use again

To keep a copy on your computer or move a design to another project, open the template in the editor, open **Options**, and select **Download as zip**.

<figure class="doc-sim" aria-label="Open Options and choose Download as zip"><div class="sim-stage"><div class="ct-export"><div class="ct-export-bar"><strong>Service invoice</strong><span class="sim-control">Options <svg class="sim-chevron" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-width="1.5" aria-hidden="true"><path d="m4 6 4 4 4-4" /></svg></span></div><div class="ct-export-menu"><span class="sim-control sim-focus">↓ &nbsp; Download as zip</span></div><div class="ct-download"><span class="sim-file">ZIP</span><div><strong>service-invoice.zip</strong><small>Templates → Import</small></div></div></div></div><figcaption>Options → Download as zip</figcaption></figure>

The ZIP contains the template, ready to edit after importing. To use it in another project, open that project’s **Templates** and select **Import** with the downloaded file.

To download a generated PDF, open its result in **Renders**. Use **Download as zip** when you want to keep or move the template’s design.

## 4. Delete a template you no longer need

In **Templates**, open the template’s menu and choose **Delete**. The confirmation dialog asks you to enter its slug so you can check which template you are deleting.

Before deleting it, check whether it is still being used to generate PDFs. Download a ZIP copy if you want to keep the design for later.

After creating or importing a template, see the [editor guide](/docs/editor/tour/) to start working on it.
