MeaChat
Docs / Pricing Table

Pricing Table

The PricingTable component arranges PricingPlan items in a responsive grid.

Usage

import PricingTable from '~/components/sections/PricingTable.astro';
import PricingPlan from '~/components/sections/PricingPlan.astro';

<PricingTable>
  <PricingPlan 
    name="Basic" 
    price="$29" 
    features={['Feature 1', 'Feature 2']} 
    cta="Get Started"
  />
  <PricingPlan 
    name="Pro" 
    price="$99" 
    features={['All Basic features', 'Feature 3']} 
    popular
    cta="Buy Now"
  />
</PricingTable>

Example

Starter

For personal projects

Free /month
  • 5 Projects
  • Community Support
  • 1GB Storage
Start Free
Most Popular

Pro

For serious developers

$29 /month
  • Unlimited Projects
  • Priority Support
  • 10GB Storage
  • Custom Domain
Get Pro

Enterprise

For large teams

Custom /month
  • Unlimited Everything
  • Dedicated Support
  • SSO & Audit Logs
  • SLA
Contact Us

Props

PricingTable

This component acts as a grid wrapper and accepts children.

PricingPlan

PropTypeDefaultDescription
namestringRequiredThe name of the plan.
pricestringRequiredThe price display (e.g. β€œ$29”).
descriptionstringundefinedA short description of the plan target.
featuresstring[][]List of features included in the plan.
ctastringRequiredText for the CTA button.
popularbooleanfalseHighlights the plan as recommended.