Command Palette

Search for a command to run...

Clerk/Clerk Sign In

Clerk Sign In

Multi-step sign-in form with email/password and social OAuth buttons. Features step transitions, forgot password link, and clean Clerk aesthetic.

Open in v0Open in

Sign in

Welcome back

or

Don't have an account? Sign up

Overview

A functional multi-step sign-in form using Clerk Core 3's useSignIn() hook. Supports email/password authentication and optional social OAuth buttons with smooth step transitions.

Installation

npx shadcn@latest add "https://elements.crfrst.dev/r/clerk-sign-in"

Usage

import { ClerkSignIn } from "@/components/elements/clerk-sign-in";

export default function LoginPage() {
  return <ClerkSignIn redirectUrl="/dashboard" />;
}

Props

PropTypeDefaultDescription
headingstring"Sign in"Form heading
subheadingstring"Welcome back"Subheading text
showOAuthbooleantrueShow social login buttons
showSeparatorbooleantrueShow "or continue with" divider
redirectUrlstring"/"Where to redirect after sign in
signUpUrlstring"/sign-up"Link to sign up page
afterSSOUrlstring"/sso-callback"OAuth callback page URL

Features

  • Multi-step form (email -> password)
  • Social OAuth buttons (Google, GitHub, Apple)
  • Forgot password link
  • Smooth step transitions
  • Inline error display from Clerk API
  • Loading states via fetchStatus