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
BlocksJourney flow

Journey flow

Pro

A Sankey of user journeys whose flows morph by channel and trace a cohort on hover.

Live block · sample data

Journeys to a paid plan

16,96516,96501234567890123456789,012345678901234567890123456789 visits in August, followed from first session to plan

All users: 16,965 visits and 1,020 paid plans.

VisitAccountSetupFirst weekPlanVisited16,965Signed up5,275 · 31%Bounced11,690 · 69%Onboarded3,952 · 23%Dropped1,323 · 8%Activated2,525 · 15%Stalled1,427 · 8%Paid1,020 · 6%Free2,932 · 17%

All users

Select a step to see where its users came from and went next

1,0201,0200123456789,012345678901234567890123456789

6.0%6.0%0123456789.0123456789%of visitors started a paid plan

Largest drop-offs

  • Bounced after visiting11,69011,69001234567890123456789,01234567890123456789012345678968.9%68.9%01234567890123456789.0123456789%
  • Dropped during setup1,3231,3230123456789,01234567890123456789012345678925.1%25.1%01234567890123456789.0123456789%

Plan after setup

  • Paid1,0201,0200123456789,01234567890123456789012345678925.8%25.8%01234567890123456789.0123456789%
  • Free2,9322,9320123456789,01234567890123456789012345678974.2%74.2%01234567890123456789.0123456789%

When to use

  • Showing where users go between funnel stages, such as visit to signup to activation.
  • Comparing flows across acquisition channels with a segment switch.
  • Tracing one step to see which paths lead into and out of it.

When not to use

  • Use cohort-retention to show how groups retain over time.
  • Use bar-chart for a simple linear funnel without branching paths.
  • Use metrics-dashboard for a general KPI overview.

Installation

Pro source and install commands unlock with a Pro plan.

Usage

Use this to show where users go between funnel steps on an analytics page. Replace the link counts in journey-flow-geometry.ts with your own; layout, tracing and rates are computed from them.

example.tsx
1import { JourneyFlow } from "@/components/arc/blocks/journey-flow/journey-flow";2 3export default function FunnelPage() {4  return <JourneyFlow className="funnel" />;5}

API reference

JourneyFlow

A Sankey of trial journeys across funnel stages. A channel switch morphs every band, hovering a step or band traces that cohort through the whole journey with a tooltip, and selecting a step pins its breakdown in a side panel with rolling counts. A data table toggle shows the same numbers. Nodes, links, and per-segment counts are sample data in journey-flow-geometry.ts.

PropTypeDefaultDescription
classNamestring–Appended to the root element.

Keyboard interactions

Arrow keys
In the segment switch, move between channels. On steps, Up/Down moves within a stage and Left/Right to the nearest step in the next or previous stage.
HomeorEnd
Jump to the first or last step.
EnterorSpace
Selects a step to trace its flows.
Escape
Clears the traced step.

Accessibility

  • Segments form a role="radiogroup"; steps sit in a role="toolbar" with roving tabIndex and aria-pressed.
  • The diagram is role="img" with a text summary; each step button's label includes its users and share of visitors.
  • A polite live region announces visits and paid plans when the channel changes.
  • The breakdown panel is a labelled aside, and the data table toggle exposes aria-expanded for a non-visual reading of the chart.

Motion

  • Ribbons morph their widths on a spring slightly slower than a control when the segment changes; counts follow a beat later and never overshoot.
  • Tracing dims everything outside the cohort; panel text settles with a short rise and digits roll in place.
  • Reduced motion swaps the morph for an instant change with an opacity fade.

Responsive behavior

  • From an 860px container the detail panel sits beside the chart at 280px; below that it moves under the chart.
  • Below 560px the segment switch fills the width and padding tightens, and below 480px step labels shrink to 10 to 11px.
  • A ResizeObserver feeds the chart width, so ribbons re-lay out on resize rather than scaling.

Performance

  • Ribbons are SVG paths computed from 13 sample nodes; very large graphs with many stages will get crowded and slower to morph.
  • Segment changes morph ribbon widths on springs, with no loop running at rest.

Notes for AI

Give your coding assistant the Markdown reference instead of screenshots.

  • Use to show where users go between funnel steps on an analytics page.
  • Replace NODES, STAGES, LINKS and SEGMENTS in journey-flow-geometry.ts with your counts; layout, tracing and percentages are computed.
  • No callbacks; selection is internal.
/components/blocks/journey-flow/markdown

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

Related

Metrics dashboardProBlockA complete product analytics app on the screen shell, with sites, saved views, a date range and filters. It has KPI tabs over one chart you can drag to zoom, breakdowns by page, source, location and device, goals, sortable tables, and a detail panel for any row.Cohort retentionProBlockA cohort retention triangle that morphs into retention curves and rewashes by segment.Revenue explorerProBlockA SaaS revenue chart you zoom with a brush while paths, axes and figures glide to the range.Segmented controlComponentSwitch between a small set of related views.
PreviousRevenue explorerNextEmpty states
Arc · 122 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