# Templates

Source: https://modulify.ai/docs/projects/templates

Browse the template gallery and clone one into your own workspace.

Templates are finished, published Modulify sites you can copy. Cloning one gives you a real project of your own that you then change in chat like any other.

## Before you begin

You need to be signed in with a verified email. The **Clone in Modulify** button is disabled until both are true, and so is **Clone** in a template card's menu, which on the web carries the tooltip *Sign in with a verified email to clone templates.* A clone becomes a new site in your workspace, so it needs a free site slot on your plan.

## Browse the gallery

Open **Templates** in the sidebar, or go to `/dashboard/templates`. The page is titled **Templates** with the line *Start from a ready-made template and make it yours.*

Cards load as you scroll. Each shows the site thumbnail, the template name and its category.

The **Search templates** box at the top right matches on name, description and category. Searching writes your term into the page URL, so a search is a link you can share or bookmark. If nothing matches you get an empty state titled **No results** reading *Try a different name or clear search.* When the gallery itself is empty it reads **No templates** with *Check back soon for new templates.*

The same gallery appears on the dashboard home page under the **Modulify templates** tab. That tab is selected by default when your workspace has no projects outside the Archive yet.

### On modulify.ai without signing in

[modulify.ai/templates](https://modulify.ai/templates) lists the same templates without an account. On a wide screen, the **Categories** list on the left filters the grid, with the number of templates beside each category and **All templates** at the top. On a phone or tablet, the **Categories** button beside **Search templates** opens a list you can search, and the button then shows the category you picked. The search box matches on name, description and category.

The category and the search go into the page address as `?category=` and `?q=`, so a filtered view such as `https://modulify.ai/templates?category=portfolio` is a link you can share, and the browser's back button returns to the category you were on. Clicking the category on a card shows every template in it. **Clear filters** brings back the whole list, and when nothing matches the page reads **No templates found** with *Try another name or clear the filters.* **Clone template** on a card opens that template's page in the dashboard.

## Look at one before cloning

Clicking a card from the Templates page opens its detail page at `/dashboard/templates/<slug>`, with a breadcrumb back to **Templates**.

The detail page shows the template name, its category as a badge, and a live frame of the actual published site rather than a screenshot. Above the frame, switch between **Desktop**, **Tablet** and **Mobile**, and read the template's address in the bar beside them: click the address to copy it, the arrow to open the site in a new tab, or the circular arrow to reload the frame. When the site cannot be reached, the frame shows **Preview unavailable** with *The site could not be reached.* Scroll past it for **More like this**, a row of related templates.

Clicking a card on the dashboard home page opens a preview panel over the page instead, with **View full details** to jump to the full page.

## Clone it

On the detail page, choose **Clone in Modulify**. The button shows a spinner while the copy is made, then drops you straight into your new project.

**Open original** sits next to it and opens the template's live site in a new tab. It only appears for templates that are published.

You can also clone without opening the detail page. The three dots menu on a template card holds:

- **Copy publish link**, which copies the live address of the template
- **Open in new tab**, which opens that address
- **Clone**, which does the same thing as the detail page button

## What you get

The clone is a new project in your current workspace named after the template with **(Cloned)** on the end. It arrives unpublished, with no custom domains, and it is not itself shared, open to comments or cloneable. It carries the template's pages, files, settings and languages, and none of its comments.

Whether the template's database content, public uploaded files and environment variables come with it is decided by whoever published the template, in that project's share settings. Private files never come with a template. See [Sharing and cloning](https://modulify.ai/docs/projects/sharing-and-cloning) for the controls on your own side.

A template that has a database gives your clone its own copy, with the tables always and the rows when its publisher included them. A template can refuse the clone, for example while its database is being backed up or copied, and the **Clone failed** toast names the reason. [Copying a database](https://modulify.ai/docs/projects/sharing-and-cloning#copying-a-database) lists them.

If your workspace has no site slot left, the clone stops and you are offered an extra site or an upgrade, exactly as a new project would be.

## Start from a page for your business

Some pages on modulify.ai are written for one kind of business, such as the pages for [barbershops](https://modulify.ai/barbershops) and [coaches](https://modulify.ai/coaches). Their **Start Building** button opens two short steps that pick a template and write the request for your new site. **Continue** and **Back** stay at the top of the screen while you scroll.

1. **Choose your website style.** Pick one of the templates the page offers. On a phone, swipe through them: the one that stops in the middle is selected. **Preview Live** under a template opens its live site in a new tab. The template you chose on the page before starts selected, or else the first one. Choose **Continue**.
2. **Tell us about your business.** When the page asks for them, enter your **Instagram** username or profile link and your **Existing Website**, then your **Business name** and **Phone number**. A field marked with an asterisk is required, and the others can stay empty. Choose **Continue**, or **Back** to change the template.
3. **Sign in.** If you are not signed in yet, a window asks you to log in or sign up with Google, GitHub or your email. With email, open the link we send you, on this device or any other.
4. **Your site opens.** Modulify creates your site and opens it in the editor, where the AI starts tailoring it right away.

While you type, Modulify checks your Instagram profile and your website. When it finds your profile, it shows a preview with your profile picture, name, followers, posts and up to three recent photos. It fills in your business name from your website or your Instagram profile and your phone number from your website when it finds them, and when both give the same name it reads **Found on your Instagram and website.** You can change both. **Continue** stays greyed out until every required field is filled in, and while an address you gave does not exist: the page reads **This website does not exist, so check the address.** A profile Modulify cannot see, such as a private one, only shows a warning.

Modulify copies the template into your current workspace as a new site named after your business, or after the template when the page does not ask for your business name. The AI keeps the template's design, swaps the sample text, services, prices and contact details for your own, puts your phone number where the template shows one, and reads your website and Instagram profile when you gave them. When Modulify found your Instagram profile, it copies your profile picture and a few recent photos into your new site's [storage](https://modulify.ai/docs/data/storage) so the AI can use them in your site. Anything it cannot find is left as a short placeholder for you to fill in. When you used the page in French or German, it writes the site in that language.

Sites started from some of these pages show a reminder in the AI chat to register your business for US texts, see [US texting](https://modulify.ai/docs/built-in/messages#us-texting).

That first change spends AI credits like any chat message, so starting a site this way needs a free site slot and credits on your plan, see [When you hit a limit](https://modulify.ai/docs/projects/create-a-project#when-you-hit-a-limit). When there is no free site slot or no credits left, your dashboard opens with your request written in the prompt box instead, so you can make room or upgrade and then send it.

> **Note**
>
> Your answers travel in the link to your dashboard, so signing in with an email link on another device keeps them. They leave the address as soon as your dashboard has read them.

## On the mobile app

The Modulify app has a **Templates** tab with the gallery, headed **Templates** with `Start from a ready-made template and make it yours.` under it. The **Create** tab lists the same gallery under **Modulify templates**, below the prompt box, and its **View all** opens the **Templates** tab. A `Search templates` box sits above the cards on both, keeps one search for both and searches the same way as the web. Cards load as you scroll, and pulling down reloads the list. The same **No templates**, **No results** and **Could not load templates** states show there, with **Try again** on the last.

Tap a card to open a sheet with its thumbnail, name and category badge, **Clone in Modulify**, **Live preview**, and **Open original** for a published template, which opens the live site in a browser window inside the app. Under the buttons, **More like this** lists similar templates, and tapping one shows it in the same sheet. The dots button on a card, or a long press, opens **Copy publish link**, **Open in browser** and **Clone**.

**Live preview**, or a tap on the thumbnail, which carries the same label, opens the template's live site in a full height sheet inside the app, the same site the web shows in its frame. Links to the template's own addresses, its free address and its connected custom domains, stay in the preview. Tapping a link to another site, or a link that opens a new tab, opens it in a browser window inside the app, and tapping an email, phone or text message link opens your phone's mail, phone or messages app. Links to other apps do nothing. On iPhone, anything else that moves the page to another site, such as a script, a redirect or a form, is ignored and the page stays where it is. Android does not tell the app what started a move, so there every move to another site opens the browser window, except a form that sends its data to another site with POST, which loads inside the preview.

The preview has a close button at the top and **Clone in Modulify** and **Open original** at the bottom. Swiping on the site scrolls it. On iPhone, swiping never closes the preview, so use the close button. On Android, the back button closes it too, and so does dragging its top or bottom bar down. When the site cannot be reached, or it moves to another site before it has finished loading, the preview shows **Preview unavailable** with *The site could not be reached.* and a **Try again** button.

While the copy is made, the card and the button show a spinner. When the copy is ready, the sheet and any open preview close and the app shows **Project cloned** with an **Open editor** button, which opens your new project in the app, see [Site chat](https://modulify.ai/docs/build/site-chat#on-the-mobile-app), and the clone appears in **My projects** and on the **Projects** tab. When your workspace has no site slot left, the app shows **Site limit reached** and clones nothing, since buying extra sites happens on the web.

## Read the gallery from code

The same gallery is available as a plain HTTP endpoint, so you can list the templates from a script or from a site of your own.

```bash
curl https://api.modulify.ai/templates
```

There is nothing to authenticate. No key, no header and no Modulify account are involved, and the request is a `GET` with no parameters.

The answer uses the standard Modulify envelope, with the templates in `data`:

```json
{
    "success": true,
    "message": "Public templates listed successfully.",
    "data": [
        {
            "slug": "cutout-template",
            "image": "https://cdn.modulify.ai/previews/6a7f2ab5bb95d1de460e9568.webp",
            "name": "Maren Okonkwo",
            "category": "portfolio",
            "categoryName": "Portfolio",
            "previewLink": "https://cutout-template.modulify.website"
        }
    ],
    "code": 200,
    "version": "0.0.1414"
}
```

Each entry carries six fields.

| Field | What it holds |
|---|---|
| `slug` | The template's identifier, and the last part of its detail page URL |
| `image` | The thumbnail on the CDN, or `null` when the template has no picture yet |
| `name` | The name shown on the card |
| `category` | The code of the template's category, such as `portfolio`, or `null` when the template has none |
| `categoryName` | The category's name as the cards show it, such as `Portfolio`, or `null` when there is none |
| `previewLink` | The template's live site, its primary custom domain when one is connected and its free address otherwise |

`version` is the API build that answered. Treat a call as failed unless the HTTP status is ok and `success` is `true`.

The list holds every published template in the gallery, with featured templates ahead of the rest and then the newest first, the same set and order the Templates page renders. To send someone to one of them, put its `slug` on the end of `/dashboard/templates/`.

> **Note**
>
> The response is cached in memory on the API, so a template that has just changed can take a moment to show its new name or thumbnail here.

## From an AI client over MCP

A connected AI client lists the same gallery with `list_templates` and clones a template into one of your workspaces with `clone_site`, the same copy **Clone in Modulify** makes. Cloning needs the `sites:create` scope and counts against the site limit of that workspace. See [MCP tools](https://modulify.ai/docs/mcp/tools#sites).

## Next

- [Site chat](https://modulify.ai/docs/build/site-chat) is how you change the clone once you are in it.
- [Sharing and cloning](https://modulify.ai/docs/projects/sharing-and-cloning) covers making your own project cloneable.
- [Publish a site](https://modulify.ai/docs/publish/publish-a-site) takes your version live.