Go to file
“kirukib” 957058d512 footer like reference
Made-with: Cursor
2026-04-02 11:38:31 +03:00
public first commit 2026-04-02 11:04:10 +03:00
src footer like reference 2026-04-02 11:38:31 +03:00
.gitignore first commit 2026-04-02 11:04:10 +03:00
eslint.config.js first commit 2026-04-02 11:04:10 +03:00
index.html first commit 2026-04-02 11:04:10 +03:00
package-lock.json first commit 2026-04-02 11:04:10 +03:00
package.json first commit 2026-04-02 11:04:10 +03:00
README.md first commit 2026-04-02 11:04:10 +03:00
tsconfig.app.json first commit 2026-04-02 11:04:10 +03:00
tsconfig.json first commit 2026-04-02 11:04:10 +03:00
tsconfig.node.json first commit 2026-04-02 11:04:10 +03:00
vite.config.ts first commit 2026-04-02 11:04:10 +03:00

Hotel Email Templates (Resend-ready)

A simple React app that helps you preview and export branded transactional emails for your hotel booking system.

It generates:

  • html (Resend-ready, inline/table-based)
  • text (plain-text version)
  • subject (based on the selected template + your variables)

Run locally

npm install
npm run dev

Open the shown local URL.

How to use

  1. Brand identity (left panel)

    • Replace Logo URL
    • Set Primary color (CTA/button)
    • Set Secondary color (borders/headings)
    • Set footer contact details (address/email/phones)
  2. Pick a template

    • Booked Room
    • Point Reward
    • Raffle Entered
    • Prize Won
    • Laundry Service
    • Order Rating Request
    • Stay Rating Request
    • Plus: Booking Cancelled, Check-in Reminder
  3. Fill template variables

    • Each template has its own variable fields (guest name, booking ID, dates, etc.)
  4. Preview + export

    • The app renders the email in the preview pane.
    • Use Export to copy/download the HTML and Plain text plus the Subject.

Resend payload example

When sending via Resend, include at least one of html or text (recommended: both).

await resend.emails.send({
  to: 'guest@example.com',
  subject,
  html,
  text,
});

Notes

  • The app uses @react-email/render to generate email-safe HTML.
  • Branding is applied via the theme fields you edit in the UI.