# Marketing Comparison: Head To Head Tabs

Centered pill tabs switch between competitors, each pane pairing a verdict and three checked differences with a two by two grid of outcome stat tiles.

- Page: https://www.shadcn-ui-blocks.com/blocks/marketing-pro/comparison-sections/head-to-head-tabs
- Collection: [Marketing](https://www.shadcn-ui-blocks.com/blocks/marketing-pro), Standard tier
- Group: [Comparisons](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/comparison-sections)
- Created: 2026-07-04
- Preview image: https://www.shadcn-ui-blocks.com/blocks/marketing-pro/comparison-sections/head-to-head-tabs.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/marketing-pro-comparison-sections-head-to-head-tabs
```

Needs an API key from a Pro or Team plan: add `@shadcn-ui-blocks` to the registries in components.json with the key as an `Authorization: Bearer` header. Setup: https://www.shadcn-ui-blocks.com/docs/shadcn-cli. The MCP server installs it without the setup: https://www.shadcn-ui-blocks.com/docs/mcp.

## Depends on

- npm packages: class-variance-authority, lucide-react, radix-ui
- shadcn/ui components: tabs
- Installs to: `@/components/blocks/marketing-pro/comparison-sections/head-to-head-tabs`

## About this block

Head To Head Tabs lets the reader choose the fight. A centered header sits over
a row of pill tabs, one per competitor, and picking a tab swaps the pane
beneath it. Each pane is a two column layout: a verdict headline, a short
summary, and three checked differences on the left, with a two by two grid of
outcome stat tiles on the right that are specific to that matchup. A quiet link
to the full comparison closes every pane, so the block frames the argument
without pretending to end it.

The matchups live in one typed array, so competitors, verdicts, differences,
and stats all swap out without touching the layout, and adding a fourth rival
adds a fourth tab. It is built on the shadcn Tabs primitive, so keyboard and
focus behavior come for free, and the stat tiles read from each matchup so the
numbers always match the tab in view.

## When to use

Reach for this block when buyers arrive with a shortlist rather than a single
rival, and a one size fits all comparison would answer the wrong question. On a
comparison landing page for a project management tool it works well midway
through the story, letting a visitor weighing you against three tools jump
straight to the one that matters to them. The verdict headlines carry the
scan, so make each one a claim a reader could repeat to their team.

A natural flow around it on a Marketing Pro page:

**Before**

- [Heroes](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/hero-sections) to establish the product and
  its promise before the tab by tab breakdown begins
- [Feature Sections](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/feature-sections) so each verdict
  builds on strengths the page has already shown

**After**

- [Pricing](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/pricing-sections) to catch the buyer at the
  moment one matchup finally lands
- [Testimonials](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/testimonials) so a real switcher backs
  the verdict the reader just read

## What you can display

The obvious fit is your product against each named competitor. A few other ways
to use the frame:

- **Use case by use case.** Make the tabs scenarios instead of rivals, each
  pane showing how you handle that job better than the status quo.
- **Plan by plan.** Turn the tabs into your own tiers so a reader compares what
  each unlocks against the stat tiles that justify it.
- **Segment by segment.** Aim each tab at a buyer type, with verdicts and stats
  tuned to what that team cares about most.

> Tip: keep the four stat tiles in each pane a mix of cost, speed, and adoption
> so the grid reads as a rounded case rather than four spins on one number.

## More in Marketing Comparisons

- [Alternative Cards](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/comparison-sections/alternative-cards)
- [Before and After](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/comparison-sections/before-after)
- [Claim Check](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/comparison-sections/claim-check)
- [Comparison Hub](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/comparison-sections/comparison-hub)
- [Comparison with Quote](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/comparison-sections/comparison-with-quote)
- [Competitor Table](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/comparison-sections/competitor-table)
- [Cost Breakdown Bars](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/comparison-sections/cost-breakdown-bars)
- [Cost Comparison Chart](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/comparison-sections/cost-comparison-chart)
- [Dimension Rows](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/comparison-sections/dimension-rows)
- [Feature Checklist Table](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/comparison-sections/feature-checklist-table)
- [Feature Depth Matrix](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/comparison-sections/feature-depth-matrix)
- [Fewer Steps](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/comparison-sections/fewer-steps)
- [Grouped Bar Comparison](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/comparison-sections/grouped-bar-comparison)
- [Migration Coverage](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/comparison-sections/migration-coverage)
- [Old Way New Way](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/comparison-sections/old-way-new-way)
- [Performance Curves](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/comparison-sections/performance-curves)
- [Plan Match](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/comparison-sections/plan-match)
- [Pros And Cons Split](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/comparison-sections/pros-and-cons-split)
- [Quadrant Position Chart](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/comparison-sections/quadrant-position-chart)
- [Release Velocity](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/comparison-sections/release-velocity)
- [Review Scores](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/comparison-sections/review-scores)
- [Score Ring Cards](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/comparison-sections/score-ring-cards)
- [Side by Side Mockups](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/comparison-sections/side-by-side-mockups)
- [Switch Banner](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/comparison-sections/switch-banner)
- [Switch Reasons](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/comparison-sections/switch-reasons)
- [Switching Stories List](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/comparison-sections/switching-stories-list)
- [Tco Table](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/comparison-sections/tco-table)
- [Us vs Them Split](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/comparison-sections/us-vs-them-split)
- [Vs Competitor](https://www.shadcn-ui-blocks.com/blocks/marketing-pro/comparison-sections/vs-competitor)
