nullish comes with clean default templates in English, German, French and Italian. When you want documents that look like you, design your own: the whole page is yours, not just a logo and a line of text.
Templates are made with the nullish document templates project. It shows a live preview of your documents with sample data, so you see every change right away. You can let an AI do the work or edit the templates yourself.
Get the project
Section titled “Get the project”Fork usenullish/document-templates on GitHub if you want to keep your templates in your own repository, then clone it:
Terminal window git clone https://github.com/usenullish/document-templates.gitcd document-templatesnpm ciStart the preview and open localhost:4321:
Terminal window npm run dev
Design it with an AI
Section titled “Design it with an AI”Open the project in a coding assistant such as Claude Code, Cursor or Copilot, and describe what you want:
- "Use my logo from
logo.svgin the top left corner and our brand color#1d4ed8for the headings." - "Put our address in the footer and the bank details next to the totals."
- "Make it look more like this PDF" (with an old invoice attached).
The project describes the data of every document, so the assistant knows what it can use. Keep the preview open next to it and ask for adjustments until it looks right.
Or edit it yourself
Section titled “Or edit it yourself”Each document has its own folder in src/templates/. For invoices, it's src/templates/invoices/:
Invoice.astrois the layout: what appears on the page, and where.i18n.jsonholds the texts in English, French, German and Italian.
Style it with plain CSS or Tailwind classes. Sizes are in millimeters, like on paper. The project's README lists the data of every document and the template syntax.
Upload it to nullish
Section titled “Upload it to nullish”Build the templates:
Terminal window npm run buildYou get one file per language for each document, e.g. in
templates/invoices/:en.html,fr.html,de.htmlandit.html.In nullish, go to Settings → Billing → Document templates and create a template. Give it a Name.
Choose Add content for each language you need: pick the Language and upload the matching file, e.g.
fr.htmlfor French.
When you generate a PDF, for example an invoice, pick your template under Document template. You can keep several, for example one per brand.