Install
/components
directory. You can swap clean
for classic
or dev
if you want to use a different style. View them all at pricecn.com.
Define your product schema
Pricing components can be involved and tricky to manage on the frontend, especially when pricing changes happen.pricing-table
can automatically generate based on a simple product schema you define.
LLMs are good at auto generating this schema from a screenshot!
Usage
An example usage of<PricingTable />
will be downloaded as components/pricing/example.tsx
. This file demonstrates how to define your products and pass them into the PricingTable
component.
<PricingCard>
can also take in buttonProps
, allowing you to define an onClick()
function.
Coming soon
- Paywalls
- Billing pages
- Feature tables
- Usage meters