Arc
ComponentsBlocksScreensDocsPricingTry the demo
Get Pro
Saved

Docs

IntroductionInstallationThemingMotionAI and MCPChangelog

Components139

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 rangeProLens rangePro

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

BeeswarmProSunburstProSankey flowProFunnel chartProRadar chartProRealtime streamProRace bar chartProChord diagramNewProData gridPro

Sortable data tableTree tableTree viewReorderable listFilter toolbarCode blockJSON viewer

TimelineComment threadChat thread

Image compareCarouselCard stack

Text revealIn-view titleText morphText shimmerWave text

Blocks128

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 wizardProEnvironment variablesProCode reviewProDomain 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 signupProAurora heroNewPro

Scroll storyProSpotlight gridProFeature bentoProComparison tableZoom into UINewPro

Logo marqueeStudio perspectivesProStats bandLogo fieldPro

Changelog feedFAQ sectionContact sectionTeam showcaseProBlog gridManifesto scrollNewPro

Site headerSite footerFooter marqueeProCTA sectionNewsletter signup

Activity terrainProRevenue globeProCustomer galaxyProSemantic zoomProLayout morphProExploded viewPro

Screens14

Metrics dashboardProMarket terminalPro

Kanban boardProProject boardProGantt timelinePro

Week calendarProMonth calendarPro

Team directoryPro

Inbox triageProSupport conversationProHelp centerPro

Product listingProProduct detailProInvoice studioPro

Special components118

Share sheetProAction morphProMorph navProDockProLiquid tab barProOrbit menuProGooey menuPro

Glass menuProGlass segmentedProGlass cardProGlass tab barPro

Sheet stackProWallet stackProControl centerProHolo cardProCard to articleProLink unfurlPro

Product galleryProLightbox galleryProPhoto gridProCover flowProInfinite moodboardProGradient meshPro

Voice orbProNow playingProVoice recorderPro

Booking pillProActivity ringsProTime dialProDate reelPro

Keycap keyboardProSlot textSand textProCode magic moveProTypewriter terminalPro

Stretch refreshProFeedback morphProMorph loaderProSkeleton morphProCelebrate buttonProBlack holeProSlide to confirmProCharge sessionProArming switchProPadlock toggleProDot matrix loaderPro

Sticker peelProTicket tearProPage curlProOrbit logosProPrize wheelProSpoiler dustPro

Dot gridProImage trailProGravity wellProInk fluidProGesture onboardingProCursor 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
BlocksLive checkout

Live checkout

Pro

A subscription checkout whose summary recomputes as you edit, then glides to the centre and unfolds into a receipt.

Live block · sample data

When to use

  • Upgrade from a free plan to a paid team plan.
  • Paid signup where seats and add-ons change the price.
  • A self serve checkout that needs coupons and tax by country.

When not to use

  • A physical goods cart with shipping; use checkout-flow.
  • Only showing totals without payment; use checkout-summary.
  • Comparing plans before choosing; use plan-comparison.

Installation

Pro source and install commands unlock with a Pro plan.

Usage

Use this as the paid signup or upgrade step of a SaaS app. Load plans, add-ons and tax rates from your billing provider, check coupons on your server through validateCoupon, and charge through onPay with your payment SDK; the preview simulates payment.

example.tsx
1import { CheckoutLive } from "@/components/arc/blocks/checkout-live/checkout-live";2 3export function UpgradePage() {4  return (5    <CheckoutLive6      defaultPlan="team"7      defaultSeats={12}8      validateCoupon={code => fetch(`/api/coupons/${code}`).then(r => r.json())}9      onPay={async order => {10        const res = await fetch("/api/subscribe", { method: "POST", body: JSON.stringify(order) });11        if (!res.ok) throw new Error("Your card was declined. Try another card.");12      }}13    />14  );15}
Built fromSegmented controlCheckboxInputButtonAnimated counter

API reference

CheckoutLive

A subscription checkout with a live order summary. Plan, seats, billing period, add-ons, coupon and country recompute every line and the tax as you edit, and every amount rolls to its new value. On success the form steps aside and the summary glides to the centre and unfolds into a receipt.

