DDBS UI
section

Compliance Footer

A footer for regulated commerce: a dark card with a bold headline, link columns with Rx marks, contacts, a trust badge, a highlighted CTA, and a privacy-choices bar. Harvested from Good Life Meds.

npx shadcn@latest add https://ui.develop-better-solutions.com/r/compliance-footer.json
Dependencies:lucide-react
Fullscreen

Usage

compliance-footer-example.tsx
"use client";

import { ComplianceFooter } from "@dbs/ui";
import { Instagram, Facebook } from "lucide-react";

const columns = [
  {
    heading: "Categories",
    links: [
      { label: "Weight Loss", href: "#" },
      { label: "Daily Wellness", href: "#" },
      { label: "Sexual Health", href: "#" },
      { label: "Hair", href: "#" },
    ],
  },
  {
    heading: "Popular",
    links: [
      { label: "Compounded Tirzepatide", href: "#", rx: true },
      { label: "Oral Tirzepatide", href: "#", rx: true },
      { label: "NAD+ Nasal Spray", href: "#", rx: true },
      { label: "Hair Regrowth", href: "#" },
    ],
  },
  {
    heading: "Resources",
    links: [
      { label: "Health Guide", href: "#" },
      { label: "Help Center", href: "#" },
      { label: "BMI Calculator", href: "#" },
      { label: "Return Policy", href: "#" },
    ],
  },
];

const badge = (
  <svg viewBox="0 0 44 50" role="img" aria-label="Certified" className="h-14 w-12">
    <path d="M22 1 42 12.5v25L22 49 2 37.5v-25Z" fill="#2e3a8c" stroke="#fff" strokeOpacity="0.8" strokeWidth="1.5" />
    <text x="22" y="24" textAnchor="middle" fontSize="6.5" fontWeight="700" fill="#fff">Certified</text>
    <circle cx="22" cy="40" r="5" fill="#f9b331" />
    <path d="m19.5 40 2 2 3.5-4" stroke="#0b0b0b" strokeWidth="1.4" fill="none" />
  </svg>
);

export default function ComplianceFooterExample() {
  return (
    <ComplianceFooter
      brand="Wellstone"
      socials={[
        { label: "Instagram", icon: <Instagram className="size-4" /> },
        { label: "Facebook", icon: <Facebook className="size-4" /> },
      ]}
      headline={
        <>
          Transform your health,
          <span className="block">transform your life</span>
        </>
      }
      columns={columns}
      contacts={[
        { label: "Support & orders", value: "care@goodlife.example", href: "#" },
        { label: "All other questions", value: "info@goodlife.example", href: "#" },
      ]}
      badge={badge}
      cta={{ eyebrow: "Ready to get started?", title: "Find your treatment" }}
      memberAction={{ label: "Member Login" }}
      copyright="© 2026 Wellstone LLC. All rights reserved."
      legal={[
        { label: "Privacy Policy", href: "#" },
        { label: "Terms & Conditions", href: "#" },
        { label: "Telehealth Consent", href: "#" },
      ]}
      onPrivacyChoices={() => {}}
    />
  );
}