Split-screen sign in with an animated aurora brand panel, inline validation, show/hide password, caps lock warning, passkey and SSO buttons, async loading and a success state. Part of a four-screen auth set.
Included in Pro and aboveCompare plans
Live preview. Move the mouse, scroll and click inside the frame.
import { AuthFlowSignin } from "@/components/hyperblur-pro/auth-flow-signin"
<AuthFlowSignin brand="Lumora" onNavigate={setScreen} onSubmit={(v) => api.signIn(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. |
| badge | string | "Secure sign in" | Pill above the title. Empty string hides it. |
| title | string | "Welcome back" | Form heading. |
| subtitle | string | "Sign in to continue to {brand}." | Text under the heading. |
| providers | { id: string; label: string; icon?: ReactNode }[] | Passkey and Single sign-on | Alternative sign-in buttons. Empty array hides them and the divider. |
| onProvider | (id: string) => void | Called with the provider id when one of the provider buttons is clicked. | |
| defaultEmail | string | "" | Initial value of the email field. |
| submitLabel | string | "Sign in" | Submit button text. |
| onSubmit | (values: { email: string; password: string; remember: boolean }) => void | Promise<unknown> | Called after validation passes. Return a promise to show the loading state; reject with an Error to show its message in an alert. Resolving shows the success state. | |
| 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