Blocks
Forgot Password
Password reset request that morphs into a check-your-inbox confirmation.
Preview and props
Expand Props below the centered preview to change the component’s properties.
Examples
Submit an email address to try the inbox confirmation or simulated error.
Reset your password
Enter your email and we will send you a reset link
Example controls
Usage
import { ForgotPasswordBlock } from "@exegia/corpora-ui"
<ForgotPasswordBlock onSubmit={({ email }) => sendResetLink(email)} />API notes
| Prop | Type | Default | Description |
|---|---|---|---|
| logo | React.ReactNode | — | Brand mark rendered above the title. Omitted leaves no logo row at all. |
| accent | "corpora" | "exegia" | — | Brand accent for the primary action — corpora is a solid #E8B124, exegia a purple gradient. Omit to keep the default primary. |
| onSubmit | ({ email }) => Promise<void> | — | Reject to surface the error state. |
| onBackToLogin | () => void | — | Footer back-link handler. |
Last updated on