Skip to content
WingoUI
ComponentsTemplatesDocsPricingAI agentsBlogChangelogContact
Components
Buttons & Actions
ButtonButton GroupCopy ButtonDelete ButtonTheme ToggleToggleToggle Group
Inputs
Avatar UploadCalendarCheckboxColor PickerComboboxCountry SelectCron PickerCurrency InputDate PickerDate Range PickerDate Time PickerDuration PickerEmail InputEmoji PickerFile UploadFilter BuilderInputInput GroupListboxMasked InputMention InputMonth PickerMulti SelectNumber InputOTP InputPassword InputPhone InputRadio GroupRatingSearch InputSegmented ControlSelectSignature PadSliderSwitchTag InputTextareaTime PickerTimezone SelectTree Select
Forms
Address InputBooking WidgetCSV ImportFieldForm WizardInline EditInvoice line itemsRich Text EditorSchema Builder
Navigation
Back To TopBounce SidebarBreadcrumbCommand MenuGlobal SearchGooey NavHook SidebarNav MenuNav TabsPaginationProximity SidebarScroll ProgressSidebarStepsTable Of ContentsTabsTopbarUser MenuWorkspace Switcher
Overlays
Alert DialogContext MenuDialogDrawerDropdown MenuFamily DrawerHover CardPopoverShare DialogSheetShortcuts DialogTooltipTour
Feedback
AlertBannerCookie ConsentEmoji ReactionEmpty StateNotification BellNotification CenterProgressRoute ProgressSetup ChecklistSkeletonSpinnerToast
Data Display
Approval FlowAvatarBadgeCalendar ViewCode BlockComment ThreadContact cardCountdownDescription ListDiff ViewerFile ListFile managerFolderGanttJSON ViewerKbdLog ViewerMarkdownPresenceSchedulerTagTimelineTree View
Tables & Lists
Audit LogData TableDeal PipelineEditable GridKanbanListMembers tablePermissions MatrixTableTask ListVirtual List
Charts & Stats
Animated CounterArea chartBar chartDonut chartFunnel chartGaugeGitHub ActivityHeatmap calendarLeaderboardLine chartRadar chartRadial barSparklineStat CardTrackerTrend badge
Layout
AccordionApp ShellCardCollapsibleDetail LayoutEntity HeaderPage HeaderScroll AreaSeparatorSettings LayoutSplit ViewToolbar
Media
Audio PlayerCarouselCSV ViewerDOCX EditorDOCX ViewerExcel ViewerFile SystemImage compareImage CropperImage GalleryImage LightboxLocation MapPDF ViewerPowerPoint ViewerQR CodeStep PlayerVideo Player
AI Kit
Agent Status CardChat MessageChat ThreadChat WidgetConversation ListFluid OrbGrid RevealMatrix OrbModel PickerPrompt InputReasoning IndicatorRule BuilderSuggestion ChipsTool Call TimelineUsage MeterVoice InputWorkflow Canvas
Text & Effects
Background PatternGravity LettersMarqueeTerminalText AnimateText Rotate
Mobile
Action SheetBottom Tab BarFABHaptic ButtonHero HeaderInstall PromptLarge Title HeaderNotification BannerOnboarding CarouselPicker WheelPull To RefreshSlide To ConfirmSticky CTA BarSwipe DeckSwipeable Tabs
Commerce
Cart drawerCategory pickerCheckout stepsCoupon inputFavorite buttonFilter panelListing cardListing gridOrder trackerPricePrice rangePricing tableProduct galleryQuantity stepperReviewsSeller card
Marketing Sections
App Download SectionBlog Cards SectionCTA SectionFAQ SectionFeature GridFeature ShowcaseHero SectionIntegrations SectionLogo CloudMarketing FooterMarketing HeaderMarketing SectionNewsletter SectionPricing SectionStats SectionSteps SectionTeam SectionTestimonials SectionTimeline SectionVideo Section
Blocks
Admin Dashboard PageAdmin ShellAI Chat PageAPI Keys PageAutomation Builder PageCheckout PageCRM Contact PageCRM Pipeline PageError PagesInbox PageInvoice PageKPI DashboardListing Detail PageLogin PageMarketplace Home PageMarketplace Search PageMarketplace ShellMobile App HomeOnboarding FlowOrder History PagePost Listing WizardPricing PageProfile PageRegister PageSettings PageUsers Admin Page
Templates
About PageAcademy PageAccessibility PageAffiliate PageAgency PageAI Product PageAppointment Booking PageBlog PageBlog Post PageBug Bounty PageCareers PageChangelog PageCommunity PageCompare PageContact PageCustomer Story PageCustomers PageDemo Booking PageDevelopers PageDocs Home PageDownload PageEnterprise PageEvents PageExperts PageFAQ PageFeature PageGlossary PageHelp Article PageHelp Center PageHome Services PageImpact PageIntegration Detail PageIntegrations PageJob Detail PageLanding PageLaunch PageLegal PageManifesto PagePortfolio PagePress PageProduct Tour PagePromo PageReal Estate PageReferral PageResearch Report PageRestaurant PageRoadmap PageROI Calculator PageSecurity PageSolutions PageStartups PageStatus PageStorefront PageSwitch PageTemplate Gallery PageTravel PageWaitlist PageYear in Review Page
Hooks & Utilities
AI ChatChart kitCommerceDate utilsFile exportFile typesFiltersForm validationHapticsInvoicingMotion presetsNavigationNumber formatRelative timeRomanian locationsSpreadsheetText matchTonesUIProvideruseClipboarduseConsentuseControllableStateuseCooldownuseDebounceuseKeyboardInsetuseLocaleuseLongPressuseMediaControlsuseMediaQueryuseOverflowItemsusePersistedStateuseScrollEdgesuseScrollStateuseSelectionuseShortcutuseStickToBottom
GalleryTheme

