- Hyperclay
- Docs
- Workspace
- Templates
Templates
Start a new document from a blank file or one of Hyperclay's templates, or save any document of your own as a reusable template.
Every new document in Hyperclay starts on the Start a new document page. Name it if you like, pick a template, and create it. You can start from a blank HTML file, one of Hyperclay’s templates, or a document you saved as a template in your own workspace.
The New document page#
Open the New menu and click New document. The page has, from top to bottom:
- Document name, marked (optional). If you opened the page from inside a folder, a chip beside it says In folder:
<folder>. - Pick a template: Hyperclay’s templates, as cards.
- Templates in
<account>: the templates saved in your own workspace, when there are any. - Describe anything, when hosted AI is on for your account.
Hyperclay’s templates#
- Blank: An empty HTML file with ClayJS included, so you can write your own markup from scratch.
- Journal: A private notebook for dated entries with titles and tags, kept in one HTML file. A Journal created from this gallery starts private, so only you can open it.
- Kanban: A simple board to move work across lists, saved in one HTML file.
Each card shows a picture of the template, its size and ClayJS. Click Preview on a card to see it large. In the preview, Previous, Next and the tabs move between templates, Select card picks that template, Start with <template> creates the document straight away, and Close or Escape goes back to the page.
Templates in <account>#
Appears when your workspace has saved templates in its top-level templates folder (see Save as template). Each card shows the template’s file name and Updated <date>.
Describe anything#
Describe it opens a box where you say what you need in your own words, and Hyperclay builds a working malleable document with all of its features for you. See Hosted AI. While AI is paused for your account, the button is turned off and the page says why.
Start a document#
- Type a name in Document name, or leave it blank. The hint under the field previews the file name, Saved as
<tidied-name>. (see Files and folders for naming rules). Left blank, the document is nameduntitled, thenuntitled-1,untitled-2and so on. - Click a template card to select it. Starting from
<template>beside the button shows your pick. - Click Create, or press Enter in the name field. Double-clicking a card also creates the document.
If the folder already has a file with that name, the page shows <name> is already in this folder. Pick another name.
Upgrade a document made from a template#
A document you make from the Block editor or Journal template remembers which template and version it came from. When Hyperclay publishes a newer version of that template, the document offers it to anyone who can edit it: an Upgrade to version <N> item in the document’s menu, or an Upgrade and Not now notice when the page has no menu. Upgrading moves your content into the new version and saves it as one change. See the ClayJS upgrade plugin.
Save as template#
Account owners and team editors can turn any duplicable document into a reusable workspace template (team viewers do not see this option):
- Open the document’s menu in the workspace or in the files table.
- Click Save as template (located right after Duplicate). While the copy is being created, the menu item reads Saving as template….
Where saved templates live#
- Save as template copies the document into a folder named
templatesat the root of your workspace, creating thetemplatesfolder automatically if it does not exist yet. - The copy uses the document’s file name, or appends
-2,-3, and so on when that name is already taken insidetemplates. - Every live document placed directly inside your root
templatesfolder appears on the New document page under Templates in<account>, sorted alphabetically by name. Subfolders, uploaded files, and anytemplatesfolder located inside another folder are left out. - Picking a card under Templates in
<account>and clicking Create copies that template into the folder where you opened the page.