Pricing Comparison Table

Pricing comparison table

Marketing BlockPricing

Overview

Renders a table with tier headers (including optional prices) and feature rows grouped by category. Boolean values show check/X icons; strings display as text. Supports highlighting a recommended tier with a ring and background accent.

Usage

import { PricingComparisonTable } from "@leanicon/web-builder-library";

Default

Three tiers with multiple feature categories.

Feature
Starter
$9/mo
Pro
$29/mo
Enterprise
$99/mo
Core Features
Projects5UnlimitedUnlimited
Storage10 GB100 GB1 TB
Custom domain
Team members325Unlimited
Analytics
Basic analytics
Advanced analytics
Custom reports
Support
Email support
Priority support
Dedicated account manager

Highlight Pro tier

Set highlightTier to a tier key to draw attention with a ring and background accent.

Feature
Starter
$9/mo
Pro
$29/mo
Enterprise
$99/mo
Core Features
Projects5UnlimitedUnlimited
Storage10 GB100 GB1 TB
Custom domain
Team members325Unlimited
Analytics
Basic analytics
Advanced analytics
Custom reports
Support
Email support
Priority support
Dedicated account manager

Highlight Enterprise tier

Feature
Starter
$9/mo
Pro
$29/mo
Enterprise
$99/mo
Core Features
Projects5UnlimitedUnlimited
Storage10 GB100 GB1 TB
Custom domain
Support
Email support
Priority support
Dedicated account manager

Two tiers

Simple Free vs Pro comparison.

Feature
Free
$0/mo
Pro
$29/mo
Features
Projects3Unlimited
Storage1 GB100 GB
Custom domain
API access

Without prices

Tiers without the price field — header shows label only.

Feature
Starter
Pro
Enterprise
Core Features
Projects5UnlimitedUnlimited
Storage10 GB100 GB1 TB
Custom domain
Support
Email support
Priority support

Single category

Feature
Starter
$9/mo
Pro
$29/mo
Enterprise
$99/mo
Core Features
Projects5UnlimitedUnlimited
Storage10 GB100 GB1 TB
Custom domain
Team members325Unlimited

Dark mode

Feature
Starter
$9/mo
Pro
$29/mo
Enterprise
$99/mo
Core Features
Projects5UnlimitedUnlimited
Storage10 GB100 GB1 TB
Custom domain
Team members325Unlimited
Analytics
Basic analytics
Advanced analytics
Custom reports
Support
Email support
Priority support
Dedicated account manager

Highlight Pro — dark mode

Feature
Starter
$9/mo
Pro
$29/mo
Enterprise
$99/mo
Core Features
Projects5UnlimitedUnlimited
Storage10 GB100 GB1 TB
Custom domain
Support
Email support
Priority support
Dedicated account manager

Two tiers — dark mode

Feature
Free
$0/mo
Pro
$29/mo
Features
Projects3Unlimited
Storage1 GB100 GB
Custom domain
API access

Props

Prop

Type

Default

Description

tiers

TierDefinition[]

—

Tier columns (required)

categories

FeatureCategory[]

—

Feature rows grouped by category (required)

highlightTier

string?

—

Tier key to highlight with ring and background

colorScheme

"light" | "dark"

—

Force light or dark mode

className

string

—

Additional CSS classes on root

TierDefinition

Field

Type

Description

key

string

Unique tier identifier

label

string

Column header display text

price

string?

Optional price text

FeatureCategory

Field

Type

Description

name

string

Category header text

features

FeatureRow[]

Feature rows in category

FeatureRow

Field

Type

Description

name

string

Feature name (first column)

values

Record<string, boolean | string>

Values per tier — true/false for icons, string for text

Notes

  • Boolean true renders a check icon; false renders an X icon.
  • highlightTier applies ring-2 ring-primary on the header and bg-primary/5 on cells.
  • Category rows span the full width with a muted background for visual grouping.
  • The table is horizontally scrollable on small screens (min-w-[640px]).
  • Dark mode: pass colorScheme="dark" or place inside a .dark ancestor.

Props

NameTypeDefaultRequiredDescription
tiersTierDefinition[]—Yes
categoriesFeatureCategory[]—Yes
highlightTierstring—No
colorSchemeenum—No
classNamestring—No