Renders a localized, Tailwind‑styled verification email with a call‑to‑action button, used for sending account verification links to users.
// Source: https://github.com/saasyland/saasyland.com | License: MIT | Copyright 2023, 2026 Piotr Borowiecki
// Provided via justclaw.it.com; keep this notice with the code.
import type { JSX } from "react"
import { Body, Button, Container, Head, Heading, Html, Preview, Section, Tailwind, Text, pixelBasedPreset } from "react-email"
import { createTranslator } from "use-intl"
import type { SupportedLocale } from "~/src/integrations/use-intl/i18n.config"
import type emailMessages from "~/messages/en-US/emails.verify-email.json"
export const VERIFY_EMAIL_NAMESPACE = "emails.verify-email"
const TAILWIND_CONFIG = { presets: [pixelBasedPreset] }
interface VerifyEmailProps {
readonly locale: SupportedLocale
readonly messages: typeof emailMessages
readonly name: string
readonly verif
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key