Feature Comparison Table

Feature comparison table

Marketing BlockFeatures

Overview

Renders a responsive table with feature rows and plan/product columns. Boolean values display check or X icons; string values display as text. An optional highlighted column draws attention to a preferred plan.

Usage

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

Default

Three-column comparison with no highlighted column.

FeatureStarterProEnterprise
Projects3UnlimitedUnlimited
Team members110Unlimited
Custom domain
Analytics
Priority support
SSO / SAML
SLA uptime99.9%99.9%99.99%
Support levelCommunityEmail24/7 Phone

Highlight Pro column

Set highlightColumn to a column key to apply a subtle background highlight.

FeatureStarterProEnterprise
Projects3UnlimitedUnlimited
Team members110Unlimited
Custom domain
Priority support
SLA uptime99.9%99.9%99.99%

Highlight Enterprise column

FeatureStarterProEnterprise
Projects3UnlimitedUnlimited
Team members110Unlimited
Custom domain
Priority support
SSO / SAML

Mixed values (boolean + string)

Combines check/X icons with text values in the same table.

FeatureStarterProEnterprise
Storage5 GB100 GBUnlimited
API access
Audit logs
Uptime SLA—99.9%99.99%

Two columns

Simple Free vs Paid comparison.

FeatureFreePaid
Projects3Unlimited
Team members1Unlimited
Custom domain
Analytics
Priority support

Boolean only

All values are boolean — no text values.

FeatureStarterProEnterprise
Custom domain
Analytics
Priority support
SSO / SAML
Audit logs

Dark mode

FeatureStarterProEnterprise
Projects3UnlimitedUnlimited
Team members110Unlimited
Custom domain
Priority support
SLA uptime99.9%99.9%99.99%

Highlight Enterprise — dark mode

FeatureStarterProEnterprise
Projects3UnlimitedUnlimited
Team members110Unlimited
Custom domain
Priority support
SSO / SAML

Two columns — dark mode

FeatureFreePaid
Projects3Unlimited
Team members1Unlimited
Custom domain
Analytics
Priority support

Mixed values — dark mode

FeatureStarterProEnterprise
Storage5 GB100 GBUnlimited
API access
Audit logs
Uptime SLA—99.9%99.99%

Props

Prop

Type

Default

Description

features

ComparisonFeature[]

—

Array of feature rows (required)

columns

ComparisonColumn[]

—

Array of plan/product columns (required)

highlightColumn

string?

—

Column key to highlight with bg-primary/5

colorScheme

"light" | "dark"

—

Force light or dark mode

className

string

—

Additional CSS classes on root

ComparisonFeature

Field

Type

Description

name

string

Feature name (first column)

values

Record<string, boolean | string>

Values per column key — true/false for icons, string for text

ComparisonColumn

Field

Type

Description

key

string

Unique column identifier

label

string

Column header display text

Notes

  • Boolean true renders a check icon; false renders an X icon.
  • String values render as plain text in the cell.
  • The table is horizontally scrollable on small screens (min-w-[640px]).
  • highlightColumn applies bg-primary/5 to the header and all cells in that column.
  • Dark mode: pass colorScheme="dark" or place inside a .dark ancestor.

Props

NameTypeDefaultRequiredDescription
featuresComparisonFeature[]—Yes
columnsComparisonColumn[]—Yes
highlightColumnstring—No
colorSchemeenum—No
classNamestring—No