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

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 holeProSlide to confirmNewProCharge 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
BlocksLead scoring

Lead scoring

Pro

A lead scoring card where inbound B2B leads are ranked by an AI fit score, each with a score ring and a one-line reason. Open a lead to see its signals and score breakdown, then push it to HubSpot or Salesforce.

Live block · sample data

When to use

  • A sales inbox or SDR queue that ranks new inbound leads by fit.
  • Showing why a model scored a lead, with signals and a weighted breakdown.
  • Handing a qualified lead to HubSpot or Salesforce from the same view.

When not to use

  • Large tables of hundreds of leads with filters and bulk edits; use a data table.
  • Enriching columns of company data; use enrich-column.
  • Tracking the health of existing customers; use account-health.

Installation

Pro source and install commands unlock with a Pro plan.

Usage

Pass your leads newest first, each with a weighted `breakdown`, so the ring and the bars always agree (or set `score` directly). Mark a lead `scoring` while your model works on it. Wire `onPush(lead, crm, signal)` to your backend: resolve for the done state, reject for the error and retry state. `crms` picks the destinations, and `sort`/`onSortChange` control the order. `onRescore` shows a rescore button. With no props it plays a short intro once it scrolls into view: scores land, the list re-sorts by score, the top lead opens and is pushed to HubSpot. Every push in the demo is simulated.

example.tsx
1import { LeadScoring } from "@/components/arc/blocks/lead-scoring/lead-scoring";2 3export function InboundLeads({ leads }: { leads: Lead[] }) {4  return (5    <LeadScoring6      leads={leads}7      onPush={async (lead, crm, signal) => {8        const res = await fetch(`/api/crm/${crm}/leads`, { method: "POST", body: JSON.stringify({ id: lead.id }), signal });9        if (!res.ok) throw new Error("Push failed");10      }}11    />12  );13}
Built fromButtonSegmentedControlTextShimmerTooltip

API reference

2 parts. The first is the root.

LeadScoring

A card of inbound leads ranked by an AI fit score. Each row shows the company mark, the person, a score ring and the model's one-line reason; opening a row shows signal chips, the weighted score breakdown and a push to HubSpot or Salesforce. With no props it plays a short intro on first view with sample leads and simulated pushes.

PropTypeDefaultDescription
leadsLead[]leadScoringSamplesLeads to show, newest first. Each lead has id, name, title, company, mark, received, reason, and optional signals, breakdown, score, scoring and pushedTo.
titlestring"Inbound leads"Card title.
descriptionReactNode–Line under the title. Defaults to the scoring model and the lead count.
sort"score" | "newest"–Controlled sort. Newest keeps the array order.
defaultSort"score" | "newest""newest" while auto playing, else "score"Starting sort when uncontrolled.
onSortChange(sort: LeadSort) => void–Called when the sort control changes.
crmsLeadCrmId[]["hubspot", "salesforce"]CRMs a lead can be pushed to. The first is the default destination; one entry hides the picker.
onPush(lead: Lead, crm: LeadCrmId, signal: AbortSignal) => Promise<void>–Creates the contact and deal. Resolve for the done state, reject for the error state with a retry. The signal aborts on unmount. Without it pushes are simulated and announced as such.
onRescore() => void–Shows a rescore button. Mark leads scoring while you rescore them. The sample demo rescores on its own.
autoPlaybooleantrue for sample dataPlays the intro once when the card scrolls into view: scores land, the list sorts by score, the top lead opens and is pushed to the first CRM.
defaultExpandedIdstring | nullnullLead open on first render.
classNamestring–Class on the card.

Lead

One inbound lead.

