WRAPCODERS

Split Hero Pricing

Heroes

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>
  );
}

Dependencies

More by WRAPCODERS

View all
  • Product Hover Showcase

    Product Hover Showcase

    89
  • Real Estate 3D Hero

    Real Estate 3D Hero

    50
  • Metric Trend Chart

    Metric Trend Chart

    35
  • LoopAI CRM

    LoopAI CRM

    32
  • Flash Technologies Crypto Wallet Hero

    Flash Technologies Crypto Wallet Hero

    23
  • AI Motion Visual Orb

    AI Motion Visual Orb

    21
  • TraceRocket Reports Dashboard

    TraceRocket Reports Dashboard

    20
  • Client Management CRM Hub

    Client Management CRM Hub

    19

More in Heroes

View all
  • Agency Hero Section

    Agency Hero Section

    1.1K
  • Responsive Hero Banner

    Responsive Hero Banner

    2.2K
  • SaaS Template

    SaaS Template

    2.7K
  • Centered Hero with Image Fan

    Centered Hero with Image Fan

    1.1K
  • Hero

    Hero

    1.4K
  • Hero Section 01

    Hero Section 01

    56
  • Split Hero With Image Cards

    Split Hero With Image Cards

    467
  • Facts Hero

    Facts Hero

    6