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
BlocksComparison table

Comparison table

An us versus them table with a sticky header, a highlighted column, and a stacked phone view.

$pnpm dlx shadcn@latest add @uiarc/comparison-table
Live block · sample data

When to use

  • Showing how your product stacks up against named alternatives.
  • Feature matrices with three to five columns and grouped rows.

When not to use

  • Use plan-comparison to compare your own pricing tiers.
  • Use a sortable data table for large datasets.

Installation

Add Comparison table with the shadcn CLI, or copy the source by hand.

$pnpm dlx shadcn@latest add @uiarc/comparison-tablepnpm dlx shadcn@latest add @uiarc/comparison-table

Adds the block and its local dependencies, and installs motion, lucide-react. First time? Add the @uiarc registry to components.json, or use the full URL:

Usage

Use this on a pricing or alternatives page. Describe your columns and feature rows in comparison-table-data.ts, mark your product with highlight, and point the cta at signup; stickyTop offsets the header under a fixed site header.

example.tsx
1import { ComparisonTable } from "@/components/arc/blocks/comparison-table/comparison-table";2 3export function Alternatives() {4  return (5    <ComparisonTable6      columns={[7        { id: "us", name: "Relay", caption: "$10 per seat", highlight: true },8        { id: "them", name: "Legacy suite", caption: "$24 per seat" },9      ]}10      sections={[{ id: "core", title: "Core", rows: [11        { id: "offline", feature: "Offline mode", values: { us: true, them: false } },12        { id: "sso", feature: "SSO", values: { us: true, them: { value: "partial", note: "Enterprise plan" } } },13      ] }]}14      cta={{ label: "Start free trial", href: "/signup" }}15      stickyTop={64}16    />17  );18}
Built fromSwitchButton

API reference

ComparisonTable

An us versus them table with sections, check, partial and not included marks, a tinted band behind your column, a sticky frosted header, a differences only switch, and a stacked two column view on phones.

PropTypeDefaultDescription
columnsComparisonColumn[]–Products to compare. Mark yours with highlight: true.
sectionsComparisonSection[]–Grouped feature rows. Values: true, false, "partial", a string, or { value, note }.
titlestring"How Relay compares"Section heading.
descriptionstring–Line under the heading.
differencesOnlyboolean–Hide rows where all visible columns match (controlled).
defaultDifferencesOnlybooleanfalseInitial switch state when uncontrolled.
onDifferencesOnlyChange(value: boolean) => void–Called when the switch flips.
compareWithstring–Competitor shown beside yours in the stacked phone view (controlled).
onCompareWithChange(id: string) => void–Called when a competitor is picked on phones.
cta{ label: string; href?: string; onClick?: () => void; doneLabel?: string }–Button at the foot of your column. doneLabel morphs in after a click.
stickyTopnumber0Offset for the sticky header, such as a fixed site header height.
maxHeightnumber | string–Caps the table height and scrolls it inside the block with the header pinned.
stackBelownumber640Block width below which the phone view takes over.
classNamestring–Extra class on the section.

Keyboard interactions

Tab
Moves to the differences switch, the phone competitor picker, and the call to action.
Space
Flips the differences switch.

Accessibility

  • Built with table, row, columnheader, rowheader and cell roles, so screen readers navigate it as a table.
  • Marks have text alternatives: Included, Partial (with its note), Not included.
  • The switch is a real checkbox with role switch; a polite live region says when rows are filtered.
  • Meaning never relies on color: checks, half circles and dashes differ in shape, with a legend.

Motion

  • Checks in your column draw in once, staggered down the table, when they scroll into view.
  • Differences only collapses matching rows on the smooth spring and closes the gap.
  • Picking a competitor on phones swaps its header and marks with a small pop.
  • The call to action morphs its label to the done state.
  • Reduced motion shows every mark at once and swaps collapses for instant changes.

Responsive behavior

  • Below 640px (stackBelow) it shows your column beside one competitor with a picker above.
  • Column widths are fractions, so it never scrolls sideways.

Performance

  • A width observer switches layouts; no per frame work while scrolling.
  • Row collapses animate height only on rows that change.

Notes for AI

Give your coding assistant the Markdown reference instead of screenshots.

  • Use this for a /compare or /alternatives page or under pricing.
  • Keep competitor names generic or factual; values should be verifiable.
  • Set stickyTop to your fixed header height; use maxHeight only when embedding the table in a panel.
/components/blocks/comparison-table/markdown

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

Related

Plan comparisonBlockCompare meaningful differences between plans and billing periods.Pricing calculatorProBlockA seat slider and billing toggle drive plan cards with rolling prices and a moving recommended badge.Usage pricingProBlockA pricing calculator that finds your plan as you drag seats and traffic.FAQ sectionBlockFAQs as an accordion, a topic rail, or a searchable list that highlights matches.

More like this in Pro

Explore Pro
Scroll storyProBlockA feature section where scrolling the copy drives a pinned product view through each step.Spotlight gridProBlockA feature grid where light follows the pointer, cards play live demos, and a click morphs a card into its detail.Feature bentoProBlockA six cell feature bento where small, real product UI acts each feature out on hover.
PreviousBlog gridNextFeature bento
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

How Relay compares

Everything a growing team needs, without the enterprise price or the spreadsheet sprawl.

Feature
Relay$10 per seat
Legacy suite$24 per seat
SpreadsheetsFree
Point tools$16 per seat
Planning
Projects
Unlimited
Up to 50
Unlimited
Up to 10
Timelines and roadmaps
Included
Included
Not included
PartialTimeline only
DependenciesBlocked work moves when its blocker does
Included
Included
Not included
Not included
Templates
Included
Included
PartialManual copies
Included
Collaboration
Real time editing
Included
Not included
Included
Included
Free guest access
Included
Not included
Included
PartialFive guests
Comments and mentions
Included
Included
Included
Included
Offline modeEdits sync when you reconnect
Included
Not included
PartialDesktop app only
Not included
Automation
Rules and triggers
Included
Included
Not included
PartialPaid add on
AI summaries
Included
Not included
Not included
Not included
Public API
Included
Included
Included
Included
Security
SAML single sign on
Included
Included
PartialEnterprise plan
Not included
Audit log
Included
Included
Not included
Not included
EU data residency
Included
PartialEnterprise plan
Included
Not included
IncludedPartialNot included

Showing all rows