Arc
ComponentsBlocksDocsPricingTry the demo
Introduction
Installation
Theming
Motion
AI and MCP
Changelog
Metrics dashboard
KPI drilldownNew
Metric explorer
Revenue explorer
MRR waterfall
Cohort retention
Usage forecast
Journey flow
Connected scatterNew
Market terminalNew
Budget varianceNew
Small multiplesNew
Line replayNew
AI chatNew
AI composer
Agent runNew
SidebarPro4
Page header
Command palette
Notification center
Empty states
Login and sign up5
OTP input
Multi-step formPro
Settings page
Security settings
Billing overview
Usage billingNew
Team members
Invite peopleNew
Team directory
Roles and permissions
API keys
Webhooks
Integrations
Plan comparison
Pricing calculatorNewPro
Usage pricingPro
Cart drawerNewPro
Checkout summaryNewPro
Invoice studio
Wallet card
Product listingNew
Product detailNew
Inbox triage
Support conversation
Support widget
File upload
Media playerPro
Week calendarNew
Availability picker
Project board
Release readiness
Hero sectionNew
Hero signupNewPro
Scroll storyNewPro
Spotlight gridNewPro
Feature bentoNewPro
Comparison tableNew
Logo marquee
Studio perspectivesPro
Stats bandNew
Changelog feed
FAQ sectionNew
Contact sectionNew
Team showcasePro
Blog gridNew
Site headerNew
Site footerNew
CTA sectionNew
Newsletter signupNew
Revenue globe
Customer galaxy
Semantic zoom
Layout morph
What’s new80 new
BlocksLogin and sign up

Login and sign up

Sign in and sign up pages, from a compact code card to full screen split and immersive layouts.

$pnpm dlx shadcn@latest add @uiarc/sign-in
5 variants

Email codeA sign in card that morphs from email to a six digit code to your account.

Live block · sample data

When to use

  • The entry screen of an app with email code sign in.
  • Sign in cards that also offer passkeys and single sign-on.
  • Passwordless flows that should confirm the account before continuing.

When not to use

  • Use login-centered, login-split, or login-immersive for password based layouts.
  • Use signup-form to create an account.
  • Use otp-input on its own when the code step lives in your own form.

Installation

Add Login and sign up (Email code) with the shadcn CLI, or copy the source by hand.

$pnpm dlx shadcn@latest add @uiarc/sign-inpnpm dlx shadcn@latest add @uiarc/sign-in

Adds the block and its local dependencies, and installs motion, lucide-react. First time? Add the @uiarc registry to components.json, or use the full URL:

Usage

Use this as the entry to your app. Send and check codes through your auth provider, connect the passkey button to WebAuthn and the single sign-on buttons to OAuth; everything in the preview is simulated.

example.tsx
1import { SignIn } from "@/registry/blocks/sign-in/sign-in";2import { useRouter } from "next/navigation";3 4export function SignInPage() {5  const router = useRouter();6 7  return <SignIn onSignIn={() => router.push("/dashboard")} />;8}
Built fromInputOTP inputButtonAvatar

API reference

SignIn

A sign in card that moves from email to a six digit code to a signed in account, with passkey and single sign-on buttons. Sending and checking codes is simulated.

PropTypeDefaultDescription
demoCodestring"123456"The code the simulated email contains.
onSignIn(account: SignInAccount, method: SignInMethod) => void–Called once sign in succeeds. SignInAccount is { name, email, photo? }; SignInMethod is "Email code", "Passkey", "Google", "Apple", or "GitHub".

Accessibility

  • Single sign-on providers are a labelled group of buttons with visible names.
  • Step changes and errors are announced through a visually hidden role="status" region.
  • Provider marks are aria-hidden SVGs next to text labels.

Motion

  • The card morphs its height between the email, code, and done steps, sliding content in the direction of travel.
  • Reduced motion swaps the slide for a plain fade.

Responsive behavior

  • The card is a container; below 380px its padding and heading shrink, and the provider buttons tighten.
  • Below a 480px viewport the card corners soften to the panel radius.

Performance

  • A ResizeObserver drives the height morph between steps.
  • The signed in avatar reuses the same image through a layoutId, so the morph does not wait on a second image.

Notes for AI

Give your coding assistant the Markdown reference instead of screenshots.

  • Use as the entry screen of an app.
  • Send and verify codes through your auth provider instead of demoCode, connect the passkey button to WebAuthn, and the provider buttons to OAuth.
  • Composes Arc input, otp-input, button, and avatar; exports SignInAccount and SignInMethod types.
/components/blocks/login/markdown

The full library index for assistants is at /llms.txt.

Related

OTP inputBlockA six digit verification flow with paste support and keyboard navigation.Login and sign up: CenteredBlockA passkey-first login card on a quiet ring backdrop that morphs through email and code.Login and sign up: SplitProBlockA full screen split login: an email-first form that morphs into a password step beside a photo.Login and sign up: Sign upBlockAn account creation flow with field validation, password strength, and a clear completion state.Password fieldComponentCapture sensitive text with a visible reveal control.
PreviousRelease readinessNextWallet card
Arc · 75 block pagesllms.txt

On this page

  • Preview
  • When to use
  • When not to use
  • Installation
  • Usage
  • API reference
  • Accessibility
  • Motion
  • Responsive behavior
  • Performance
  • Notes for AI
  • Related
View as Markdown

Sign in to Arc

Enter your email and we will send you a 6 digit code.

or

No account?