Split Sign In With Quote
Two-column sign-in screen: a thin-bordered panel with a lowercase wordmark, email/password fields, an inline forgot-password link, a remember-me toggle, and an SSO fallback line, set beside a full-height photo panel with a gradient overlay and a customer quote.
Docs
Installation
A real shadcn registry command, not a copy-paste stand-in: it fetches this block plus its button, media-slot dependencies and any missing npm packages, and installs them straight into your project.
npx shadcn add https://staaarter.com/r/split-sign-in-with-quote.jsonPrefer not to use the CLI? Copy the source from the Code toggle above into src/components/blocks/auth/auth49.tsx instead.
Usage
The file also exports auth49Demo, the exact props behind the preview above. Spread it to get a working section in one line, then replace it with your own data.
import { Auth49, auth49Demo } from "@/components/blocks/auth/auth49"; export default function Page() { return <Auth49 {...auth49Demo} />; }
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| wordmark | string | none | Text-only brand mark, rendered in lowercase styling. |
| emailLabel | string | none | Label for the email field. |
| passwordLabel | string | none | Label for the password field. |
| forgotLabel | string | none | Label for the inline forgot-password link. |
| forgotHref | string | none | Href for the forgot-password link. |
| rememberLabel | string | none | Label for the remember-me checkbox. |
| ssoLabel | string | none | Small fallback line under the form, e.g. mentioning SSO. |
| signInLabel | string | none | Label for the sign-in submit button. |
| photo | MediaSlotImage | undefined | Photo for the right-hand panel; falls back to the shared gradient placeholder. |
| quote | Quote | none | Customer quote overlaid on the photo panel. |
| className | string | none | Extra classes for the outer section element. |
Types
type Quote = { text: string; name: string; role: string; };
Behavior notes
- Client component only for the password show/hide toggle, which flips a real boolean state and swaps the input's type between "password" and "text".
- The photo panel is hidden below the lg breakpoint, so on mobile only the form column renders, matching the grid-cols-1 lg:grid-cols-2 stacking rule used for split auth layouts.
- The forgot-password link sits inline next to the password label rather than below the form, and remember-me and the SSO line are both static, non-functional decorations, no real remember-me persistence or SSO handoff is wired up.
- The form has no real submit handler; sign-in is left inert.
More Auth Blocks
View all →centered-sign-in-card
Centered Sign In Card
Full-height centered sign-in card with social buttons, a password show/hide toggle, and remember-me.
split-screen-sign-up
Split-Screen Sign Up
Two-column registration screen with a sign-up form on one side and a full-bleed photo with a customer quote on the other.
email-verification-code
Email Verification Code
Full-height OTP screen with a 6-digit segmented code input, auto-advancing focus, and a live resend countdown.
forgot-password-request
Forgot Password Request
Full-height password recovery screen with a single email field, a send-reset-link button, and a back-to-sign-in link.
set-new-password
Set New Password
Full-height reset-password screen with independent show/hide toggles per field and a live password-requirements checklist.
magic-link-sign-in
Magic Link Sign In
Full-height passwordless sign-in screen with an email field, a send-magic-link button, and social login as a fallback.