Toggle Pricing Table
A pricing section on a soft tray: a painted gradient banner with a monthly/yearly billing toggle, over plan cards whose prices switch with it. Harvested from Yosra Planner.
npx shadcn@latest add https://ui.develop-better-solutions.com/r/toggle-pricing-table.jsonDependencies:
lucide-reactFlexible plans
for focused work
Start simple or unlock full AI planning as you grow.
MonthlyYearly (Save 20%)
Starter
Start organizing your day with simple, clear planning.
$0/mo
No credit card
What's included:
- Basic planning
- Simple task lists
- AI suggestions (limited)
- Single language
Growth
Plan your day faster with full AI support and flexibility.
$10/mo
7 days free
What's included:
- Full AI planning
- Multi-language support
- Smart scheduling
- Unlimited tasks
- Priority AI processing
Business
Organize work together with shared plans and collaboration.
$26/mo
Built for teams
What's included:
- Shared workspaces
- Team collaboration
- Assign and track tasks
- Admin tools & permissions
Usage
toggle-pricing-table-example.tsx
import { TogglePricingTable } from "@dbs/ui";
const plans = [
{
id: "starter",
name: "Starter",
description: "Start organizing your day with simple, clear planning.",
monthly: 0,
yearly: 0,
buttonText: "Get started",
subtext: "No credit card",
features: [
"Basic planning",
"Simple task lists",
"AI suggestions (limited)",
"Single language",
],
},
{
id: "growth",
name: "Growth",
description: "Plan your day faster with full AI support and flexibility.",
monthly: 12,
yearly: 10,
buttonText: "Start free trial",
subtext: "7 days free",
features: [
"Full AI planning",
"Multi-language support",
"Smart scheduling",
"Unlimited tasks",
"Priority AI processing",
],
},
{
id: "business",
name: "Business",
description: "Organize work together with shared plans and collaboration.",
monthly: 32,
yearly: 26,
buttonText: "Contact sales",
subtext: "Built for teams",
features: [
"Shared workspaces",
"Team collaboration",
"Assign and track tasks",
"Admin tools & permissions",
],
},
];
export default function TogglePricingTableExample() {
return (
<TogglePricingTable
title={
<>
Flexible plans
<br />
for focused work
</>
}
blurb="Start simple or unlock full AI planning as you grow."
plans={plans}
/>
);
}