Interface: PlansPanelPlan
Defined in: plansPanel/PlansPanel.types.ts:37
A plan displayed inside the PlansPanel.
Properties
buttonProps?
optionalbuttonProps?:PlanCardButtonProps
Defined in: plansPanel/PlansPanel.types.ts:56
Props forwarded to the CTA button. onClick is merged with onSelectPlan.
features?
optionalfeatures?:unknown[]
Defined in: plansPanel/PlansPanel.types.ts:52
Feature list items.
filterValues?
optionalfilterValues?:Record<string,string>
Defined in: plansPanel/PlansPanel.types.ts:44
Maps each filter id to the value this plan belongs to. Plans are only shown when all active filter values match.
id
id:
string
Defined in: plansPanel/PlansPanel.types.ts:39
Unique plan identifier.
metadata?
optionalmetadata?:PlanCardMetadata
Defined in: plansPanel/PlansPanel.types.ts:54
Optional metadata sections.
price
price:
PlanCardPrice
Defined in: plansPanel/PlansPanel.types.ts:50
Pricing information.
subtitle?
optionalsubtitle?:string
Defined in: plansPanel/PlansPanel.types.ts:48
Optional subtitle displayed below the title.
title
title:
string
Defined in: plansPanel/PlansPanel.types.ts:46
Plan title (e.g. "Basic", "Pro").
topTag?
optionaltopTag?:ReactNode
Defined in: plansPanel/PlansPanel.types.ts:60
Optional content rendered at the top of the PlanCard.
variant?
optionalvariant?:PlanCardVariantType
Defined in: plansPanel/PlansPanel.types.ts:58
Visual variant for the PlanCard. Active plans override this with "secondary".