PropTypeDefaultDescription
idRequiredstring–Stable id, used as the React key and for push state.
nameRequiredstring–Person's name.
titleRequiredstring–Job title. Hidden in the row on narrow cards.
companyRequiredstring–Company name.
markLeadCompanyMarkId | ReactNode–"vercel", "ramp", "linear", "notion", "retool", "figma", or your own 20px logo node. Falls back to a monogram.
receivedRequiredstring–Arrival time, already formatted ("6m ago").
reasonRequiredstring–The model's one-line reason for the score.
signals{ kind: LeadSignalKind; label: string }[]–Chips in the open row. Kinds: pricing, team, hiring, email, demo, stack, docs, repo, security.
breakdown{ id: string; label: string; value: number; weight: number }[]–Score factors, 0 to 100, with weights that add up to 1. The score is their weighted sum unless score is set.
scorenumber–0 to 100. Overrides the breakdown sum.
scoringboolean–Still being scored: the ring spins and the reason shimmers.
pushedToLeadCrmId[]–CRMs the lead already lives in. Shows Synced in the row.

Keyboard interactions

Tab
Moves through the sort control, rescore, each lead row and the open row's controls.
EnterorSpace
Opens or closes the focused lead.
ArrowDownorArrowUp
Moves focus between lead rows.
HomeorEnd
Jumps to the first or last lead row.
ArrowLeftorArrowRight
Switches the CRM destination inside the open row.

Accessibility

  • Each row is a button with aria-expanded and aria-controls; its label reads name, title, company, score, fit band and the reason.
  • The score ring is decorative; the number and the fit band are in the row label and the breakdown list label.
  • Status is never color alone: done and error states pair an icon with a short label.
  • The CRM picker is a radio group with roving focus and named options.
  • A polite live region announces pushes, errors and rescoring, and says when a push was simulated.

Motion

  • Re-sorting glides each row to its new place with a bounce-free spring (position only, text is never scaled).
  • The ring arc and number share one motion value, so they count up together in about 640ms with tabular numerals.
  • Opening a row springs the measured height with no bounce; breakdown bars grow with a 30ms stagger.
  • Time, synced, reason and status swaps are single crossfades in a fixed slot, so nothing changes size.
  • The scoring spinner pauses off screen. Reduced motion keeps every end state and drops travel, counting and the spinner.

Responsive behavior

  • Fits 360px to 640px. Below 460px the job title leaves the row, details start at the card edge and the push button fills the row.
  • Names, roles and reasons truncate with an ellipsis; scores and times keep fixed slots.

Performance

  • Designed for a short queue of 5 to 20 leads; every row is rendered.
  • Ring counting runs on motion values without React renders.

Notes for AI

Give your coding assistant the Markdown reference instead of screenshots.

  • Use for ranking inbound leads, trial signups or accounts by an AI fit score with a reason and a CRM handoff.
  • Pass leads newest first; let the score come from a weighted breakdown so the bars and the ring always agree.
  • Keep the reason to one short line of evidence (funding stage, team size, intent), not a paragraph.
  • Wire onPush to your backend; never call a CRM from the client with secret keys.
/components/blocks/lead-scoring/markdown

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

Related

Account healthProBlockA customer success card where a health score gauge, a renewal countdown and five sourced signals with sparklines lead into an AI risk summary and one recommended next step, like scheduling a QBR before usage slips further.Enrich columnProComponentAn AI enrichment column for a data table, where one prompt runs down every row and each cell shimmers while it works, then settles into a value with its source or a failure you can retry.Call insightsProBlockA sales call insights card where talk time, flagged pricing, competitor and objection moments, an AI summary and owned next steps sit in one view. Selecting a moment plays its quote, and checking off next steps lowers the deal risk.Agent approvalsProBlockOne approval card for agents: the waiting tool call reads like a permission prompt with the tool's mark, the agent's reason and its arguments, and you approve, deny or allow it from now on.Connector setupProComponentA "Connect your tools" card for an AI assistant. Each app connects inline: it redirects, authorizes and runs a first sync with a progress hairline, then lists the scopes it was granted and offers Disconnect with an inline confirm.
PreviousCall insightsNextDomain verify
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

Inbound leads

Scoring 6 leads with Claude Sonnet 5.5