Skip to content
Blocks

Marketing Footer

A complete marketing footer section, ready to adapt to your product.

Open ↗

Make it yours.

Install the editable source and its dependencies into your React + Tailwind project.

Scroll horizontally for long lines
pnpm dlx shadcn@4.0.8 add http://localhost:3000/r/marketing-footer.json

Use it

Scroll horizontally for long lines
"use client";
import {MarketingFooter} from '@/components/jez-ui/blocks/marketing-footer';

export default function Example(){

return <><MarketingFooter/></>;
}

Props & types

Scroll horizontally for long lines
{
  brand?: string;
  items?: { label: string; href: string }[];
  className?: string;
}

Source

View 2 source files

registry/blocks/marketing-footer.tsx

Scroll horizontally for long lines
"use client";
import * as React from "react";
import { cn } from "../ui/utils";
export function MarketingFooter({
  brand = "Forma",
  items = [
    { label: "Contact", href: "#contact" },
    { label: "About", href: "#about" },
  ],
  className,
}: {
  brand?: string;
  items?: { label: string; href: string }[];
  className?: string;
}) {
  return (
    <footer
      className={cn(
        "mt-16 flex flex-wrap items-center justify-between gap-6 border-t border-border py-8 text-sm",
        className,
      )}
    >
      <span className="font-display text-xl font-medium">{brand}</span>
      <nav aria-label="Footer" className="flex gap-5">
        {items.map((i) => (
          <a key={i.href} href={i.href}>
            {i.label}
          </a>
        ))}
      </nav>
      <span className="text-xs text-muted-foreground">
        A Jez UI demo template.
      </span>
    </footer>
  );
}

registry/ui/utils.ts

Scroll horizontally for long lines
import { clsx, type ClassValue } from "clsx";
import { twMerge } from "tailwind-merge";
export function cn(...values: ClassValue[]) {
  return twMerge(clsx(values));
}

Dependencies

clsx@2.1.1 · tailwind-merge@3.5.0

Accessibility & behaviour

Provide meaningful labels and preserve keyboard focus styles. Check contrast when customising theme colours.

Read the accessibility and performance guide →