Templates

Compare Page

Templates

Compare Page React template for Tailwind CSS v4

Design
Community PageContact Page
Design
Live props
State
defaultCompetitor
defaultTeamSize25
defaultOnlyDifferences
Appearance
design
background
backgroundColor
bandBackground
bandColor
highlight
ctaVariant
tone
ctaTone
Layout
showSwitcher
heroLayout
showReasons
showTable
showPricing
showMigration
showTestimonials
showFaq
showCta
header
footer
Behavior
stickyTableHeader
animateIn
locale
Code
import { ComparePage } from "@/components/templates/compare-page"

<ComparePage />
  1. Home
  2. Templates
  3. Compare Page
Pro

Compare Page React template for Tailwind CSS v4

v1.1.0·Updated in 1.9.0

A React comparison page template (Acme vs a competitor): a verdict hero, a feature table, price comparison, migration steps and FAQ.

Pick Taskly, Boardify or Planhub in the segmented control above the versus card (arrow keys move between them) and the whole page follows: the title and one-line verdict, the three quick facts, the six reasons teams switch, every table row, the price comparison, the import steps, the switcher quotes and the FAQ. The feature table groups rows under Planning, Docs, Automations, Security and Pricing with a check, a cross, a partial mark or a short value; the info button beside a value shows its note in a tooltip (hover or keyboard focus). Its header row with both wordmarks sticks under the page header while you scroll, and the Only show differences switch hides the rows where both products match. Drag the team size slider (or use the arrow keys) from 2 to 100 people, with 10, 25 and 50 marked: both yearly costs roll to their new totals with the per-seat breakdown and add-ons, and the band below says how much Acme saves, or honestly says when the other tool costs less. On phones the table becomes one card per feature with both values side by side and notes written out under them, the steps and price cards stack, and nothing scrolls sideways.

Compare Page is a Pro React template in the React website templates category, written in TypeScript for React 19 and Tailwind CSS v4. It installs as source with npx wingo-ui@latest add compare-page, together with CTA Section, FAQ Section, Feature Grid, Hero Section, Marketing Footer and 14 more and the npm packages motion and lucide-react.

Built with

The sections this page is made of. In the full-screen preview, hold Alt to outline each one on the page.

  • CTA Sectioncta-section
  • FAQ Sectionfaq-section
  • Feature Gridfeature-grid
  • Hero Sectionhero-section
  • Marketing Footermarketing-footer
  • Marketing Headermarketing-header
  • Marketing Sectionmarketing-section
  • Testimonials Sectiontestimonials-section

Add to a project

Requirements: React 19 and Tailwind CSS v4, in Next.js (App Router or Pages), Vite or React Router. Installation guide · Next.js setup · Vite setup

npx wingo-ui@latest add compare-page

Compare Page is part of Pro, with 298 more Pro items: $8 a month or $150 once. 14-day refund before you download any Pro item. See plans or unlock it free with an account

Usage

Import ComparePage from @/components/templates/compare-page.

// app/(marketing)/compare/[competitor]/page.tsx
"use client"

import Link from "next/link"
import { useParams, useRouter } from "next/navigation"
import { ComparePage } from "@/components/templates/compare-page"
import { COMPETITORS } from "@/components/templates/compare-page-data"

export default function CompareRoute() {
  const { competitor } = useParams<{ competitor: string }>()
  const router = useRouter()
  return (
    <ComparePage
      linkComponent={Link}
      competitors={COMPETITORS}
      competitor={competitor}
      onCompetitorChange={(id) => router.replace(`/compare/${id}`, { scroll: false })}
    />
  )
}

