Arc
ComponentsBlocksScreensDocsPricingTry the demo
Get Pro
Saved

Docs

IntroductionInstallationThemingMotionAI and MCPChangelog

Components136

ButtonAction buttonSplit buttonButton groupFloating button groupExpanding button groupCopy buttonAction swapIcon morphConfirm morphTheme switcher

Hold to confirmSwipe actionsReactions

Dropdown menuContext menuUser menu

InputTextareaPassword fieldPassword strengthSearch fieldExpanding searchInline edit

Number fieldMoney inputPhone inputScrub inputTag inputMention inputShortcut recorder

SelectComboboxMulti-selectMorph selectChip group

Radio cardsBilling toggleCheckboxRadio groupSwitchSegmented controlRatingToggle group

SliderElastic sliderRange histogram sliderRuler sliderWindow rangeNewProLens rangeNewPro

CalendarDate pickerDate range pickerTime pickerColor pickerEmoji pickerPro

Rich text editorSignature padFile dropzoneAvatar uploadPro

TabsBreadcrumbPaginationMega menu morphProTable of contents progressPro

Scroll areaAccordionExpandable cardResizable panelsExpandable text

DialogDrawerBottom sheetPopoverHover cardTooltipShare accessProConfirm popoverPro

AlertToastToast stackAnnouncement barCookie consentUndo toastPro

ProgressSkeletonStepperCountdownUsage meterOnboarding checklist

AvatarAvatar groupBadgePresence stackPro

CardMetric cardEmpty stateMetric tickerPro

Line chartBar chartDonut chartStreamgraphBrush chartWaffle chartSlope chartSparklineGaugeActivity heatmapAnimated counterRidgelineTreemapSplit barPro

SunburstProSankey flowProFunnel chartProRadar chartProRealtime streamProRace bar chartProData gridPro

Sortable data tableTree tableTree viewReorderable listFilter toolbarCode blockJSON viewer

TimelineComment threadChat thread

Image compareCarouselCard stack

Text revealIn-view titleText morphText shimmer

Blocks122

KPI drilldownProMetric explorerProRevenue explorerProMRR waterfallProCohort retentionProUsage forecastProJourney flowProUptime statusProPivot builderProChoropleth explorerProConnected scatterProHorizon chartProAccount healthPro

Budget variancePro

Small multiplesProLine replayPro

AI chatProAI composerProAI answerProModel pickerProModel arenaProPrompt studioProDocument extractionProAgent memoryProAI side panelProAI inline editProResearch runProAI insight cardProCatch upProAI feature launchProAI search barProAI setup wizardProCall insightsProLead scoringPro

Agent runProAgent tasksProAgent approvalsProAgent routinesProAgent orchestratorProMCP serversProKnowledge baseProEval suiteProAgent builderProAgent galleryPro

SidebarPro4Page headerCommand paletteNotification centerSelection toolbarProEmpty statesSearch resultsPro

Login and sign up5, free and Pro variantsOnboarding illustrationProOTP inputMulti-step formProTwo-factor setupProMagic linkPro

Settings pageProSettings commandProSecurity settingsProBilling overviewProUsage billingProCancel flowProOnboarding surveyProSpend alertPro

Team membersProInvite peopleProRoles and permissionsProProfile pagePro

API keysProWebhooksProIntegrationsProImport wizardNewProEnvironment variablesProDomain verifyProWebhook testerPro

Plan comparisonPricing calculatorProUsage pricingProCart drawerProCheckout summaryProLive checkoutProSeat managerProCredit top-upPro

Wallet cardProDelivery trackerProSeat mapPro

Activity feedProSupport widgetProFeature votingPro

File uploadMedia playerPro

Availability pickerProRelease readinessProFeedback boardProSmart schedulerProTask breakdownProGoal trackerPro

Hero sectionHero signupPro

Scroll storyProSpotlight gridProFeature bentoProComparison table

Logo marqueeStudio perspectivesProStats band

Changelog feedFAQ sectionContact sectionTeam showcaseProBlog grid

Site headerSite footerCTA sectionNewsletter signup

Activity terrainProRevenue globeProCustomer galaxyProSemantic zoomProLayout morphProExploded viewPro

Screens14

Metrics dashboardProMarket terminalPro

Kanban boardProProject boardProGantt timelinePro

Week calendarProMonth calendarNewPro

Team directoryPro

Inbox triageProSupport conversationProHelp centerPro

Product listingProProduct detailProInvoice studioPro

Special components106

Share sheetProAction morphProMorph navProDockProLiquid tab barProOrbit menuPro

Glass menuProGlass segmentedProGlass cardProGlass tab barPro

Sheet stackProWallet stackProControl centerProHolo cardProCard to articleProLink unfurlPro

Product galleryProLightbox galleryProPhoto gridProCover flowPro

Voice orbProNow playingProVoice recorderPro

Booking pillProActivity ringsProTime dialProDate reelPro

Keycap keyboardProSlot textSand textProTypewriter terminalPro

Stretch refreshProMorph loaderProSkeleton morphProBlack holeProCharge sessionPro

Sticker peelProTicket tearProPage curlProOrbit logosProPrize wheelPro

Dot gridProImage trailProGravity wellProInk fluidProCursor trail drawPro

Agent statusProTool callProAgent planProAgent timelineProContext windowProReasoning blockProSource cardsProModel cardProAI workflowProCode suggestionProGhost textProImage generationProDictation buttonProSpeech playerProMeeting summaryProReply draftProAgent handoffProPII redactionProResponse feedbackProLLM cost calculatorProProvider keysProGeneration statsProAI translateProTL;DR toggleProConnector setupProSmart form fillProEnrich columnProTicket routerProAsk your dataProAgent cursorProProvider statusProTraining runProAI commandProStarter promptsProAI mascotProImage revealProAI sparkProPixel mascotProGhost mascotProCube mascotProTone tunerProUpgrade promptProReferral cardProTrial bannerProTeam switcherProLive visitorsProSocial proof toastProInstall snippetPro

Data flowProPayment flowProDNS resolutionProModel trainingProMulti-region failoverProVector searchProBranch graphProAgent loopProMixture of expertsProSpeculative decodingProPrompt cacheProReasoning treePro
What’s new4 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 "@/components/arc/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.Password strengthComponentShow how strong a new password is while it is typed.OTP inputBlockA six digit verification flow with paste support and keyboard navigation.

More like this in Pro

Explore Pro
Onboarding illustrationProBlockA compact onboarding card whose line illustration morphs from folder to files, team, and badge.Two-factor setupProBlockA two-factor setup card where you scan a real, working authenticator QR code, type the 6-digit code into slots that move to the next box on their own, and save your backup codes before it turns on. Every step shares one fixed-size card, so it moves between steps with a short slide and never changes size.Magic linkProBlockA passwordless sign in card where an email with inline validation and typo fixes sends a magic link, and the card crossfades in place to a check your inbox step with a sealing envelope, Gmail and Outlook shortcuts and a resend countdown. Google and GitHub sign in sit above, with their real marks.
PreviousRelease readinessNextWallet card
Arc · 122 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?