PropTypeDefaultDescription
plansPlan[]sample plansPlans with an id, name, monthly seat price in cents, and a short blurb.
addonsAddon[]sample add-onsOptional add-ons with a flat monthly price in cents.
countriesCountry[]sample countriesBilling countries with a tax rate, tax label, postal code pattern, and a hint shown when the postal code does not match.
defaultPlanPlanId"team"Plan selected on mount.
defaultSeatsnumber8Seats on mount, from 1 to 500.
defaultBilling"monthly" | "yearly""yearly"Billing period on mount.
defaultAddonsstring[]["support"]Add-on ids selected on mount.
yearlyDiscountnumber0.2Discount for yearly billing, from 0 to 1. Shown on the billing toggle.
currencystring"USD"ISO currency code used to format every amount.
validateCoupon(code: string) => CouponResult | Promise<CouponResult>sample rulesChecks a coupon. Return { ok: true, code, percent } or { ok: false, message }. The sample accepts LAUNCH20 and TEAM10.
onPay(order: CheckoutOrder) => void | Promise<void>–Charges the order. Throw an Error to show its message above the pay button. Without it the preview simulates payment and declines 4000 0000 0000 0002.
classNamestring–Extra class on the root.

Keyboard interactions

Tab
Moves through express pay, plan, seats, add-ons, fields and pay.
Arrow keys
Move between plans inside the plan group.
Enter
Submits the form, or applies the coupon from the coupon field.
Escape
Closes the coupon field.

Accessibility

  • Plans and billing period are radio groups with aria-checked; add-ons are real checkboxes.
  • Errors are tied to their inputs with aria-describedby and aria-invalid, and a failed submit focuses the first invalid field.
  • Rolling amounts keep the full value in visually hidden text, so screen readers never hear single digits.
  • On success focus moves to the receipt heading; payment errors use role alert.

Motion

  • Every amount rolls digit by digit on the snappy spring; add-on and discount lines open and close their height on the smooth spring.
  • On success the form fades aside and the summary glides to the centre with one position spring, while the coupon folds away and receipt details unfold.
  • The selected plan ring and billing pill travel between options as shared layout highlights.
  • Reduced motion keeps every state and swaps travel for instant changes.

Responsive behavior

  • Two columns with a sticky summary from 760px of frame width.
  • Below that the summary sits on top as a collapsible total; plans stack below 520px.
  • The receipt is a single centred column at every width.

Performance

  • Only the changed digits animate; lines are plain DOM.
  • Validation runs on each change for a handful of fields, so it stays cheap.

Notes for AI

Give your coding assistant the Markdown reference instead of screenshots.

  • Choose this for a SaaS upgrade or paid signup where plan, seats and add-ons are chosen on the same page as payment.
  • Prices are cents per month; yearly totals are derived with yearlyDiscount. Keep tax and coupon math on your server and treat the client numbers as a preview.
  • Replace the card inputs with your payment provider's hosted fields in production; keep the layout and validation feedback.
  • Below 760px of frame width the summary moves above the form and collapses to a total you can expand.
/components/blocks/checkout-live/markdown

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

Related

Checkout summaryProBlockAn order summary with a promo code that becomes a chip, discount and tax lines, and pay button states.Pricing calculatorProBlockA seat slider and billing toggle drive plan cards with rolling prices and a moving recommended badge.Plan comparisonBlockCompare meaningful differences between plans and billing periods.
PreviousSettings commandNextUsage billing
Arc · 128 block pagesllms.txt

On this page

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

Express checkout

Or pay with card

Plan

Add-ons

Billing details

Card

Simulated payment. No card is charged.

Order summary

  • Team plan8 seats × $19.20 × 12 months
    $1,843.20$0123456789,012345678901234567890123456789.01234567890123456789
  • Priority supportBilled yearly
    $470.40$012345678901234567890123456789.01234567890123456789
Subtotal
$2,313.60$0123456789,012345678901234567890123456789.01234567890123456789
VAT 19%
$439.58$012345678901234567890123456789.01234567890123456789
Due today
$2,753.18$0123456789,012345678901234567890123456789.01234567890123456789