About
Split-layout pricing section combining customer social proof, an interactive monthly/annual billing toggle, and a structured capability card built with semantic Tailwind design tokens.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Split Hero Pricing to your project and fits it to your theme.
Code
How Split Hero Pricing is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import { useEffect } from "react";
import SplitHeroPricing, { type SplitHeroFeature } from "@/components/ui/split-hero-pricing";
import {
CreditCard,
Lock,
Coins,
TrendingUp,
QrCode,
Users,
Zap,
Cloud,
} from "lucide-react";
const settings = {
planName: "Payment Suite",
monthlyPrice: 29,
yearlyPrice: 23,
discountBadge: "Save 20%",
defaultYearly: false,
ctaLabel: "Get Started",
};
const demoFeatures: SplitHeroFeature[] = [
{ text: "Card Processing", icon: CreditCard },
{ text: "Data Encryption", icon: Lock },
{ text: "Currency Exchange", icon: Coins },
{ text: "Sales Insights", icon: TrendingUp },
{ text: "QR Payments", icon: QrCode },
{ text: "Multi-User Access", icon: Users },
{ text: "Payment Alerts", icon: Zap },
{ text: "Cloud Backup", icon: Cloud },
];
export default function SplitHeroPricingDemo(props: Partial<typeof settings>) {
const s = { ...settings, ...props };
useEffect(() => {
if (typeof window === "undefined") return;
const themeParam = new URLSearchParams(window.location.search).get("theme");
if (themeParam === "dark") {
document.documentElement.classList.add("dark");
} else if (themeParam === "light") {
document.documentElement.classList.remove("dark");
}
}, []);
return (
<div className="min-h-screen w-full bg-background text-foreground flex items-center justify-center p-4 sm:p-6">
<SplitHeroPricing
badge="Our Plans"
badgeHref="#plans"
title="Flexible plans built for every stage of growth"
description="Get the features you need to process faster and operate smarter."
tag="All In One"
planName={s.planName}
planDescription="Ideal for small teams aiming for steady expansion."
monthlyPrice={s.monthlyPrice}
yearlyPrice={s.yearlyPrice}
defaultYearly={s.defaultYearly}
discountBadge={s.discountBadge}
features={demoFeatures}
ctaLabel={s.ctaLabel}
ctaHref="#get-started"
/>
</div>
);
}
















