Subscription

PricingTable

A responsive pricing table component that displays tiered pricing plans with feature comparisons.
LuiPricingTable

API Reference

LuiPricingTable

PropDefaultType
plans

PricingTablePlan[]

sections

PricingTableSection[]

LuiPricingTableHeader

PropDefaultType
plans

PricingTablePlan[]

compareDifferences

boolean

activeMobilePlan

string

Event Type
update:compareDifferences

[value: boolean | undefined]

update:activeMobilePlan

[value: string | undefined]

LuiPricingTableRowHeader

PropDefaultType
title

string

description

string

Rendered below title

hasDifference

boolean

Indicate that all values are the same for all plans. Used for comparing differences between plans.

titleHref

string

If set, the whole cell is a link

subFeatures

string[]

Each string is rendered as a single text line to indicate sub-features

values

Record<string, PricingTableRowValue>

LuiPricingTableRowValue

PropDefaultType
title

string

description

string

isHighlight

boolean

Renders the title as rainbow text

linkText

string

linkHref

string

subFeatures

boolean[]

Each boolean renders a feature-icon. true indicates that the feature is included, false indicates that it is not.

LuiPricingTableSectionHeader

PropDefaultType
title

string

description

string

icon

string

anchor

string

rows

PricingTableRow[]