Build a pricing page with shadcn/ui
Plans, a comparison table and the questions under them
A good pricing page answers three questions in order: what does it cost, what do I get, and what if something goes wrong. Three sections do that.
1. The plans
Pick by how many plans you sell:
- Pricing 01: two plans
- Pricing 02: three plans
- Pricing 03: four plans, the last one priced Custom
Each has a monthly and annual switch that needs no JavaScript. Mark one plan as featured, and it gets the raised card, the filled button and the badge. In the builder, click a plan to change the card's style, the badge and where the switch sits.
2. The comparison table
The comparison tables list every feature row by row, for two, three or four plans. Use the same number of plans as the section above it. The table's head stays in view while the page scrolls, and on a phone it shows one plan at a time.
Compare 02 is a plain one for three plans.
3. The questions
An FAQ section goes last. Answer what you actually get asked: how billing works, how to cancel, and whether a team can share an account.
Ask your agent
Once you are set up, ask for it in plain words:
- "Build a pricing page with Pricing 02, Compare 02 and FAQ 01. We sell three plans at $19, $49 and $99 a month."
Give it your real plans and prices. The ones in the blocks are samples.