Page Footer 3
Quiet compliance close for squeeze and opt-in pages. A slim hello-strip restates the free offer with one
Use it in a prompt
Use content/page-footer-3 from the FunnelDNA library. Follow the skill and theme contract. Ask me for the copy, images, and brand details you need; do not invent proof.
Paste into Claude or ChatGPT with FunnelDNA connected (MCP setup), or alongside the skill.
Use it in code
- Save
component.tsx(Code tab) ascomponents/funneldna/content/page-footer-3.tsx. - Import it and pass your copy and images (Props tab):
import { PageFooter3 } from "@/components/funneldna/content/page-footer-3"
It restyles from the theme tokens on any wrapper (Theme tab). The specimen source is a complete working example.
pieces/content/page-footer-3/component.tsx 353 lines
// layout: hello-strip
// Quiet compliance close for squeeze and opt-in pages. A slim hello-strip restates the free offer with one
// two-line secondary button back to the form. Below it sit the wordmark, the legal links, the results
// disclaimer with an inline 'Read the full disclaimer' disclosure, an optional platform notice and the copyright.
// Trust by restraint: nothing here pulls the lead away, and the only action is the opt-in.
// Theme notes: every colour reads the theme tokens or an OKLCH recipe on them. Hex appears only as the last
// fallback inside var(). Disclaimer text comes only from props, and those props default to empty.
import * as React from 'react';
import { ChevronDown, Mail } from 'lucide-react';
export type PageFooter3Link = { label: string; href: string };
export type PageFooter3Paragraph = {
/** Bold lead-in phrase that opens the paragraph, e.g. 'No earnings claims.' */
lead?: string;
text: string;
};
export type PageFooter3State = 'default' | 'hover' | 'active' | 'disabled';
export type PageFooter3Props = {
/** Shows the hello-strip that restates the free offer. */
showOffer?: boolean;
/** Bold lead-in of the strip line. */
offerLead?: string;
/** Rest of the strip line, restating the free offer. */
offerText?: string;
/** Main line inside the button. */
label?: string;
/** Benefit line under the label, inside the button. */
sublabel?: string;
/** Where the button goes (usually the opt-in form anchor). Without it the action is a <button>. */
href?: string;
/** Called when the button is clicked; the builder scrolls to or opens the form. */
onAction?: () => void;
/** Lead magnet cut-out on a transparent background (slot 'product'). */
productImage?: string;
productImageAlt?: string;
brandName?: string;
/** Logo image (slot 'logo'). Without it the text wordmark shows. */
logoImage?: string;
/** Makes the wordmark a link. */
brandHref?: string;
/** Shows the small mail mark beside the text wordmark. */
brandIcon?: boolean;
links?: PageFooter3Link[];
/** Accessible name of the legal links navigation. */
linksLabel?: string;
/** Supplied one-line results or earnings disclaimer. Hidden when empty. */
disclaimerSummary?: string;
/** Supplied full disclaimer, shown inline by the disclosure. Hidden when empty. */
disclaimer?: PageFooter3Paragraph[];
disclaimerOpenLabel?: string;
disclaimerCloseLabel?: string;
/** Accessible name of the expanded disclaimer region. */
disclaimerLabel?: string;
/** Starts with the full disclaimer open. */
defaultDisclaimerOpen?: boolean;
/** Optional platform disclaimer line. */
platformNotice?: string;
/** Named placeholders: {year} and {brand}. */
copyrightTemplate?: string;
/** Year in the copyright. Defaults to the current year. */
year?: number | string;
/** Forced button state for previews. */
state?: PageFooter3State;
className?: string;
};
export function PageFooter3(props: PageFooter3Props) {
const {
showOffer = true,
offerLead = 'Still deciding?',
offerText = 'Your free guide is one email away.',
label = 'Send Me The Free Guide',
sublabel = 'Back to the form · takes 30 seconds',
href,
onAction,
productImage,
productImageAlt = '',
brandName = 'Your Brand',
logoImage,
brandHref,
brandIcon = true,
links = DEFAULT_LINKS,
linksLabel = 'Legal',
disclaimerSummary = '',
disclaimer = [],
disclaimerOpenLabel = 'Read the full disclaimer',
disclaimerCloseLabel = 'Hide the full disclaimer',
disclaimerLabel = 'Full disclaimer',
defaultDisclaimerOpen = false,
platformNotice,
copyrightTemplate = '© {year} {brand}. All rights reserved.',
year,
state = 'default',
className,
} = props;
const uid = React.useId();
const toggleId = `${uid}-toggle`;
const panelId = `${uid}-panel`;
const [open, setOpen] = React.useState(defaultDisclaimerOpen);
const paragraphs = (disclaimer ?? []).filter((p) => Boolean(p && p.text));
const hasWell = Boolean(disclaimerSummary) || paragraphs.length > 0;
const shownYear = year ?? new Date().getFullYear();
const copyright = copyrightTemplate
.split('{year}')
.join(String(shownYear))
.split('{brand}')
.join(brandName);
const disabled = state === 'disabled';
const forced = state === 'hover' || state === 'active' ? state : undefined;
const handleClick = (event: React.MouseEvent<HTMLAnchorElement | HTMLButtonElement>) => {
if (disabled) {
event.preventDefault();
return;
}
onAction?.();
};
const buttonInner = (
<>
<span className='pf3-btn-label'>{label}</span>
{sublabel ? <span className='pf3-btn-sub'>{sublabel}</span> : null}
</>
);
const action =
href && !disabled ? (
<a className='pf3-btn' href={href} onClick={handleClick} data-state={forced}>
{buttonInner}
</a>
) : (
<button
type='button'
className='pf3-btn'
onClick={handleClick}
disabled={disabled}
data-state={forced}
>
{buttonInner}
</button>
);
const mark = logoImage ? (
<img className='pf3-logo' src={logoImage} alt={brandName} />
) : (
<>
{brandIcon ? (
<span className='pf3-disc' aria-hidden='true'>
<Mail size={20} strokeWidth={2.5} />
</span>
) : null}
<span className='pf3-brand-name'>{brandName}</span>
</>
);
const rootClass = className ? `cf-page-footer-3 ${className}` : 'cf-page-footer-3';
return (
<footer className={rootClass}>
<style>{CSS}</style>
{showOffer && label ? (
<div className='pf3-strip'>
<div className='pf3-strip-inner'>
<div className='pf3-pitch'>
{productImage ? (
<img
className='pf3-cover'
src={productImage}
alt={productImageAlt}
width={72}
height={72}
loading='lazy'
decoding='async'
/>
) : null}
{offerLead || offerText ? (
<p className='pf3-line'>
{offerLead ? <strong>{offerLead}</strong> : null}
{offerLead && offerText ? ' ' : null}
{offerText}
</p>
) : null}
</div>
{action}
</div>
</div>
) : null}
<div className='pf3-main'>
<div className='pf3-col'>
{brandHref ? (
<a className='pf3-brand pf3-brand-link' href={brandHref}>
{mark}
</a>
) : (
<p className='pf3-brand'>{mark}</p>
)}
{links.length > 0 ? (
<nav aria-label={linksLabel}>
<ul className='pf3-links'>
{links.map((link) => (
<li key={`${link.href}-${link.label}`}>
<a href={link.href}>{link.label}</a>
</li>
))}
</ul>
</nav>
) : null}
{hasWell ? (
<div className='pf3-well'>
{disclaimerSummary ? <p className='pf3-summary'>{disclaimerSummary}</p> : null}
{paragraphs.length > 0 ? (
<>
<button
type='button'
id={toggleId}
className='pf3-toggle'
aria-expanded={open}
aria-controls={panelId}
onClick={() => setOpen((value) => !value)}
>
<span>{open ? disclaimerCloseLabel : disclaimerOpenLabel}</span>
<ChevronDown size={16} strokeWidth={2.5} aria-hidden='true' />
</button>
<div
id={panelId}
className='pf3-panel'
role='region'
aria-label={disclaimerLabel}
data-open={open ? '' : undefined}
>
<div className='pf3-panel-inner'>
<div className='pf3-full'>
{paragraphs.map((p, index) => (
<p key={`${index}-${p.text.slice(0, 16)}`}>
{p.lead ? (
<>
<strong>{p.lead}</strong>{' '}
</>
) : null}
{p.text}
</p>
))}
</div>
</div>
</div>
</>
) : null}
</div>
) : null}
<div className='pf3-fine'>
{platformNotice ? <p>{platformNotice}</p> : null}
<p>{copyright}</p>
</div>
</div>
</div>
</footer>
);
}
export default PageFooter3;
const DEFAULT_LINKS: PageFooter3Link[] = [
{ label: 'Privacy policy', href: '#privacy' },
{ label: 'Terms of use', href: '#terms' },
{ label: 'Contact', href: '#contact' },
];
const CSS = `
.cf-page-footer-3{--pf3-gutter:clamp(16px,5vw,48px);--pf3-well:color-mix(in oklch,var(--ink,#101828) 4%,var(--surface,#ffffff));--pf3-focus:var(--field-focus,var(--accent,#2563eb));--pf3-ease:cubic-bezier(.2,.7,.2,1);display:block;background:var(--surface,#ffffff);color:var(--ink,#101828);font-family:var(--font-body,system-ui,sans-serif);font-size:clamp(1.0625rem,1.25vw,1.125rem);line-height:1.5;overflow-x:clip}
.cf-page-footer-3 *,.cf-page-footer-3 *::before,.cf-page-footer-3 *::after{box-sizing:border-box}
.cf-page-footer-3 :where(p,ul){margin:0}
.cf-page-footer-3 ul{padding:0;list-style:none}
.cf-page-footer-3 .pf3-strip{background:var(--pf3-well);padding:24px var(--pf3-gutter)}
.cf-page-footer-3 .pf3-strip-inner{max-width:1120px;margin-inline:auto;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:16px 32px}
.cf-page-footer-3 .pf3-pitch{display:flex;align-items:center;gap:16px;min-width:0;flex:0 1 auto}
.cf-page-footer-3 .pf3-cover{flex:none;display:block;width:72px;height:72px;object-fit:contain;filter:drop-shadow(0 2px 3px oklch(from var(--shadow,oklch(0.22 0.03 260)) l c h / .3)) drop-shadow(0 10px 12px oklch(from var(--shadow,oklch(0.22 0.03 260)) l c h / .2))}
.cf-page-footer-3 .pf3-line{max-width:40rem;color:var(--ink,#101828);font-weight:500;line-height:1.4;text-wrap:pretty}
.cf-page-footer-3 .pf3-line strong{font-weight:800}
.cf-page-footer-3 .pf3-btn{flex:none;display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:56px;padding:8px 24px;border:1px solid var(--button-2-border,transparent);border-radius:var(--button-radius,var(--radius,12px));background:var(--button-2-bg,var(--secondary,#e9edf3));color:var(--button-2-ink,var(--secondary-ink,#101828));box-shadow:var(--button-2-shadow,var(--shadow-sm,0 1px 1px oklch(0.22 0.03 260 / .18),0 1px 3px oklch(0.22 0.03 260 / .14)));font-family:var(--button-font,var(--font-display,inherit));text-transform:var(--button-case,none);text-align:center;text-decoration:none;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:transform .16s ease,box-shadow .16s ease,background-color .16s ease}
.cf-page-footer-3 .pf3-btn-label{font-size:1.125rem;font-weight:var(--button-weight,800);line-height:1.15;white-space:nowrap}
.cf-page-footer-3 .pf3-btn-sub{font-family:var(--font-body,system-ui,sans-serif);font-size:.9375rem;font-weight:600;line-height:1.25;text-transform:none;text-wrap:pretty}
.cf-page-footer-3 .pf3-btn:where(:hover,[data-state=hover]):not(:disabled){background:color-mix(in oklch,var(--ink,#101828) 7%,var(--button-2-bg,var(--secondary,#e9edf3)));transform:translateY(-1px)}
.cf-page-footer-3 .pf3-btn:where(:active,[data-state=active]):not(:disabled){background:color-mix(in oklch,var(--ink,#101828) 12%,var(--button-2-bg,var(--secondary,#e9edf3)));transform:translateY(1px);box-shadow:inset 0 2px 3px oklch(from var(--shadow,oklch(0.22 0.03 260)) l c h / .22)}
.cf-page-footer-3 .pf3-btn:focus-visible{outline:3px solid var(--pf3-focus);outline-offset:3px}
.cf-page-footer-3 .pf3-btn:disabled{cursor:not-allowed;background:color-mix(in oklch,var(--ink,#101828) 6%,var(--surface,#ffffff));color:var(--muted,#475467);box-shadow:none;transform:none}
.cf-page-footer-3 .pf3-main{padding:clamp(40px,5vw,56px) var(--pf3-gutter) clamp(48px,6vw,72px)}
.cf-page-footer-3 .pf3-col{max-width:46rem;margin-inline:auto;display:flex;flex-direction:column;align-items:center;gap:24px;text-align:center}
.cf-page-footer-3 .pf3-brand{display:inline-flex;align-items:center;gap:12px;color:var(--ink,#101828);font-family:var(--font-display,inherit);font-size:clamp(1.3125rem,1.8vw,1.625rem);font-weight:var(--display-weight,800);letter-spacing:var(--display-tracking,-.025em);line-height:1.15;text-transform:var(--display-case,none);text-decoration:none}
.cf-page-footer-3 .pf3-brand-link{border-radius:8px}
.cf-page-footer-3 .pf3-brand-name{text-decoration-line:underline;text-decoration-color:transparent;text-decoration-thickness:2px;text-underline-offset:.2em;transition:text-decoration-color .16s ease}
.cf-page-footer-3 .pf3-brand-link:hover .pf3-brand-name,.cf-page-footer-3 .pf3-brand-link:focus-visible .pf3-brand-name{text-decoration-color:currentColor}
.cf-page-footer-3 .pf3-brand-link:focus-visible{outline:3px solid var(--pf3-focus);outline-offset:4px}
.cf-page-footer-3 .pf3-disc{flex:none;display:inline-grid;place-items:center;width:40px;height:40px;border-radius:999px;background:var(--accent-fill,var(--accent,#2563eb));color:var(--accent-fill-ink,var(--card,#ffffff))}
.cf-page-footer-3 .pf3-logo{display:block;height:40px;width:auto;max-width:220px;object-fit:contain}
.cf-page-footer-3 .pf3-links{display:flex;flex-wrap:wrap;justify-content:center;gap:0 8px}
.cf-page-footer-3 .pf3-links a{display:inline-flex;align-items:center;min-height:44px;padding:0 12px;border-radius:8px;color:var(--muted,#475467);font-size:.9375rem;font-weight:600;line-height:1.2;text-decoration-line:underline;text-decoration-color:transparent;text-decoration-thickness:1.5px;text-underline-offset:.22em;transition:color .16s ease,text-decoration-color .16s ease}
.cf-page-footer-3 .pf3-links a:hover,.cf-page-footer-3 .pf3-links a:focus-visible{color:var(--link,var(--accent,#2563eb));text-decoration-color:currentColor}
.cf-page-footer-3 .pf3-links a:focus-visible{outline:3px solid var(--pf3-focus);outline-offset:2px}
.cf-page-footer-3 .pf3-well{width:100%;padding:20px clamp(16px,3vw,28px) 16px;border-radius:var(--radius,12px);background:var(--pf3-well)}
.cf-page-footer-3 .pf3-summary{max-width:64ch;margin-inline:auto;color:var(--muted,#475467);font-size:.9375rem;font-weight:500;line-height:1.45;text-wrap:pretty}
.cf-page-footer-3 .pf3-toggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;margin-top:4px;padding:0 12px;border:0;border-radius:8px;background:transparent;color:var(--ink,#101828);font-family:var(--font-body,system-ui,sans-serif);font-size:.9375rem;font-weight:700;line-height:1.2;text-decoration-line:underline;text-decoration-color:oklch(from var(--ink,#101828) l c h / .3);text-decoration-thickness:1.5px;text-underline-offset:.22em;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:text-decoration-color .16s ease,background-color .16s ease}
.cf-page-footer-3 .pf3-toggle:hover{text-decoration-color:currentColor;background:color-mix(in oklch,var(--ink,#101828) 5%,transparent)}
.cf-page-footer-3 .pf3-toggle:active{background:color-mix(in oklch,var(--ink,#101828) 9%,transparent)}
.cf-page-footer-3 .pf3-toggle:focus-visible{outline:3px solid var(--pf3-focus);outline-offset:2px;text-decoration-color:currentColor}
.cf-page-footer-3 .pf3-toggle svg{flex:none;transition:transform .36s var(--pf3-ease)}
.cf-page-footer-3 .pf3-toggle[aria-expanded=true] svg{transform:rotate(180deg)}
.cf-page-footer-3 .pf3-panel{display:grid;grid-template-rows:0fr;transition:grid-template-rows .36s var(--pf3-ease)}
.cf-page-footer-3 .pf3-panel[data-open]{grid-template-rows:1fr}
.cf-page-footer-3 .pf3-panel-inner{min-height:0;overflow:hidden;visibility:hidden;transition:visibility 0s linear .36s}
.cf-page-footer-3 .pf3-panel[data-open] .pf3-panel-inner{visibility:visible;transition-delay:0s}
.cf-page-footer-3 .pf3-full{display:grid;gap:12px;max-width:64ch;margin-inline:auto;padding:12px 0 8px;opacity:.82;transform:translateY(-4px);transition:opacity .36s var(--pf3-ease),transform .36s var(--pf3-ease)}
.cf-page-footer-3 .pf3-panel[data-open] .pf3-full{opacity:1;transform:none}
.cf-page-footer-3 .pf3-full p{color:var(--muted,#475467);font-size:.9375rem;line-height:1.55;text-wrap:pretty}
.cf-page-footer-3 .pf3-full strong{color:var(--ink,#101828);font-weight:700}
.cf-page-footer-3 .pf3-fine{display:grid;gap:4px;color:var(--muted,#475467);font-size:.875rem;font-weight:500;line-height:1.45;text-wrap:pretty}
@media (max-width:640px){
.cf-page-footer-3 .pf3-strip{padding-block:28px}
.cf-page-footer-3 .pf3-strip-inner{flex-direction:column;gap:16px}
.cf-page-footer-3 .pf3-pitch{flex-direction:column;gap:12px;text-align:center}
.cf-page-footer-3 .pf3-btn{width:100%}
.cf-page-footer-3 .pf3-btn-label{white-space:normal;text-wrap:balance}
.cf-page-footer-3 .pf3-main{padding-top:40px}
.cf-page-footer-3 .pf3-col{gap:20px}
}
@media (prefers-reduced-motion:reduce){
.cf-page-footer-3 .pf3-btn,.cf-page-footer-3 .pf3-toggle,.cf-page-footer-3 .pf3-toggle svg,.cf-page-footer-3 .pf3-panel,.cf-page-footer-3 .pf3-panel-inner,.cf-page-footer-3 .pf3-full,.cf-page-footer-3 .pf3-links a,.cf-page-footer-3 .pf3-brand-name{transition:none}
.cf-page-footer-3 .pf3-btn:where(:hover,:active,[data-state]){transform:none}
.cf-page-footer-3 .pf3-full{transform:none}
}
@media (forced-colors:active){
.cf-page-footer-3 .pf3-btn{border-color:ButtonText}
}
`;
pieces/content/page-footer-3/specimen.tsx 51 lines
import __studioImage07d390f3 from "../assets/6fb6815d7787a0d1.webp";
// Specimen: the quiet compliance close for a fictional free lead magnet (Inbox Profit Guide) on a squeeze page.
import * as React from 'react';
import { PageFooter3, type PageFooter3State } from '../page-footer-3';
import { slot } from '../../slots';
export const states = ['default', 'hover', 'active', 'disabled'];
export default function PageFooter3Specimen({ state = 'default' }: { state?: PageFooter3State }) {
return (
<PageFooter3
state={state}
offerLead='Still thinking it over?'
offerText='Your free Inbox Profit Guide is one email away.'
label='Send Me The Free Guide'
sublabel='Back to the form · 30 seconds, free'
onAction={() => {}}
productImage={slot(
'product',
__studioImage07d390f3
)}
productImageAlt='Inbox Profit Guide cover'
brandName='Inbox Profit'
logoImage={slot('logo', '') || undefined}
links={[
{ label: 'Privacy policy', href: '#privacy' },
{ label: 'Terms of use', href: '#terms' },
{ label: 'Email policy', href: '#email-policy' },
{ label: 'Contact', href: '#contact' },
]}
disclaimerSummary='Results vary. We make no earnings claims, and what you get depends on your own work and experience.'
disclaimer={[
{
lead: 'No earnings claims.',
text: 'The Inbox Profit Guide teaches email marketing methods for course creators. Any examples show how the methods work. They are not a promise or prediction of what you will earn.',
},
{
lead: 'Your results depend on you.',
text: 'What you get from this guide depends on your offer, your audience, your effort and many factors outside our control.',
},
{
lead: 'Not professional advice.',
text: 'Nothing in this guide is legal, financial or tax advice. Talk to a qualified professional before you make decisions for your business.',
},
]}
platformNotice='This site is not part of, or endorsed by, any social media platform or email service provider.'
copyrightTemplate='© {year} {brand}. All rights reserved.'
year={2026}
/>
);
}
| Name | Type | Details |
|---|---|---|
showOffer OptionalPageFooter3 |
boolean |
|
offerLead OptionalPageFooter3 |
string |
|
offerText OptionalPageFooter3 |
string |
|
label OptionalPageFooter3 |
string |
|
sublabel OptionalPageFooter3 |
string |
|
href OptionalPageFooter3 |
string |
|
onAction OptionalPageFooter3 |
() => void |
|
productImage OptionalPageFooter3 |
string |
|
productImageAlt OptionalPageFooter3 |
string |
|
brandName OptionalPageFooter3 |
string |
|
logoImage OptionalPageFooter3 |
string |
|
brandHref OptionalPageFooter3 |
string |
|
brandIcon OptionalPageFooter3 |
boolean |
|
links OptionalPageFooter3 |
PageFooter3Link[] |
|
linksLabel OptionalPageFooter3 |
string |
|
disclaimerSummary OptionalPageFooter3 |
string |
|
disclaimer OptionalPageFooter3 |
PageFooter3Paragraph[] |
|
disclaimerOpenLabel OptionalPageFooter3 |
string |
|
disclaimerCloseLabel OptionalPageFooter3 |
string |
|
disclaimerLabel OptionalPageFooter3 |
string |
|
defaultDisclaimerOpen OptionalPageFooter3 |
boolean |
|
platformNotice OptionalPageFooter3 |
string |
|
copyrightTemplate OptionalPageFooter3 |
string |
|
year OptionalPageFooter3 |
number | string |
|
state OptionalPageFooter3 |
PageFooter3State |
|
className OptionalPageFooter3 |
string |
Theme roles it reads
Set by the theme bar, a preset or your brand. Colours come from the base tokens (--surface, --ink, --cta…) every piece uses.
--button-case--button-font--button-radius--button-weight- Main CTA button: background, ink, font, weight, case, radius and shadow.
--button-2-bg--button-2-border--button-2-ink--button-2-shadow- Secondary button.
--display-case--display-tracking--display-weight- Headlines: weight, letter case and tracking.
--field-focus- Form inputs: background, ink, border, radius and focus colour.
Image slots
Filled from the brand’s images; the specimen ships its own defaults.
logo- The brand’s logo mark.
product- The main product shot or cover (ebook, kit, bottle).
-
6fb6815d7787a0d1.webp
image/webp · 67 KB