Props

  • competitorsdefault "COMPETITORS"
    Competitor[]

    Every competitor the switcher offers: { id, name, icon, tagline, verdict, facts, reasons, groups, pricing, steps, quotes, faq }.

  • defaultCompetitordefault "taskly"
    string

    The competitor the page opens on while uncontrolled.

  • competitor
    string

    Controlled competitor id; pair it with onCompetitorChange (e.g. to route to /compare/<id>).

  • onCompetitorChange
    (id: string) => void

    Called when the switcher changes.

  • designdefault "classic"
    "classic" | "bold"

    The whole page's look. classic follows the layout props; bold: a pill header, a magazine size title on an aurora with tinted bands, the versus card under it, illustrated reason cards, the table on a raised panel, an inverted Acme price card, big step numbers, a featured quote, FAQ cards, a closing band over a drawn scene and a wordmark footer. headerProps and footerProps still win.

  • backgrounddefault "grid"
    "plain" | "soft" | "glow" | "aurora" | "grid" | "dots"

    The main background: plain is the bare page color; the others tint the page and add a glow, an aurora, a grid or dots over the first screen. A design picks its own unless you set one. Classic uses grid, bold aurora; over plain the hero draws its own grid or mesh.

  • backgroundColordefault "oklch(0.62 0.14 275)"
    string

    The tint and glow color of the main background.

  • bandBackgrounddefault "muted"
    "muted" | "tinted" | "gradient" | "dots"

    The secondary background of the alternating bands. Cards, fields and tiles inside a band are lifted one step above it, so they never share its color.

  • bandColordefault "oklch(0.62 0.14 275)"
    string

    The tint of tinted and gradient bands; defaults to backgroundColor.

  • showSwitcherdefault true
    boolean

    The segmented control above the versus card; off for a page about one competitor.

  • heroLayoutdefault "split"
    "split" | "centered"

    split: copy left, versus card right; centered: copy over the card. Applies to the classic design.

  • acmePricingdefault "ACME_PRICING"
    ComparePricing

    Acme's side of the price comparison: { plan, perSeat, minSeats?, platformFee?, addOns? }.

  • teamSizesdefault "[10, 25, 50]"
    number[]

    The labeled marks on the team size slider, which runs from 2 to 100 people.

  • defaultTeamSizedefault 25
    number

    The team size the price comparison opens on (2 to 100).

  • defaultOnlyDifferencesdefault false
    boolean

    The table opens with matching rows hidden.

  • highlightdefault true
    boolean

    Tints the Acme column of the table.

  • stickyTableHeaderdefault true
    boolean

    The table's header row sticks under the page header from 768px.

  • showReasonsdefault true
    boolean

    The "Why teams switch" feature grid.

  • showTabledefault true
    boolean

    The feature by feature table.

  • showPricingdefault true
    boolean

    The yearly price comparison with the team size slider.

  • showMigrationdefault true
    boolean

    The three import steps.

  • showTestimonialsdefault true
    boolean

    Quotes from teams that switched.

  • showFaqdefault true
    boolean

    The switching FAQ.

  • showCtadefault true
    boolean

    The closing call to action.

  • ctaVariantdefault "inverted"
    "inverted" | "soft" | "split" | "plain"

    The look of the closing call to action. Applies to the classic design.

  • headerdefault true
    boolean

    The sticky marketing header; turn it off when the page sits in a site layout.

  • footerdefault true
    boolean

    The marketing footer.

  • headerProps
    Partial<MarketingHeaderProps>

    Passed to MarketingHeader (announcement, ctaTone, items...).

  • footerProps
    Partial<MarketingFooterProps>

    Passed to MarketingFooter.

  • tonedefault "neutral"
    "neutral" | "brand" | "success" | "warning" | "danger" | "info"

    The switcher thumb, slider, switch, step numbers, icon tiles and FAQ accents.

  • ctaTonedefault "neutral"
    "neutral" | "brand" | "success" | "warning" | "danger" | "info"

    The primary buttons of the hero, the import steps and the closing band.

  • animateIndefault true
    boolean

    The hero rises in once on mount; off in thumbnails and under reduced motion.

  • localedefault "en-US"
    string

    Intl locale for the prices (always USD).

  • getImportHref
    (competitor: Competitor) => string

    The importer link; default /sign-up?import=<id>.

  • linkComponentdefault "<a>"
    (props: LinkComponentProps) => ReactNode

    The router link for every link (next/link in an app); default the LinkProvider's.

  • labelsdefault "DEFAULT_COMPARE_PAGE_LABELS"
    Partial<ComparePageLabels>

    Every visible string; titles that name the competitor are functions of its name.

  • className
    string

    Classes for the root.

  • classNames
    Partial<Record<ComparePageSlot, string>>

    Classes for switcher, hero, versus, reasons, table, pricing, migration, testimonials, faq and cta.

