Guarantee Band 1
Full-width guarantee band with an SVG gold rosette seal, the promise as a headline, the terms in plain words, a conditions check list, the founder’s signature line and optional pillars row.
Use it in a prompt
Use offer/guarantee-band 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/offer/guarantee-band.tsx. - Import it and pass your copy and images (Props tab):
import { GuaranteeBand } from "@/components/funneldna/offer/guarantee-band"
It restyles from the theme tokens on any wrapper (Theme tab). The specimen source is a complete working example.
pieces/offer/guarantee-band/component.tsx 359 lines
// Reassures buyers with the supplied refund terms, guarantee seal and signer before checkout.
"use client"
import * as React from "react"
import { Check } from "lucide-react"
export type GuaranteeBandProps = {
/** Accessible seal templates replace {days}, {dayLabel}, {sealLabel} and {sealFoot} as text. */
copy?: Partial<GuaranteeBandCopy>
sealGuaranteeImage?: string
textureImage?: string
days?: number
/** Word under the number in the fallback seal. */
dayLabel?: string
/** Caps line under it. */
sealLabel?: string
/** Last line in the seal. */
sealFoot?: string
/** A generated seal / badge image on a TRANSPARENT background (cut-out PNG/WebP). Gets a silhouette drop-shadow. Falls back to the SVG rosette. */
sealImage?: string
sealAlt?: string
/** Optional photographic background for the band; sits under a solid scrim. Omit for the plain band. */
backgroundImage?: string
/** Optional small line above the headline. */
kicker?: React.ReactNode
/** The guarantee as a headline: result, window, refund. Wrap the one key phrase in <mark> for the marker-highlighter stroke. */
headline: React.ReactNode
/** The terms in plain words — one or two short paragraphs. */
children?: React.ReactNode
/** Owner-supplied refund conditions, one per line. */
terms?: Array<GuaranteeTerm | React.ReactNode>
/** Who is signing the promise. */
signature?: {
name: string
printedName?: string
role?: string
/** Canonical presenter slot; portrait remains an alias. */
presenterImage?: string
portrait?: string
signatureImage?: string
}
/** Optional 2–4 pillars shown as one card under the band. */
pillars?: GuaranteePillar[]
className?: string
}
export function GuaranteeBand({
copy: copyOverrides,
days = 30,
dayLabel = "Day",
sealLabel = "Money Back",
sealFoot = "Guarantee",
sealImage,
sealGuaranteeImage = sealImage,
sealAlt,
backgroundImage,
textureImage = backgroundImage,
kicker,
headline,
children,
terms,
signature,
pillars,
className,
}: GuaranteeBandProps) {
const copy = { ...DEFAULT_COPY, ...Object.fromEntries(Object.entries(copyOverrides ?? {}).filter(([, value]) => value !== undefined)) }
const sealText = (template: string) => template.replace(/\{(days|dayLabel|sealLabel|sealFoot)\}/g, (_, key: string) => String({ days, dayLabel, sealLabel, sealFoot }[key as "days" | "dayLabel" | "sealLabel" | "sealFoot"]))
const portrait = signature?.presenterImage ?? signature?.portrait
const count = pillars?.length ?? 0
const layout = PILLAR_LAYOUT[(count === 2 || count === 4 ? count : 3) as 2 | 3 | 4]
return (
<section
className={cn("cf-guarantee-band relative isolate overflow-hidden", className)}
style={
{
"--gb-gold": "var(--band)",
"--gb-gold-ink": "var(--ink)",
"--gb-band": "color-mix(in oklch, var(--ink) 4%, var(--card))",
"--gb-line": "oklch(from var(--ink, #101828) l c h / 0.11)",
"--gb-seal-shadow":
"drop-shadow(0 2px 3px oklch(from var(--shadow, oklch(0.22 0.03 260)) l c h / 0.35)) drop-shadow(0 2px 3px oklch(from var(--shadow, oklch(0.22 0.03 260)) l c h / 0.35))",
"--gb-seal-shadow-lift":
"drop-shadow(0 2px 3px oklch(from var(--shadow, oklch(0.22 0.03 260)) l c h / 0.35)) drop-shadow(0 2px 3px oklch(from var(--shadow, oklch(0.22 0.03 260)) l c h / 0.35))",
backgroundColor: "var(--gb-band)",
color: "var(--ink, #101828)",
fontFamily: "var(--font-body, inherit)",
borderBlock: "1px solid oklch(from var(--gb-gold) l c h / 0.38)",
} as React.CSSProperties
}
>
<style>{MOTION_CSS}</style>
{textureImage && (
<>
<img
src={textureImage}
alt=""
aria-hidden
className="pointer-events-none absolute inset-0 -z-20 size-full object-cover"
/>
<div
aria-hidden
className="pointer-events-none absolute inset-0 -z-10"
style={{ backgroundColor: "oklch(from var(--gb-band) l c h / 0.86)" }}
/>
</>
)}
<div className="relative mx-auto max-w-6xl px-5 py-16 sm:px-8 sm:py-24">
<div className="grid items-center justify-items-center gap-8 md:grid-cols-[auto_minmax(0,1fr)] md:justify-items-start md:gap-14">
<div className="gb-seal shrink-0">
{sealGuaranteeImage ? (
<img
src={sealGuaranteeImage}
alt={sealAlt ?? sealText(copy.sealAlt)}
className="gb-seal-shadow block size-52 object-contain sm:size-60 md:size-64 lg:size-72"
style={{ backgroundColor: "transparent" }}
/>
) : (
<Seal
accessibleLabel={sealText(copy.fallbackSealLabel)}
days={days}
dayLabel={dayLabel}
sealLabel={sealLabel}
sealFoot={sealFoot}
className="size-44 sm:size-52 md:size-60"
/>
)}
</div>
<div className="min-w-0 text-center md:text-left">
{kicker && (
<p
className="mb-3 text-sm font-bold uppercase tracking-[0.18em]"
style={{ color: "var(--gb-gold-ink)" }}
>
{kicker}
</p>
)}
<h2
className="gb-headline text-balance mx-auto text-[2.125rem] font-extrabold leading-[1.08] tracking-[-0.025em] sm:text-5xl md:mx-0 lg:text-[3.5rem]"
style={{ fontFamily: "var(--font-display, inherit)", fontWeight: "var(--display-weight, 800)", letterSpacing: "var(--display-tracking, -.025em)", textTransform: "var(--display-case, none)", textWrap: "balance" } as React.CSSProperties}
>
{headline}
</h2>
{children && (
<div
className="mx-auto mt-5 grid max-w-[60ch] gap-4 text-lg leading-relaxed sm:mt-6 sm:text-xl md:mx-0"
style={{ textWrap: "pretty" } as React.CSSProperties}
>
{children}
</div>
)}
{terms && terms.length > 0 && (
<ul className="mx-auto mt-6 grid w-fit gap-2.5 text-left text-base font-semibold sm:text-lg md:mx-0">
{terms.map((t, i) => (
<li key={i} className="flex items-start gap-3 leading-snug">
<span
className="mt-0.5 grid size-6 shrink-0 place-items-center rounded-full"
style={{ backgroundColor: "var(--success)", color: "var(--card)" }}
>
<Check className="size-4" strokeWidth={3} aria-hidden />
</span>
<span style={{ textWrap: "pretty" } as React.CSSProperties}>{typeof t === "object" && t !== null && "text" in t ? t.text : t}</span>
</li>
))}
</ul>
)}
{signature && (
<div className="mt-7 flex items-center justify-center gap-4 md:justify-start">
{portrait && (
<img
src={portrait}
alt=""
className="size-14 shrink-0 rounded-full object-cover"
style={{ backgroundColor: "var(--card, #ffffff)", boxShadow: "0 0 0 3px var(--card, #ffffff),0 2px 3px oklch(from var(--shadow, oklch(0.22 0.03 260)) l c h / 0.35)" }}
/>
)}
<div className="text-left">
{signature.signatureImage ? (
<img src={signature.signatureImage} alt={signature.name} className="h-10 w-auto" />
) : (
<p className="dr-script text-3xl leading-tight" style={{ fontFamily: "var(--signature-font, var(--signature-face, var(--font-display)))" }}>{signature.name}</p>
)}
<p className="mt-1 text-sm">
<span className="font-bold">{signature.printedName ?? signature.name}</span>
{signature.role && <span style={{ color: "var(--muted, #4a5565)" }}> · {signature.role}</span>}
</p>
</div>
</div>
)}
</div>
</div>
{pillars && pillars.length > 0 && (
<ul
className={cn("mt-12 grid sm:mt-16", layout.grid)}
style={{
backgroundColor: "var(--card, #ffffff)",
borderRadius: "var(--card-radius, calc(var(--radius, 0.75rem) + 0.5rem))",
border: "1px solid var(--card-border, color-mix(in oklch, var(--ink) 22%, var(--card)))",
padding: "6px",
boxShadow: "var(--card-shadow, inset 0 0 0 6px color-mix(in oklch, var(--ink) 4%, var(--card)),0 2px 3px oklch(from var(--shadow, oklch(0.22 0.03 260)) l c h / 0.35))",
}}
>
{pillars.map((p, i) => (
<li
key={i}
className={cn(
"flex items-start gap-4 px-5 py-6 sm:px-7 sm:py-7",
i > 0 && cn("border-t border-[color:var(--gb-line)]", layout.cell)
)}
>
<span
className="grid size-12 shrink-0 place-items-center rounded-xl [&_svg]:size-6"
style={{
backgroundColor: "var(--success-soft)",
color: "var(--success)",
boxShadow: "inset 0 0 0 1px color-mix(in oklch, var(--gb-gold) 55%, var(--card)),inset 0 2px 0 oklch(from var(--card) l c h / 0.7),0 2px 3px oklch(from var(--shadow, oklch(0.22 0.03 260)) l c h / 0.35)",
}}
>
{p.icon ?? <Check aria-hidden />}
</span>
<div className="min-w-0">
<p
className="text-lg font-extrabold leading-snug"
style={{ fontFamily: "var(--font-display, inherit)", fontWeight: "var(--display-weight, 800)", textTransform: "var(--display-case, none)", color: "var(--ink, #101828)", textWrap: "balance" } as React.CSSProperties}
>
{p.title}
</p>
{p.body && (
<p
className="mt-1.5 text-base leading-relaxed"
style={{ color: "var(--muted, #4a5565)", textWrap: "pretty" } as React.CSSProperties}
>
{p.body}
</p>
)}
</div>
</li>
))}
</ul>
)}
</div>
</section>
)
}
export default GuaranteeBand
function cn(...values: Array<string | false | undefined>) {
return values.filter(Boolean).join(" ")
}
export type GuaranteePillar = {
/** A lucide icon. Defaults to a check. */
icon?: React.ReactNode
title: React.ReactNode
body?: React.ReactNode
}
const POINTS = 44
const STAR = Array.from({ length: POINTS * 2 }, (_, i) => {
const angle = (Math.PI * i) / POINTS
const radius = i % 2 ? 91 : 100
return `${(100 + radius * Math.cos(angle)).toFixed(2)},${(100 + radius * Math.sin(angle)).toFixed(2)}`
}).join(" ")
function Seal({
days,
dayLabel,
sealLabel,
sealFoot,
className,
accessibleLabel,
}: {
accessibleLabel: string
days: number
dayLabel: string
sealLabel: string
sealFoot: string
className?: string
}) {
return (
<svg
viewBox="0 0 200 200"
role="img"
aria-label={accessibleLabel}
className={cn("gb-seal-shadow", className)}
style={{ color: "var(--band-ink)", fontFamily: "var(--font-display, inherit)" }}
>
<polygon points={STAR} fill="var(--gb-gold)" />
<circle cx="100" cy="100" r="86" fill="none" stroke="currentColor" strokeWidth="2.5" />
<circle
cx="100"
cy="100"
r="79"
fill="none"
stroke="currentColor"
strokeWidth="1.5"
strokeDasharray="2.5 3.5"
opacity="0.7"
/>
<path
d="M20 6 9 17l-5-5"
transform="translate(91 32) scale(0.75)"
fill="none"
stroke="currentColor"
strokeWidth="3"
strokeLinecap="round"
strokeLinejoin="round"
/>
<text x="100" y="104" textAnchor="middle" fill="currentColor" fontSize="58" fontWeight="800" letterSpacing="-2">
{days}
</text>
<text x="100" y="124" textAnchor="middle" fill="currentColor" fontSize="13" fontWeight="800" letterSpacing="3">
{dayLabel.toUpperCase()}
</text>
<text x="100" y="145" textAnchor="middle" fill="currentColor" fontSize="11" fontWeight="700" letterSpacing="2">
{sealLabel.toUpperCase()}
</text>
<text x="100" y="160" textAnchor="middle" fill="currentColor" fontSize="9.5" fontWeight="700" letterSpacing="2.5">
{sealFoot.toUpperCase()}
</text>
</svg>
)
}
const PILLAR_LAYOUT = {
2: { grid: "md:grid-cols-2", cell: "md:border-t-0 md:border-l" },
3: { grid: "md:grid-cols-3", cell: "md:border-t-0 md:border-l" },
4: { grid: "lg:grid-cols-4", cell: "lg:border-t-0 lg:border-l" },
} as const
export type GuaranteeTerm = { text: React.ReactNode }
const DEFAULT_COPY = {
sealAlt: "{days}-{dayLabel} {sealLabel} {sealFoot}",
fallbackSealLabel: "{days}-{dayLabel} {sealLabel} {sealFoot} seal",
}
type GuaranteeBandCopy = typeof DEFAULT_COPY
// The marker default (#fae37c) is the documented highlighter exception; themes recolour it through --marker.
const MOTION_CSS = `
.cf-guarantee-band{--gb-marker:var(--marker, #fae37c)}
@keyframes gb-seal-in{from{opacity:0;transform:scale(.88) rotate(-10deg)}to{opacity:1;transform:none}}
@keyframes gb-mark-in{from{background-size:0% .5em}to{background-size:100% .5em}}
.cf-guarantee-band .gb-seal{animation:gb-seal-in .8s cubic-bezier(.2,.8,.2,1) both}
.cf-guarantee-band .gb-seal-shadow{filter:var(--gb-seal-shadow);transition:transform .35s cubic-bezier(.2,.8,.2,1),filter .35s ease}
.cf-guarantee-band .gb-seal:hover .gb-seal-shadow{transform:translateY(-4px) rotate(-2deg);filter:var(--gb-seal-shadow-lift)}
.cf-guarantee-band .gb-headline mark{color:inherit;font:inherit;background-color:transparent;padding:0 .16em 0 .1em;margin:0 -.08em 0 -.04em;border-radius:.08em .28em .12em .32em;background-image:linear-gradient(var(--gb-marker),var(--gb-marker));background-repeat:no-repeat;background-size:100% .5em;background-position:0 86%;-webkit-box-decoration-break:clone;box-decoration-break:clone;animation:gb-mark-in .7s cubic-bezier(.3,.7,.2,1) .35s both}
@media (prefers-reduced-motion:reduce){.cf-guarantee-band .gb-seal{animation:none}.cf-guarantee-band .gb-seal-shadow{transition:none}.cf-guarantee-band .gb-seal:hover .gb-seal-shadow{transform:none}.cf-guarantee-band .gb-headline mark{animation:none;background-size:100% .5em}}
`
pieces/offer/guarantee-band/specimen.tsx 67 lines
"use client"
import { slot } from "../../slots";
import __studioImage4a10853f from "../assets/2e24621a14fe0a6f.webp";
import * as React from "react"
import { Download, Infinity as InfinityIcon, Lock } from "lucide-react"
import { GuaranteeBand } from "../guarantee-band"
import defaults from "../../studio-defaults.json"
export const states = ["default"]
const sample = defaults.sample
/**
* OWNER SLOT: the real refund conditions for this offer, one per line
* (e.g. how to request a refund, what is returned). None are supplied for
* this offer, so the list stays empty and the band states only the supplied
* 30-day money-back guarantee. Add the owner's real terms here and they
* render as a green check list under the paragraphs.
*/
const OWNER_TERMS: React.ReactNode[] = []
export default function GuaranteeBandSpecimen({ state = "default" }: { state?: string }) {
return (
<div data-state={state}>
<GuaranteeBand
days={30}
sealGuaranteeImage={slot("seal-guarantee", __studioImage4a10853f)}
sealAlt="30-day money-back guarantee seal"
headline={
<>
Try {sample.name} for 30 days. <mark>Love it or get your money back.</mark>
</>
}
terms={OWNER_TERMS}
pillars={[
{
icon: <Download aria-hidden />,
title: sample.reassurance[0],
body: "The guide, workbook, and checklist in one download.",
},
{
icon: <InfinityIcon aria-hidden />,
title: "One payment, lifetime access",
body: "Pay once. The whole kit is yours to keep.",
},
{
icon: <Lock aria-hidden />,
title: "Secure checkout",
body: "Instant download the moment you order.",
},
]}
>
<p className="font-medium text-[var(--ink)]">
Get {sample.name} today for <strong className="font-extrabold">{sample.price}</strong> (regular value{" "}
{sample.regularPrice}). Plan your funnel, write your page copy, and check every step before you launch.
</p>
<p className="text-[var(--muted)]">
Every order is covered by our <strong className="font-bold text-[var(--ink)]">{sample.guarantee}</strong>.
Download the kit, put it to work on your funnel, and take a full 30 days to make sure it is right for you.
</p>
</GuaranteeBand>
</div>
)
}
| Name | Type | Details |
|---|---|---|
copy OptionalGuaranteeBand |
Partial<GuaranteeBandCopy> |
|
sealGuaranteeImage OptionalGuaranteeBand |
string |
Default sealImage
|
textureImage OptionalGuaranteeBand |
string |
Default backgroundImage
|
days OptionalGuaranteeBand |
number |
Default 30
|
dayLabel OptionalGuaranteeBand |
string |
Default "Day"
|
sealLabel OptionalGuaranteeBand |
string |
Default "Money Back"
|
sealFoot OptionalGuaranteeBand |
string |
Default "Guarantee"
|
sealImage OptionalGuaranteeBand |
string |
|
sealAlt OptionalGuaranteeBand |
string |
|
backgroundImage OptionalGuaranteeBand |
string |
|
kicker OptionalGuaranteeBand |
React.ReactNode |
|
headline RequiredGuaranteeBand |
React.ReactNode |
|
children OptionalGuaranteeBand |
React.ReactNode |
|
terms OptionalGuaranteeBand |
Array<GuaranteeTerm | React.ReactNode> |
|
signature OptionalGuaranteeBand |
{
name: string
printedName?: string
role?: string
/** Canonical presenter slot; portrait remains an alias. */
presenterImage?: string
portrait?: string
signatureImage?: string
} |
|
pillars OptionalGuaranteeBand |
GuaranteePillar[] |
|
className OptionalGuaranteeBand |
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.
--card-border--card-radius--card-shadow- Cards and panels: radius, border and shadow.
--display-case--display-tracking--display-weight- Headlines: weight, letter case and tracking.
--marker- The highlighter colour behind key phrases.
Image slots
Filled from the brand’s images; the specimen ships its own defaults.
seal-guarantee- The money-back guarantee seal, on a transparent background.
-
2e24621a14fe0a6f.webp
image/webp · 215 KB
-
b77916eca54aa689.webp
image/webp · 8.32 KB
-
d435db6662febfcf.webp
image/webp · 10 KB
-
f0a5d3e1e61804ba.webp
image/webp · 11.6 KB