Staaarter

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.

By Staaarter Team
Auth
Docs
Live preview

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.json

Prefer 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

PropTypeDefaultDescription
wordmarkstringnoneText-only brand mark, rendered in lowercase styling.
emailLabelstringnoneLabel for the email field.
passwordLabelstringnoneLabel for the password field.
forgotLabelstringnoneLabel for the inline forgot-password link.
forgotHrefstringnoneHref for the forgot-password link.
rememberLabelstringnoneLabel for the remember-me checkbox.
ssoLabelstringnoneSmall fallback line under the form, e.g. mentioning SSO.
signInLabelstringnoneLabel for the sign-in submit button.
photoMediaSlotImageundefinedPhoto for the right-hand panel; falls back to the shared gradient placeholder.
quoteQuotenoneCustomer quote overlaid on the photo panel.
classNamestringnoneExtra 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.