Marketing / Email templates
Email template
Transactional emails on the tray and card: Welcome, Invite, Receipt, Reset and Digest. 600 wide, the product on the tray strip, the message on the card, the small print below; it reflows to a phone.
Code
The component itself, ready to drop into your project. Switch between React, Vue and plain HTML; every version uses the same Tailwind classes on Ochre's tokens.
Welcome to Northwind, Maya
Your workspace is ready. Three things get most teams going in their first week.
- 01Import your roadmapFrom a spreadsheet, Jira or Linear.
- 02Invite your teamEditors pay, guests are free.
- 03Start a cycleTwo weeks is a good first length.
You're getting this because you created a Northwind account.
Northwind Ltd, 1 Example Street, London EC1A 1AA
Installation
Examples
Receipt
Line items in mono with the total under a firmer hairline.
Your receipt from Northwind
Thanks, Maya. We've charged the Visa ending 4242 for October.
- Team plan, 8 people
- £96.00
- VAT at 20%
- £19.20
- Paid on 1 Oct 2026
- £115.20
Invoice NW-2026-0142 · Billing questions? Reply to this email.
You're getting this because you pay for Northwind Team.
Northwind Ltd, 1 Example Street, London EC1A 1AA
Your own
The same parts, composed into a sign-in code email.
Your sign-in code
Enter this code in the window you signed in from. It works once.
482 913
Open Halcyon LabsThe code expires in 10 minutes.
You're getting this because someone tried to sign in to Halcyon Labs as sam@halcyon.example.
Motion
Built on Ochre's ease-out curves. With reduced motion switched on, everything still works, it just doesn't move.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| type | "welcome" | "invite" | "receipt" | "reset" | "digest" | "welcome" | Type=Welcome, Invite, Receipt, Reset or Digest. |
| product | string | "Northwind" | Your product's name, on the strip and in the copy. |
| recipient | string | "Maya" | The first name the email greets. |
| actionHref | string | – | Where the email's one button goes. |
| EmailShell, EmailHeading, EmailText, EmailButton, EmailRows, EmailNote | components | – | The parts, for composing an email of your own on the same tray and card. |
Usage
Use it for
- The emails your product sends itself: sign-up, invites, receipts, password resets and summaries.
- The HTML version to send. It's built for mail clients: nested tables, inline styles, and Ochre's light-theme token values written out as hex, because mail clients drop CSS variables and most stylesheets.
- The React and Vue versions to preview the same email in your app, such as a notification settings screen. They use Ochre's classes, so they follow Dark and the schemes there.
Avoid
- More than one button. The email has one job; secondary links go in the text.
- Images for words or buttons: many clients block images until asked.
- Sending the React preview as is. Its classes need Ochre's stylesheet, which mail clients won't load.