Pricing Table
The pricing table section displays pricing tiers with features comparison. It supports two layout options: cards for a traditional side-by-side card layout, and comparison for a feature comparison table format.
The pricing table section displays pricing tiers with features comparison. It supports two layout options: cards for a traditional side-by-side card layout, and comparison for a feature comparison table format.
- sectionType: pricing-table
containerTag: aside
text:
title: 'Choose Your Plan'
prose: 'Select the plan that best fits your needs.'
tiers:
source: 'pricing-example' # Loads from lib/data/pricing/pricing-example.json
layout: 'cards' # Options: cards, comparison
| Property | Type | Required | Description |
|---|---|---|---|
tiers.layout | string | Yes | Layout type ('cards', 'comparison') |
tiers.source | string | Yes | Data file name in lib/data/pricing/ directory |
| Property | Type | Required | Description |
|---|---|---|---|
text | object | No | Optional intro text with title, subtitle, and prose |
Each tier in the data file should follow this structure:
{
"name": "Professional",
"description": "Best for growing teams",
"icon": "award",
"isFeatured": true,
"featuredLabel": "Most Popular",
"price": {
"prefix": "$",
"amount": "29",
"suffix": "/month"
},
"features": [
{ "text": "Unlimited projects" },
{ "text": "API access", "isExcluded": true },
{ "text": "Storage", "value": "10 GB" }
],
"ctas": [
{
"url": "/signup",
"label": "Get Started",
"isButton": true,
"buttonStyle": "primary"
}
]
}