GitHub

Forgot Password Form

Block
Form for requesting password reset

Basic Usage

Loading...

Installation

pnpm add @corew500/ui

Usage

import { ForgotPasswordForm } from "@corew500/ui/blocks/forgot-password-form"

<ForgotPasswordForm>Content</ForgotPasswordForm>

API Reference

Props

PropTypeDefaultDescription
onFormSubmit(data: ForgotPasswordFormData) => voidCalled when the form is submitted
loadingenumfalseWhether the form is in a loading state
successenumfalseWhen true, shows success state instead of form
glowenumfalseEnable glow effects
titlestringForgot password?
descriptionstringEnter your email address and we'll send you a link to reset your password.
successTitlestringCheck your email
successDescriptionstringWe've sent you a password reset link to your email address.
successSubDescriptionstringIf you don't see it, check your spam folder.
successActionenum
labels{ email?: string; }{}
placeholders{ email?: string; }{}
buttonLabels{ submit?: string; loading?: string; backToLogin?: string; }{}
errors{ email?: string; general?: string; }{}
backToLoginHrefstring#