Two-step password recovery in the same split layout: request a link by email with a resend countdown, then choose a new password with strength meter and confirmation, each with loading and success states.
Included in Pro and aboveCompare plans
Live preview. Move the mouse, scroll and click inside the frame.
import { AuthFlowReset } from "@/components/hyperblur-pro/auth-flow-reset"
<AuthFlowReset step="request" onNavigate={setScreen} onSubmit={(v) => api.reset(v)} />| Prop | Type | Default | Description |
|---|---|---|---|
| brand | string | "Lumora" | Fictional product name shown in the brand panel, the mobile header and the copy. |
| logo | ReactNode | hexagon mark | Custom logo mark rendered inside the gradient tile. |
| accent | string | "#7c5cff" | Accent color for the aurora, focus rings, buttons, links and success state. |
| step | "request" | "update" | "request" | Show the email request form, or the new password form reached from the emailed link. |
| badge | string | "Account recovery" | Pill above the title. Empty string hides it. |
| defaultEmail | string | "" | Initial value of the email field. |
| resendSeconds | number | 30 | Cooldown in seconds before the reset link can be sent again. |
| minStrength | 1 | 2 | 3 | 4 | 3 | Minimum strength level for the new password. |
| onSubmit | (values: { step: "request"; email: string } | { step: "update"; password: string }) => void | Promise<unknown> | Called for the request, for each resend and for the password update. Return a promise to show the loading state; reject with an Error to show its message. | |
| kicker | string | per screen | Small uppercase label above the brand panel headline. |
| headline | string | per screen | Large headline in the brand panel. The panel is shown when the component is at least 860px wide. |
| highlights | string[] | three bullet points | Checklist under the headline. Empty array hides it. |
| footnote | string | "Encrypted in transit and at rest." | Line at the bottom of the brand panel. Empty string hides it. |
| onNavigate | (route: "signin" | "signup" | "reset" | "verify") => void | Called by the links between the four auth screens. When set, the default link navigation is prevented so you can switch screens in state or with your router. | |
| hrefs | Partial<Record<"signin" | "signup" | "reset" | "verify", string>> | #signin, #signup, ... | Real link targets for the cross links, used when onNavigate is not set and for open-in-new-tab. |
Source code is included in Pro and above