Templates
Create a template
A Weft template is a structured document, not a page of formatted text. You assemble it from blocks that each mean something — this is a heading, this is a table of line items, this section only appears when the invoice is overdue. That structure is what lets one template render thousands of correct, differently-shaped documents.
Building by hand is the door that needs no AI and no data connection. It is also the best way to learn what the other doors produce.
In the hosted app (signed in to a workspace), building and saving templates needs the editor role or higher, and saved templates belong to the workspace. In local mode (no sign-in, single user) there are no roles, and templates are kept in this browser only.
Start a new template
Open the ⋯ menu in the app bar's Document area (tooltip New and saved templates) and press Blank template, at the top under New. If the document you have open has unsaved changes, Weft asks first.
Weft then opens Start a new document. Choose Start blank to begin with an empty document on the canvas. The other two choices are Describe what you need, where Buddy, the assistant built into Weft, drafts a template for you (see Generate from a prompt), and Start from your document, which turns an existing file into a template (see Upload a document).
If you would rather start from something that already exists, the same ⋯ menu lists the built-in starter documents and your saved templates. To duplicate a saved template, use Save as a copy… in the Save ▾ menu. See Manage templates.
Add your first block
Press Add block at the top of the Outline panel, or the + under the selected block on the canvas in the Flow view. The menu lists every block kind in three groups, with a Search blocks… box — type "table" or "logo" and it filters.

Content — the things that put marks on the page:
| Block | What it is |
|---|---|
| Heading | A section title, levels 1–6 |
| Paragraph | A block of text |
| List | A bulleted or numbered list, nestable |
| Image | A picture — a logo, a signature, a diagram |
| Barcode | A QR code or barcode generated from a value |
| Divider | A horizontal rule |
| Page break | Forces what follows onto a new page |
Data — the things that repeat:
| Block | What it is |
|---|---|
| Table | Rows drawn from a list of records — line items, transactions, entries |
| Repeat | Any group of blocks, repeated once per item in a list |
Logic & Layout — the things that arrange or gate:
| Block | What it is |
|---|---|
| Conditional | Shows its contents only when a condition is true |
| Section | Groups blocks, under an optional title, into one unit to move, style, keep on one page, or show and hide |
| Columns | Places blocks side by side |
| Grid | Rows of cells, each holding its own blocks — good for label/value pairs |
Pick one and it lands in the document, selected and ready to edit. On a brand-new blank document, the first block you add replaces the empty starting paragraph. See Work with elements.
Edit what you added
Click a block on the canvas in the Flow view, or its row in the Outline, to select it. The Paged view shows the printed pages and is read-only. In the Flow view, double-click text to edit it in place — headings, paragraphs and the cells of a table's ordinary rows. List items are edited in the properties panel.
Everything else lives in the properties panel on the right. It stays closed until you open it, which keeps the canvas clear. Open it with:
- the properties button at the far right of the app bar (tooltip Show properties panel), or
- ⌘. (Cmd + period; Ctrl+. on Windows).
The panel shows the settings that apply to whatever is selected — a table gets column controls, an image gets sizing and a Link URL field, a grid gets rows and columns.
For document-wide settings rather than one block's — theme, page size, margins, locale — switch the panel from Selection to Document with the control at the top of it. Your block stays selected underneath, so switching back returns you to where you were.
Structure the document
Two habits pay off immediately.
Group related blocks into a Section. A section gives you one thing to move, duplicate or hide instead of six, and its Keep together — don’t split across pages setting keeps the whole group on one page.
Use Columns and Grid for layout, not spaces. A grid of label/value pairs — Invoice number, Date, Terms — keeps its columns aligned at every page size and in every render. Words lined up with typed spaces drift as soon as a value changes length.
Use the Outline panel on the left to see the document as a tree; the button at the far left of the app bar (tooltip Show structure panel) shows or hides it. It is the fastest way to reorder anything more than a few blocks deep, and it shows you every block, including the ones that draw nothing of their own on the canvas, such as a Repeat or a Conditional.
Save reusable pieces
When a block is one you will want again — a letterhead, a signature block, a terms footer — select it on the canvas in the Flow view, expand the toolbar above it with Formatting options, and press Save. Saving a section saves everything inside it. Name it in Save to library, and it joins My components in the Add block menu, ready to drop into any other template. To save several neighbouring blocks as one piece, see Reusable components.

Components are inserted as a copy: editing the copy does not touch the original, and the original does not update the copies.
Save, and publish when it is ready
A blank document starts out named "Untitled" ("Untitled 2" and so on when that name is taken). To rename it, click the name field at the left of the app bar, type, and press Enter.
Save sits beside Undo and Redo in the app bar; ⌘S (Ctrl+S on Windows) does the same. The first save creates the template, and each later save gets the next version number — the button's tooltip shows which, such as Save as v4. Weft has no screen for browsing or reopening earlier saves: saving moves the template forward, and a later save replaces what you see when you open it.
Publish is separate and deliberate. It lives in the Save ▾ menu — the caret beside Save — on a saved template in the hosted product. Published is the version that external surfaces render — a Salesforce record button, for instance. Your own Preview PDF and Export PDF always render the working draft, so you can keep editing without changing what your colleagues' buttons produce. Open the menu to see where you stand: the line under the item says whether anything is published and, if so, which version and whether it matches your latest edits. See Publish a template.
Deleting
Delete this template… in the ⋯ menu moves the template you have open to the recycle bin rather than destroying it. Restore it from Recycle bin at the end of the same menu.
What next
- Put real values in it → Bind fields
- See it as a real page → Preview your document
- Let the assistant draft the first version → Generate from a prompt