
Usage
- Astro
- Next.js
Props
string
Title to display above the plans.
string
Text to display below the title.
Content
To update the plans, editsrc/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.
boolean
Whether the plan should be marked as popular or not.