X Enterprises
nuxt-x-auth

ForgotPassword

Password reset request form that shows a success state after the email is sent.

ForgotPassword

The XAuthForgotPassword component renders a single-field form asking for the user's email. After submission it sets emailSent to true and switches to a success message, preventing duplicate sends.

Components

<XAuthForgotPassword />

Place on the /auth/forgot-password page. Works with xAuth.features.forgotPassword.

<XAuthForgotPassword />

Props

PropTypeDefaultDescription
loadingbooleanfalseShow a loading state on the submit button
errorstring | nullnullDisplay an error message above the form

AI Context

component: XAuthForgotPassword
package: "@xenterprises/nuxt-x-auth"
use-when: Forgot password page — email input that triggers a reset email
Copyright © 2026