Showcase Sign In
A split sign-in screen: a form that flips between sign in and sign up with a strength meter, beside a showcase panel with a drifting gradient backdrop and quotes that rotate under progress pills.
pixikit.com/docs/blocks/auth/showcase-sign-in
Customize
Mode
Interval6s
Side
Props
13| Name | Type | Default | Description |
|---|---|---|---|
brand | ReactNode | DEFAULT_BRAND | The logo or name shown above the form. |
mode | ShowcaseSignInMode | "sign-in" | The form that shows first; the switch under the form changes it. |
onModeChange | (mode: ShowcaseSignInMode) => void | None | Called with the mode the switch moves to. |
heading | { signIn: string; signUp: string } | DEFAULT_HEADING | The heading of each mode. |
lead | { signIn: string; signUp: string } | DEFAULT_LEAD | The line under the heading of each mode. |
labels | Partial<ShowcaseSignInLabels> | None | Every other visible or announced string. |
providers | ShowcaseSignInProvider[] | DEFAULT_PROVIDERS | Buttons under the form, one per sign-in method. |
forgotHref | string | "#" | Where the forgot password link goes. |
slides | ShowcaseSignInSlide[] | DEFAULT_SLIDES | The highlights the showcase side rotates through. |
interval | number | 6 | Seconds each slide stays. |
side | "left" | "right" | "right" | Which side the showcase sits on. |
onSubmit | (values: ShowcaseSignInValues) => void | Promise<void> | None | Called with the values once they pass; a returned promise keeps the button busy until it settles. |
className | string | None |