> For the complete documentation index, see [llms.txt](https://docs.scaleflex.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.scaleflex.com/studio/template-builder/managing-your-templates.md).

# Managing your templates

The templates list is the front door of Template Builder: every template in the project, newest first, with its thumbnail and when it last changed.

<figure><img src="https://2536208400-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fqsq2dR7Fjagf5eTifWZx%2Fuploads%2FP4KT3kw2ofniTeRk8nE8%2F28-templates-list-search-sort.png?alt=media&amp;token=cd5a4d34-da9a-42fb-b0a0-44e423082774" alt=""><figcaption></figcaption></figure>

### Finding a template

* **Search** filters by name as you type.
* **Sort** offers: last modified, oldest modified, name A-Z, name Z-A, newest created, oldest created.
* The count above the grid tells you how many templates match, and long lists are paged.

### What you can do with a template

Hover a card and its actions appear. **Edit template** and **Manage variations** are the two buttons in the middle; the rest sit in the corner, with the full set under the options menu.

| Action                | What it does                                                                          |
| --------------------- | ------------------------------------------------------------------------------------- |
| **Edit template**     | Opens the template in the editor                                                      |
| **Manage variations** | Opens the [variations](/studio/template-builder/variations.md) page for this template |
| **Preview**           | Renders the template full screen                                                      |
| **Create variation**  | Starts a new [variation](/studio/template-builder/variations.md)                      |
| **Open in library**   | Jumps to the template's asset in the DAM                                              |
| **Download**          | Downloads the template file itself                                                    |
| **Delete**            | Removes the template after a confirmation                                             |

<div align="left"><figure><img src="https://2536208400-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fqsq2dR7Fjagf5eTifWZx%2Fuploads%2FXTQNfTJqPDHfxEwwWmhL%2F29-card-hover-actions.png?alt=media&amp;token=b38abe68-6017-4b03-8349-5df94fbda6ba" alt="" width="364"><figcaption></figcaption></figure></div>

### Previewing

**Preview** renders the default layout, full screen, using the values the template carried when it was last saved. A variable that has never been given a value shows its default. Use the arrows or the left and right arrow keys to move between templates without leaving the preview, and Esc to close it.

To see the template with other values, create a [variation](/studio/template-builder/variations.md) - its preview updates as you type.

### Renaming and duplicating

Neither is an action on the list, and that is worth stating plainly:

* **To rename**, open the template and use **Save as new file** with the new name, then delete the old one if you no longer need it. Renaming the asset in the DAM also works, though links that used the old name will break.
* **To duplicate**, open the template and use **Save as new file**. You get an independent copy, leaving the original alone. It goes in the original's folder unless you choose another.

Both are covered in [Preview and save](/studio/template-builder/building-a-template/preview-and-save.md).

### Deleting

**Delete** asks you to confirm and cannot be undone. The variations saved from the template go with it, because they belong to the same file.

### Templates in the DAM

A template is an asset in your library, so everything you already do with assets applies: it appears in search, sits in a folder, respects permissions, and keeps versions and approvals. **Open in library** takes you straight to it, and saving from the editor writes a new version of the same file.

### Where to go next

* [Creating a template](/studio/template-builder/creating-a-template.md)
* [Variations](/studio/template-builder/variations.md)
* [Using a rendered template](/studio/template-builder/using-a-rendered-template.md)
