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

# Start from a template

> Pick a curated example and edit it to fit.

<Frame caption="Pick a template, then edit it in the chat-style editor">
  <img src="https://mintcdn.com/docdiagram/41jLckNKrw3Njatp/images/diagrams/templates-light.svg?fit=max&auto=format&n=41jLckNKrw3Njatp&q=85&s=e4c3baf5ee3a9e901bc78da3796391c5" alt="Template categories on the left, editor canvas on the right" className="block dark:hidden" width="820" height="340" data-path="images/diagrams/templates-light.svg" />

  <img src="https://mintcdn.com/docdiagram/41jLckNKrw3Njatp/images/diagrams/templates-dark.svg?fit=max&auto=format&n=41jLckNKrw3Njatp&q=85&s=8402197d1e5f3656725304c865370e6d" alt="Template categories on the left, editor canvas on the right" className="hidden dark:block" width="820" height="340" data-path="images/diagrams/templates-dark.svg" />
</Frame>

Templates are the fastest way to get a useful diagram. They're hand-built starting points you can edit with a prompt.

## Browse templates

On the [home page](https://docdiagram.com), scroll below the prompt box. You'll see:

* **Category tiles** — Architecture, Sequence, ER, Flowchart, Org, and more.
* **A curated rail** — handpicked examples we think look good.

Click any tile or rail item to open it.

## Edit the template

Once open, the template loads into the chat editor exactly like a generated diagram. You can:

* Ask for changes in plain English ("rename Service A to Auth Service", "remove the cache").
* Re-color, re-flow, or restructure with a follow-up prompt.
* Swap entities wholesale ("change this from a Stripe checkout flow to a PayPal one").

## When to use a template vs. a prompt

* **Template first** if you know roughly what shape you want (a 3-tier architecture, a typical OAuth handshake, a standard org chart).
* **Prompt first** if your diagram is unusual or domain-specific.

You can always start from a template and prompt your way to something custom.

## Next

<Card title="Exporting" icon="download" href="/quickstart/exporting">
  Get your diagram out of DocDiagram.
</Card>
