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/signup-form
5 variants

Sign upAn account creation flow with field validation, password strength, and a clear completion state.

Live block · sample data

When to use

  • The client side of an email and password sign-up.
  • Sign-up pages that should show password strength and a product updates opt-in.
  • Flows that want an in-place success panel after the account is created.

When not to use

  • Use sign-in or login-split for returning users.
  • Use password-field alone when the form is already built.
  • Use otp-input for passwordless or code-based sign-up.

Installation

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

$pnpm dlx shadcn@latest add @uiarc/signup-formpnpm dlx shadcn@latest add @uiarc/signup-form

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 client side of an account flow. Supply an onSubmit handler that creates the account and handles server errors.

example.tsx
1import { SignupForm, type SignupDetails } from "@/registry/blocks/signup-form/signup-form";2 3export function SignUpPage() {4  const [error, setError] = useState<string | null>(null);5  async function create(details: SignupDetails) {6    const res = await fetch("/api/sign-up", { method: "POST", body: JSON.stringify(details) });7    if (!res.ok) setError("That email is already registered.");8  }9  return <SignupForm onSubmit={create} serverError={error} onProvider={provider => signIn(provider.toLowerCase())} />;10}
Built fromInputPassword fieldCheckboxButton

API reference

2 parts. The first is the root.

SignupForm

An account creation card: Google, Apple, and GitHub buttons, then name, email, password with strength, a product updates opt-in, and a completion state whose check draws itself in.

PropTypeDefaultDescription
onSubmit(details: SignupDetails) => void | Promise<void>–Called with valid details. Awaited; a thrown error shows a submit error.
serverErrorstring | null–External error message shown under the form, for example from your auth API.
onProvider(provider: "Google" | "Apple" | "GitHub") => void–Called when a provider button is pressed. Start your OAuth redirect here. Without a redirect, the block simulates the provider and shows the completion state after 900ms.

SignupDetails

Type passed to onSubmit.

PropTypeDefaultDescription
nameRequiredstring–Full name, at least 2 characters.
emailRequiredstring–Email that passed a basic format check.
passwordRequiredstring–Password of 8 or more characters.
productUpdatesRequiredboolean–Opt-in checkbox state.

Accessibility

  • Invalid fields set aria-invalid and point aria-describedby at their message.
  • Field and submit errors use role="alert"; the success panel uses role="status".
  • Provider buttons have labels like "Sign up with Google"; while one is busy the others are aria-disabled.
  • Password strength is shown as text, not only color.

Motion

  • The card height springs between the form and the completion panel, which slides in while the form exits.
  • The completion ring and check draw themselves in with pathLength.
  • Reduced motion drops the offsets and blur and uses zero durations.

Responsive behavior

  • Container query: below 380px of card width the padding, heading, and provider button text shrink so fields keep their width.
  • Below 480px viewport width the card uses the smaller panel radius.

Performance

  • Validation is local and synchronous; the card height is a motion value measured with a layout effect, so swapping steps does not reflow the page.
  • Strength bars animate with CSS transitions, turned off under reduced motion.

Notes for AI

Give your coding assistant the Markdown reference instead of screenshots.

  • Use as the client side of an email and password sign-up with optional social providers.
  • Wire onProvider to your auth library's OAuth sign-in; the built-in provider flow is a simulation.
  • Validation is local; keep server checks in onSubmit and pass their message through serverError.
  • Composes Arc Button, Checkbox, Input, and PasswordField.
/components/blocks/login/markdown

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

Related

Login and sign up: Email codeBlockA sign in card that morphs from email to a six digit code to your account.Login and sign up: SplitProBlockA full screen split login: an email-first form that morphs into a password step beside a photo.Password fieldComponentCapture sensitive text with a visible reveal control.OTP inputBlockA six digit verification flow with paste support and keyboard navigation.
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

Create your account

Start with your work email. You can invite your team after.

or
Use 8 or more characters.

By creating an account you agree to the and .

Have an account?