WRAPCODERS

Executive Pricing Plan

Pricing 20

About

Three-tier pricing table featuring elevated action header boxes and embedded customer quote cards.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Executive Pricing Plan to your project and fits it to your theme.

Code

How Executive Pricing Plan is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import { useState, useEffect } from "react";
import ExecutivePricingPlan, { defaultTiers } from "@/components/ui/executive-pricing-plan";
import { Sun, Moon } from "lucide-react";

const PROFILE_REFERRAL_URL = "https://21st.dev/@wrapcoders?ref=mdruhulhasan";

export default function ExecutivePricingPlanDemo() {
  const [isDark, setIsDark] = useState<boolean>(() => {
    if (typeof window !== "undefined") {
      const params = new URLSearchParams(window.location.search);
      const themeParam = params.get("theme");
      if (themeParam === "dark") return true;
      if (themeParam === "light") return false;
      return document.documentElement.classList.contains("dark");
    }
    return false;
  });

  useEffect(() => {
    if (typeof document !== "undefined") {
      if (isDark) {
        document.documentElement.classList.add("dark");
      } else {
        document.documentElement.classList.remove("dark");
      }
    }
  }, [isDark]);

  const toggleTheme = () => {
    setIsDark((prev) => !prev);
  };

  return (
    <div className="relative min-h-screen w-full bg-background text-foreground transition-colors duration-200">
      <header className="sticky top-0 z-30 w-full border-b border-border/40 bg-background/80 backdrop-blur-md">
        <div className="mx-auto flex max-w-6xl items-center justify-between px-4 py-3 sm:px-6 lg:px-8">
          <div className="flex items-center gap-2">
            <span className="text-xs font-semibold tracking-wide text-foreground uppercase font-mono">
              Executive Pricing Plan
            </span>
            <span className="rounded-full bg-emerald-500/10 text-emerald-600 dark:text-emerald-400 border border-emerald-500/20 px-2 py-0.5 text-[10px] font-mono font-medium">
              Elevated Action Header
            </span>
          </div>

          <div className="flex items-center gap-2">
            <a
              href={PROFILE_REFERRAL_URL}
              target="_blank"
              rel="noopener noreferrer"
              className="inline-flex h-8 items-center gap-1.5 rounded-full border border-primary/30 bg-primary/10 px-3 text-xs font-medium text-primary transition-colors hover:bg-primary/20"
            >
              <span>Explore on 21st.dev</span>
              <span className="text-[10px] opacity-75">↗</span>
            </a>
            <button
              type="button"
              onClick={toggleTheme}
              className="inline-flex h-8 items-center gap-1.5 rounded-full border border-border bg-muted/50 px-3 text-xs font-medium text-foreground transition-colors hover:bg-muted"
              aria-label={`Switch to ${isDark ? "light" : "dark"} mode`}
            >
              {isDark ? (
                <>
                  <Sun className="h-3.5 w-3.5 text-amber-400" />
                  <span>Light</span>
                </>
              ) : (
                <>
                  <Moon className="h-3.5 w-3.5 text-muted-foreground" />
                  <span>Dark</span>
                </>
              )}
            </button>
          </div>
        </div>
      </header>

      <main className="w-full pb-16">
        <ExecutivePricingPlan
          contactButtonHref={PROFILE_REFERRAL_URL}
          footerHref={PROFILE_REFERRAL_URL}
          tiers={defaultTiers.map((tier) => ({ ...tier, ctaHref: PROFILE_REFERRAL_URL }))}
          onContactClick={() => alert("Contact Sales clicked")}
        />
      </main>

      <footer className="w-full border-t border-border/40 py-6 text-center text-xs text-muted-foreground">
        <a
          href={PROFILE_REFERRAL_URL}
          target="_blank"
          rel="noopener noreferrer"
          className="hover:text-foreground transition-colors inline-flex items-center gap-1"
        >
          Explore more components on 21st.dev ↗
        </a>
      </footer>
    </div>
  );
}

Dependencies

More by WRAPCODERS

View all
  • Product Hover Showcase

    Product Hover Showcase

    121
  • Real Estate 3D Hero

    Real Estate 3D Hero

    89
  • Creator Community Arc

    Creator Community Arc

    69
  • LoopAI CRM

    LoopAI CRM

    68
  • Isometric Card Stack

    Isometric Card Stack

    55
  • Flash Technologies Crypto Wallet Hero

    Flash Technologies Crypto Wallet Hero

    54
  • Client Management CRM Hub

    Client Management CRM Hub

    48
  • Admin Dashboard Cards

    Admin Dashboard Cards

    44

More in Pricing

View all
  • Pricing Section

    Pricing Section

    733
  • Pricing Section 1

    Pricing Section 1

    109
  • Single Pricing Card

    Single Pricing Card

    829
  • Review Stack Pricing

    Review Stack Pricing

    11
  • Toggleable Add-on Pricing

    Toggleable Add-on Pricing

    229
  • Pricing Card

    Pricing Card

    409
  • Toggle Pricing Cards

    Toggle Pricing Cards

    112
  • Pricing Cards

    Pricing Cards

    104