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
ScreensProduct detail

Product detail

Pro

A product page in a store admin. You edit photos, variants and stock per location, open any variant in a side panel to change price, cost and stock, follow sales by day, and preview the unsaved draft in the store.

Live screen · 1440 × 900

When to use

  • Store admins where one product has a few finishes and sizes, stock in more than one location, and sales worth watching.
  • Showing how a product edit will look in the store before saving.

When not to use

  • Only the customer facing product page; this screen is for the people who run the store.
  • Catalogs with hundreds of variants per product; use a data grid for the variants.
  • Browsing many products; use product-listing.

Installation

Pro source and install commands unlock with a Pro plan.

Usage

Use this as the product page of a store. Pass the product with its finishes, sizes and stock, return your cart request from onAddToCart, and send back in stock alerts through onNotify.

example.tsx
1import { ProductDetail } from "@/components/arc/blocks/product-detail/product-detail";2 3export function ProductAdmin({ product, insights }) {4  return (5    <div style={{ height: "100dvh" }}>6      <ProductDetail7        product={product}8        insights={insights}9        onSave={draft => fetch(`/api/products/${product.id}`, { method: "PUT", body: JSON.stringify(draft) })}10        onStockChange={(variant, location, units) => setInventory({ variant, location, units })}11      />12    </div>13  );14}
Built fromCarouselRadio groupNumber fieldAccordionButton

API reference

2 parts. The first is the root.

ProductDetail

A store admin product screen inside the Arc screen shell: photos you drag to reorder, title, status, description and tags, a variants list with photo thumbnails and stock status icons that opens each variant in a side panel for price, cost, stock per location and identifiers, inventory by location with an incoming transfer and history, sales analytics with recent orders, and a storefront preview of the unsaved draft. The sidebar lists recently edited products with their photo and stock, so you can hop between product pages.

PropTypeDefaultDescription
productDetailProductsample lampThe product with finishes, sizes, reviews, shipping lines, and detail sections. Every finish and size pair becomes a variant.
insightsDetailInsightssample storeAdmin data: SKU, vendor, tags, status, locations, stock per variant and location, committed units, 30 day sales per variant, cost per size, daily units and views, traffic sources, channels, orders, history, and an incoming transfer. Every field is optional.
defaultFinish, defaultSizestringfirst finish and sizeThe variant selected first in the panel and the storefront preview.
defaultView"overview" | "inventory" | "analytics" | "storefront""overview"The tab shown first.
onSave(draft: DetailDraft) => void | Promise<void>–Saves content edits (title, description, status, tags, channels, photo order, variant prices, cost, SKU, barcode, tracking). Return a promise to show Saving; a rejection keeps the changes and says so. Without it the preview simulates a short request.
onStockChange(variant: string, location: string, units: number) => void–Called after every stock change. Stock applies right away and is logged in the history; it never waits for Save.
onAddToCart(selection: DetailSelection) => void | Promise<void>–Storefront preview: adds the selection. Return a promise to show Adding until it settles; a rejection shows Try again.
onNotify(selection) => void–Storefront preview: someone asked to be told when a sold out finish and size is back.
onWishlistChange(saved: boolean) => void–Storefront preview: the heart was toggled.
defaultCartCountnumber0Storefront preview: items already in the bag.
maxQuantitynumber9Storefront preview: upper bound of the quantity stepper.
storeNamestring"Fernhill"Workspace name in the sidebar and breadcrumbs.
recentProductsDetailRecentProduct[]five sample productsThe sidebar's recently edited list: { id, name, image, status, available? }. The product on screen joins the top, drawn from the draft. Stock shows as a number, "3 left" in the warning colour, or "Sold out"; drafts say so.
currency, localestring"USD", "en-US"Price and date formatting.
classNamestring–Extra class on the root.

DetailProduct

PropTypeDefaultDescription
id, name, collection, summaryRequiredstring–Identity, collection, and a one or two sentence description.
finishesRequired{ id, name, swatch, images }[]–Each finish has its own photos; the storefront gallery shows the chosen finish's photos in the editor's order.
sizesRequired{ id, name, price, note?, soldOutIn? }[]–Starting price per size. soldOutIn seeds zero stock for those finishes when insights.stock leaves a variant out.
rating, reviewCount, distributionRequirednumber, number, [5 numbers]–Average, total, and counts for 5 to 1 stars.
shipping, sectionsRequired{ title, text }[], { id, title, body }[]–Storefront delivery lines and accordion sections.

Keyboard interactions

Cmd SorCtrl S
Save the draft.
JorK
Select the next or previous variant; the panel follows.
Arrow uporArrow down
In the variants list, move the selection. Enter opens the variant panel on narrow frames.
Arrow leftorArrow right
Move between tabs, segmented options and photos. With Alt on a photo, move it in the order; Delete removes it.
Arrow uporArrow down in a number field
Step stock by one.
Arrow leftorArrow right on the chart
Read each day's value.
Cmd K
Search the sidebar (from the screen shell).

Accessibility

  • Tabs are a tablist with roving focus; segmented controls and status are radiogroups; channel and tracking toggles are switches.
  • The variants list is a listbox with aria-activedescendant, so arrow keys move the selection without moving focus.
  • Stock steppers are labelled groups with a typed field; the stock table uses table roles and becomes labelled cards on phones.
  • Stock levels always pair the coloured dot with text (In stock, Low, Sold out, Backorder).
  • The chart is focusable and reads each day with the arrow keys through a live tooltip.
  • Toasts and the save state are announced through a polite live region.

Motion

  • One opacity crossfade per tab change and per variant change in the panel; keyboard changes land instantly.
  • The tab underline and segmented fills glide on the snappy spring for the pointer and jump for the keyboard.
  • Photos reorder on the smooth spring while dragged; stock and traffic bars resize on a spring; totals count to their new values.
  • Save morphs through Saving and Saved in a fixed width. Buttons press to 0.97; hover fills are instant.
  • Reduced motion removes every transition and shows final values.

Responsive behavior

  • From 1080px the variant panel docks beside the page; below that it is a sheet that opens when you pick a variant.
  • Below 900px the sidebar becomes a sheet; below 700px of page width the photos and details stack and the stats go two by two.
  • Below 600px variants become two line rows, stock becomes labelled cards and header buttons drop their labels.
  • The storefront preview switches between a desktop width and a 390px phone width.

Performance

  • Views render only the active tab; photos use next/image at their shown sizes.
  • Bars animate transform only; consecutive stock changes to one cell fold into a single history entry.

Notes for AI

Give your coding assistant the Markdown reference instead of screenshots.

  • Use as the product page of a store admin. Pass real stock per location and daily sales in insights; omit what you do not have.
  • Content edits wait for onSave; stock changes call onStockChange immediately, like a real inventory system.
  • The storefront tab previews the draft, including unsaved prices, photo order and sold out variants.
  • Give the screen a definite height (a full viewport or a fixed frame); it never scrolls the page, only its own regions.
/components/screens/product-detail/markdown

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

Related

Product listingProBlockA store admin products screen with collections and sales channels, status tabs, filters, a photo grid or a list you can drag to reorder, and live inventory totals. A details panel edits price, stock per size, status and channels in place, and selected products get bulk actions with undo.Cart drawerProBlockProducts fly into the cart, counts roll, and a drawer handles quantities, shipping progress, and checkout.
PreviousProduct listingNextInvoice studio
Arc · 14 screensllms.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