BETTER-AUTH. UI
Components

<PasswordChangedEmail />

Email template component that notifies users when their password has been changed.

Usage

import { PasswordChangedEmail } from "@better-auth-ui/solid/email"
import { render } from "@solidjs-email/main"

const html = await render(() =>
  PasswordChangedEmail({
    email: "[email protected]",
    timestamp: "January 15, 2024 at 3:30 PM",
    appName: "Better Auth UI",
    logoURL: {
      light: "/favicon-96x96.png",
      dark: "/favicon-96x96-inverted.png"
    },
    supportEmail: "[email protected]",
    secureAccountURL: "https://better-auth-ui.com/secure-account",
    darkMode: true,
    poweredBy: true
  })
)

Installation

npx shadcn@latest add https://better-auth-ui.com/r/solid/password-changed-email.json

Props

Prop

Type

Features

  • Password change notification
  • Timestamp of the change
  • Security action button if unauthorized
  • Support contact information
  • Customizable branding and styling
  • Support for light/dark mode themes
  • Localization support

Last updated on

On this page