Skip to main content

Interface: PlansPanelPlan

Defined in: plansPanel/PlansPanel.types.ts:37

A plan displayed inside the PlansPanel.

Properties

buttonProps?

optional buttonProps?: PlanCardButtonProps

Defined in: plansPanel/PlansPanel.types.ts:56

Props forwarded to the CTA button. onClick is merged with onSelectPlan.


features?

optional features?: unknown[]

Defined in: plansPanel/PlansPanel.types.ts:52

Feature list items.


filterValues?

optional filterValues?: 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?

optional metadata?: PlanCardMetadata

Defined in: plansPanel/PlansPanel.types.ts:54

Optional metadata sections.


price

price: PlanCardPrice

Defined in: plansPanel/PlansPanel.types.ts:50

Pricing information.


subtitle?

optional subtitle?: 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?

optional topTag?: ReactNode

Defined in: plansPanel/PlansPanel.types.ts:60

Optional content rendered at the top of the PlanCard.


variant?

optional variant?: PlanCardVariantType

Defined in: plansPanel/PlansPanel.types.ts:58

Visual variant for the PlanCard. Active plans override this with "secondary".