Skip to main content
Plan Cards

Usage

Props

Plan[]
required
List of plans to display. (Plan)
string
Title to display above the plans.
string
Text to display below the title.

Content

To update the plans, edit src/config/plan.ts. The plans are split into dev and production plans. The dev plans are shown in development mode, and the production plans are shown in production mode. Make sure to update the stripePriceId with their respective Stripe price IDs.

Types

Plan

string
required
Unique identifier for the plan (.eg. starter, business).
string
required
The name of the plan.
number
required
The price of the plan.
string
required
The price of the plan as text (including the currency and term).
string
required
The Stripe price ID for the plan.
string[]
required
List of features included in the plan.
string[]
List of features not included in the plan.
Whether the plan should be marked as popular or not.