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/login-centered
5 variants

CenteredA passkey-first login card on a quiet ring backdrop that morphs through email and code.

Live block · sample data

When to use

  • A full screen sign in or sign up page where passkeys are the main method.
  • Auth flows that fall back to a six digit email code.
  • Products that want one card for both sign in and sign up.

When not to use

  • Use login-split for password sign in beside a brand photo.
  • Use login-immersive for magic link auth over a full-bleed photo.
  • Use sign-in for a simpler embedded sign in form.

Installation

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

$pnpm dlx shadcn@latest add @uiarc/login-centeredpnpm dlx shadcn@latest add @uiarc/login-centered

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 a full screen sign in page (pass fullScreen). Connect the passkey button to WebAuthn, the email step to your magic code sender, the code step to verification, and the SSO buttons to your OAuth routes; onSignIn receives the email, method and mode.

example.tsx
1import { LoginCentered } from "@/components/arc/blocks/login-centered/login-centered";2import { useRouter } from "next/navigation";3 4export default function SignInPage() {5  const router = useRouter();6  return (7    <LoginCentered8      fullScreen9      termsHref="/terms"10      privacyHref="/privacy"11      onSignIn={() => router.push("/app")}12    />13  );14}
Built fromButtonInputOTP input

Examples

Route sign ups to onboarding

example.tsx
1<LoginCentered2  fullScreen3  onSignIn={(email, method, mode) =>4    router.push(mode === "sign-up" ? "/welcome" : "/app")5  }6/>

API reference

LoginCentered

A passkey-first sign in and sign up card on a ring backdrop that morphs through email and a six digit code. Passkey, email delivery and SSO are simulated.

PropTypeDefaultDescription
fullScreenbooleanfalseFill the viewport (100dvh, no frame) when the block is the whole page.
onSignIn(email: string, method: LoginMethod, mode: "sign-in" | "sign-up") => void–Called once the simulated sign in or sign up succeeds. LoginMethod is "Passkey" | "Email code" | "Google" | "Apple" | "GitHub".
demoCodestring"482913"The code the simulated email contains.
demoEmailstring"maya@northwind.studio"The account a simulated passkey or single sign-on resolves to.
termsHrefstring"#terms"Terms link in the footer.
privacyHrefstring"#privacy"Privacy link in the footer.
classNamestring–Appended to the root element.

Accessibility

  • The email field uses autoComplete="email" and the code step uses the OTP input group.
  • Busy buttons use aria-busy and aria-disabled so focus stays put during simulated requests.
  • A polite role="status" region announces step changes and errors.

Motion

  • Steps slide and blur between passkey, email, code and done while the card height follows; the resend label rolls.
  • Reduced motion swaps slides for fades and shows the passkey check without drawing its stroke.

Responsive behavior

  • Below a 520px container the stage and card padding shrink, and below 400px the SSO buttons tighten to small text.
  • Pass fullScreen to fill 100dvh; without it the block sits in a framed card.
  • The ring backdrop drifts with the pointer only while it moves over the screen, and stays still on touch and under reduced motion.

Performance

  • The backdrop is a light SVG ring set moved by CSS variables from motion values, with no re-render per pointer move.
  • Only the active step is mounted; the card height animates as steps change.

Notes for AI

Give your coding assistant the Markdown reference instead of screenshots.

  • Use as a full screen sign in page (pass fullScreen) when passkeys are the primary method.
  • Connect the passkey button to WebAuthn, the email step to your code sender, the code step to verification and SSO buttons to OAuth routes; demoCode and demoEmail exist only for the simulation.
  • onSignIn receives the email, method and mode; redirect from there.
  • Composes Arc Button, Input and OTP input.
/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.Login and sign up: ImmersiveProBlockA glass magic link card over dusk photography that folds its envelope shut once sent.Login and sign up: Sign upBlockAn account creation flow with field validation, password strength, and a clear completion state.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
  • Examples
  • API reference
  • Accessibility
  • Motion
  • Responsive behavior
  • Performance
  • Notes for AI
  • Related
View as Markdown
Arc

No account?Have an account?

Sign in to Arc

Use the passkey saved on this device. No password needed.

or

TermsPrivacy