X Enterprises
Pricing Comparison

Comparison

"Us vs Them" comparison table with boolean check/x or text values per feature row.

Pricing & Comparison

Conversion-focused components for pricing pages and competitive comparison sections.

Components

<XCardComparison />

A "Us vs Them" feature comparison table. The "ours" column is styled with a dark inverted surface (rounded top and bottom corners), while the "theirs" column is muted. Each feature row can use a boolean value (renders a check or X icon) or a string value (renders the text directly). Optional logo icons can be displayed in each column header.

<XCardComparison
  title="Why choose us?"
  description="See how we compare to the competition."
  our-label="Oura"
  their-label="Competitor"
  our-logo="i-lucide-circle"
  :features="[
    { name: 'Sleep stage tracking',       ours: true,        theirs: true },
    { name: 'Cardiovascular age',         ours: true,        theirs: false },
    { name: 'Period prediction',          ours: true,        theirs: false },
    { name: 'Battery life',               ours: '7 days',    theirs: '2 days' },
    { name: 'Form factor',                ours: 'Ring',       theirs: 'Wristband' },
    { name: 'Skin temperature sensing',   ours: true,        theirs: false }
  ]"
/>

Props

PropTypeDefaultDescription
featuresComparisonFeature[]Array of feature rows (required)
titlestringOptional heading above the table
descriptionstringOptional subheading below the title
ourLabelstring'Us'Column header label for "our" product
theirLabelstring'Them'Column header label for competitor
ourLogostringUIcon name displayed in the "ours" column header
theirLogostringUIcon name displayed in the "theirs" column header

ComparisonFeature type:

interface ComparisonFeature {
  name: string
  ours: boolean | string
  theirs: boolean | string
}

When a value is boolean, the cell renders a check icon (i-lucide-check) or X icon (i-lucide-x). When a value is a string, the text is displayed directly in the cell.


AI Context

category: PricingComparison
package: "@xenterprises/nuxt-x-cards"
components:
  - XCardComparison
use-when: >
  Use XCardComparison on landing pages for competitive differentiation sections —
  it works well as a standalone full-width card below a feature grid.
notes:
  - XCardComparison boolean values render as icons; string values render as text
  - XCardComparison "ours" column has rounded top and bottom matching the dark panel
  - Does not depend on useXCards() global defaults
Copyright © 2026