Parts

  • CompareTable

    component

    The grouped feature table: a real table with a sticky header row from 768px, a card per row on phones. Takes div props.

    • competitor
      Competitor

      The competitor; its groups fill the rows.

    • groups
      CompareGroup[]

      Replaces competitor.groups.

    • onlyDifferencesdefault false
      boolean

      Hides rows where both values match.

    • highlightdefault true
      boolean

      Tints the Acme column.

    • stickyOffsetdefault 64
      number | false

      The header row sticks this many px from the top; false keeps it in place.

    • brand
      ReactNode

      Replaces the Acme logo in the header row.

    • labels
      Partial<ComparePageLabels>

      The table strings.

  • CompareCellView

    component

    One value: a check, a cross, a partial mark or text, with its note as a tooltip or inline text. Takes span props.

    • cell
      CompareCell

      true, false, "partial", a string, or { value, note }.

    • product
      string

      Whose value it is, for the note's label.

    • noteModedefault "tooltip"
      "tooltip" | "inline"

      The note behind an info button or written under the value.

    • labels
      Pick<ComparePageLabels, "included" | "notIncluded" | "partial" | "note">

      Screen reader and partial labels.

  • CompareWordmark

    component

    A fictional competitor drawn as its lucide glyph and name (never a real logo). Takes span props.

    • competitor
      Pick<Competitor, "name" | "icon">

      The competitor.

    • sizedefault "md"
      "sm" | "md" | "lg"

      Glyph tile and text size.

  • compareYearlyCost

    function

    compareYearlyCost(pricing, seats): (perSeat + add-ons) x max(seats, minSeats) x 12 + platformFee x 12, in dollars.

  • COMPETITORS

    constant

    Taskly, Boardify and Planhub with their verdicts, reasons, 21 table rows, pricing, steps, quotes and FAQ.

  • ACME_PRICING

    constant

    Acme Pro at $12 per user per month.

  • DEFAULT_COMPARE_PAGE_LABELS

    constant

    The English strings.

  • Competitor

    type

    { id, name, icon, tagline, verdict, facts, reasons, groups, pricing, steps, quotes, faq }.

  • CompareGroup

    type

    { id, label, rows: CompareRow[] }.

  • CompareRow

    type

    { id, label, acme: CompareCell, competitor: CompareCell }.

  • CompareCell

    type

    true | false | "partial" | string, or { value, note }.

  • ComparePricing

    type

    { plan, perSeat, minSeats?, platformFee?, addOns? }.

  • COMPARE_PAGE_DESIGNS

    constant

    The design names, classic first: ["classic", "bold"].

  • ComparePageProps

    type

    Props of ComparePage.

  • ComparePageDesign

    type

    The values of the design prop: "classic" | "bold".

Examples

Open

Bold design

design="bold": a pill header, huge type on an aurora with tinted bands, illustrated reasons, an inverted Acme price, big step numbers and a wordmark footer.

Open

Boardify, brand tone

Opens on Boardify with the marketing orange on the switcher, slider and every primary button.

Open

Centered hero, differences only

The copy over the versus card, and the table opens with matching rows hidden.

Open

One competitor, short page

No switcher, no testimonials or migration steps: a focused Acme vs Taskly page with a soft closing band.

Open

Inside a site layout

No header or footer, the table header stays in place and the Acme column is not tinted.

Dependencies

motionlucide-reactcta-sectionfaq-sectionfeature-gridhero-sectionmarketing-footermarketing-headermarketing-sectiontestimonials-sectionanimated-counterbuttonsegmented-controlsliderswitchtooltipuse-controllable-statemotionnavigationtonesui-config

Files

  • components/templates/compare-page.tsx
  • components/templates/compare-page-data.ts

FAQ

Is the React Compare Page template free?

The preview, props and docs are free; copying the source needs a Pro plan. See plans.

How do I install Compare Page?

Run npx wingo-ui@latest add compare-page. It also adds the Wingo UI items it builds on (CTA Section, FAQ Section, Feature Grid, Hero Section, Marketing Footer and 14 more) and the npm packages motion and lucide-react. With shadcn, add the @wingo-ui registry with your API key, then run npx shadcn@latest add @wingo-ui/compare-page.

How does Compare Page behave on phones?

On phones the table becomes one card per feature with both values side by side and notes written out under them, the steps and price cards stack, and nothing scrolls sideways.

See also

Feature GridTestimonials SectionFAQ SectionSliderPricing Page

Related guides

  • SaaS Comparison Page: Honest vs Pages That Convert

    Build it: screens and apps · Nov 5, 2026 · 10 min read

  • SaaS Website Template: The 7 Pages Beyond the Home Page

    Build it: screens and apps · Nov 5, 2026 · 20 min read

New components by email

New posts, product news and occasional offers from Wingo UI. We count clicks to keep it relevant.

PreviousCommunity PageNext Contact Page