TetraKits UI Promo Action Bar ← Library

Promo Action Bar

Mint-green promo action bar with gray 3D Claim button, learn-more link, and close icon. Domain deals, trial offers, and partnership promos. Responsive flex layout with ring border and green shadow.

promo barclaim cta bannergreen promo striplimited offer uiaction bar react
Live preview

Dependencies

react lucide-react
npm install lucide-react
import { X } from "lucide-react";

export function PromoActionBar() {
  return (
    <div className="flex max-w-2xl flex-wrap items-center justify-between gap-3 rounded-xl bg-gradient-to-r from-emerald-100 via-emerald-50 to-zinc-100 px-4 py-3 shadow-[0_1px_0_#fff_inset,0_8px_30px_rgba(16,185,129,0.2)] ring-1 ring-emerald-200/60">
      <p className="text-sm text-zinc-700">
        Claim a free <strong className="text-emerald-700">.link</strong> domain — free for 1 year.{" "}
        <a href="#" className="font-semibold text-emerald-600 underline-offset-2 hover:underline">Learn more</a>
      </p>
      <div className="flex items-center gap-2">
        <button type="button" className="rounded-lg bg-gradient-to-b from-zinc-700 to-zinc-900 px-4 py-1.5 text-xs font-bold text-white shadow-[0_2px_0_rgba(255,255,255,0.15)_inset,0_4px_12px_rgba(0,0,0,0.25)]">
          Claim domain
        </button>
        <button type="button" className="rounded-md p-1 text-zinc-500 hover:bg-zinc-200/60" aria-label="Close">
          <X className="h-4 w-4" />
        </button>
      </div>
    </div>
  );
}