Component: PricingTable
Purpose
Displays different pricing plans or tiers side-by-side, usually in columns, making it easy for users to compare options.
When to Use
- On a pricing page.
- On a landing page to show available subscription options.
How to Use (Options / Props)
This component takes a single plans prop, which needs to be a list (an "array") of plan details.
Option ( | Description | Required? | Example Value Format |
|---|---|---|---|
| A list where each item describes a pricing plan. Each plan object within the list needs the keys below. | Yes | |
Each Plan Object within the plans list needs these keys:
Key in Plan Object | Description | Required? | Example Value(s) |
|---|---|---|---|
| Name of the pricing tier (e.g., "Basic", "Pro"). | Yes | |
| The price amount. | Yes | |
| How often the price is charged (e.g., per month). | Yes | |
| A list of features included in this plan. | Yes | |
| Text for the action button for this plan. | Yes | |
| URL link for the action button. | Yes | |
| Set to | No (Default: | |
Important: This component requires structured data. Ensure the AI formats the plans prop correctly as a list of objects, with each object containing all the required keys.
Example MDX Usage
<PricingTable plans={[
{
name: 'Starter',
price: '$0',
frequency: '/month',
features: [
'1 Project',
'Basic Analytics',
'Community Support'
],
buttonText: 'Get Started',
buttonHref: '/signup/starter'
},
{
name: 'Business',
price: '$29',
frequency: '/month',
features: [
'Unlimited Projects',
'Advanced Analytics',
'Email Support',
'Team Collaboration'
],
buttonText: 'Choose Business',
buttonHref: '/signup/business',
isFeatured: true
},
{
name: 'Enterprise',
price: 'Custom',
frequency: '',
features: [
'All Business Features',
'Dedicated Account Manager',
'Premium Support',
'Custom Integrations'
],
buttonText: 'Contact Sales',
buttonHref: '/contact/sales'
}
]} />
Updated on: 13/05/2026
Thank you!