01
Overview
Renders a pricing plans section using PricingCard blocks with optional selection callbacks.
Usage
02
When to use
Use when
- Presenting tiered subscription plans with features and action buttons.
- Highlighting a recommended plan while still allowing side-by-side comparison.
Avoid when
- Showing generic metrics without plan selection controls. Use Statistics section instead
- Rendering a single standalone plan card outside of a section context. Use Pricing card instead
03
Examples
PricingSection
PricingSection with multi-tier plans composed from PricingCard and plan selection callback.
04
Props
| Name | Type | Default | Required | Bindable | Description |
|---|---|---|---|---|---|
as | 'section' | 'div' | 'section' | Wrapper element tag. | ||
title | text | Optional section title. | |||
description | text | Optional section description. | |||
plans | PricingSectionPlan[] | req | Plans rendered as PricingCard components. | ||
columns | 1 | 2 | 3 | 4 | 3 | Grid column count. | ||
onPlanSelect | (plan: PricingSectionPlan, index: number) => void | Callback fired when a plan CTA is clicked. | |||
maxWidth | 'prose' | 'narrow' | 'wide' | 'full' | 'wide' | Max width token forwarded to Container. |