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
BlocksImport wizard

Import wizard

Pro

A CSV import that maps columns with confidence, highlights bad cells, rolls the issue counts down as you fix them, and imports in batches.

Live block · sample data

When to use

  • Bringing contacts or records in from CSV exports.
  • Onboarding that needs a customer's existing data.
  • Admin tools that bulk update records.

When not to use

  • Uploading files as attachments; use file-upload.
  • Mapping only, without validation; use import-mapper.
  • Live syncs with other tools; use integrations.

Installation

Pro source and install commands unlock with a Pro plan.

Usage

Use this wherever people bring data in from a spreadsheet. Describe your fields as targets with validators and safe fixes, send batches to your API through onImportBatch, and read the totals in onComplete; the preview simulates the import.

example.tsx
1import { ImportWizard } from "@/components/arc/blocks/import-wizard/import-wizard";2 3export function ImportContacts() {4  return (5    <ImportWizard6      batchSize={200}7      onImportBatch={records => fetch("/api/contacts/bulk", { method: "POST", body: JSON.stringify(records) })}8      onComplete={({ created, updated }) => toast(`${created + updated} contacts imported`)}9    />10  );11}
Built fromFile dropzoneSelectSegmented controlProgressAnimated counterInline edit

API reference

ImportWizard

A four step CSV import: drop a file and preview it, map columns with a confidence for every automatic match, fix invalid cells inline while the issue counts roll down, then import in batches and read the summary. The steps share one card that springs to each step's height.

PropTypeDefaultDescription
targetsImportTarget[]contact fieldsFields to map to, each with exact and synonym header names, a validator, an optional safe fix, and an optional value sniffer.
existingEmailsSet<string>sample setEmails that already exist; matching rows count as updates in the summary.
onImportBatch(records: ImportRecord[]) => void | Promise<void>–Imports one batch. Defaults to a simulation.
onComplete(result: { created: number; updated: number; skipped: number }) => void–Called once every batch is done.
batchSizenumber5Rows per batch.
noun[string, string]["contact", "contacts"]Singular and plural names used in copy.
classNamestring–Extra class on the root.

Keyboard interactions

EnterorSpace
Opens the file picker from the drop zone, or edits a review cell.
Enter
Saves a cell edit.
Escape
Cancels a cell edit.

Accessibility

  • The drop zone is a label for a real file input, so keyboard and screen reader users can choose a file.
  • Each mapping select is named after its source column; confidence is written as a percentage, not only a bar.
  • Invalid cells carry the error in their button label; issue counts update in a polite live region.
  • Import progress is a progressbar with current and total values.

Motion

  • Steps slide and blur in the direction of travel while the card springs to the new height.
  • Mapping resolves one column at a time and each confidence meter fills on the smooth spring.
  • Auto fix applies one cell every 90ms so counts roll down in a cascade; fixed rows glow green and slide out of the issues view.
  • Summary numbers count up once. Reduced motion shows final values at once.

Responsive behavior

  • The stepper shows only the current label on phones.
  • Mapping rows stack below 560px.
  • The review table scrolls sideways inside its card.

Performance

  • Validation is memoized and runs over rows times mapped columns.
  • Only rows in view animate; the preview shows five rows.

Notes for AI

Give your coding assistant the Markdown reference instead of screenshots.

  • Choose this for importing contacts, products, users or any tabular data from spreadsheets.
  • Describe your schema as targets; validators return a message and fix returns a safe cleaned value, which powers the auto fix button.
  • Rows with unresolved issues are skipped, not blocked, so people can import the good rows now.
  • Parsing handles quoted fields; for files over 5,000 rows parse on the server or in a worker.
/components/blocks/import-wizard/markdown

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

Related

File uploadBlockA complete file selection flow with constraints, progress, and error feedback.File dropzoneComponentA generous target for dropping one or more files.Multi-step formProBlockA guided form that presents one decision at a time and preserves progress.Data gridProComponentA spreadsheet grid with range selection, inline editing, a fill handle, and animated sorting.
PreviousAI inline editNextKPI drilldown
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

Step 01234567891 of 4

Upload a file

A CSV with a header row. Up to 5,000 rows.