Order Bump 4
Order bump block: the add-on staged on a lit band, its price set against what the alternative costs, then one checkbox to add it.
Use it in a prompt
Use offer/order-bump-4 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/order-bump-4.tsx. - Import it and pass your copy and images (Props tab):
import { OrderBump4 } from "@/components/funneldna/offer/order-bump-4"
It restyles from the theme tokens on any wrapper (Theme tab). The specimen source is a complete working example.
pieces/offer/order-bump-4/component.tsx 321 lines
// layout: product-stage
// Order bump block: the add-on staged on a lit band, its price set against what the alternative costs, then one checkbox to add it.
"use client"
import * as React from "react"
import { Check, ChevronDown, Mail } from "lucide-react"
import { FX_HOST, Glow, Pattern } from "../fx/fx"
export type OrderBump4Item = {
name: string
/** Short line under the name, e.g. "5 emails that introduce you". */
detail?: string
}
export type OrderBump4Props = {
state?: "default" | "hover" | "active" | "disabled"
headline?: React.ReactNode
lead?: React.ReactNode
/** Main line of the checkbox strip, first person with the product named. */
yesLabel?: React.ReactNode
/** Second strip line; {price} is replaced with `price`. Hidden when there is no price. */
priceLine?: string
/** Bump price, pre-formatted, e.g. "$27". Hidden when absent. */
price?: string
/** Chip above the bump price on the stage. */
priceLabel?: string
/** Line under the bump price on the stage. */
priceNote?: string
/** What the supplied alternative costs, e.g. "$1,500". Hidden when absent. Only pass a real figure. */
alternativePrice?: string
/** Chip above the alternative price, e.g. "Hire a copywriter". */
alternativeLabel?: string
/** Line under the alternative price. */
alternativeNote?: string
/** One sentence of reason-why. */
reason?: React.ReactNode
/** Disclosure button; {count} is replaced with the number of items. */
insideLabel?: string
/** What's inside the add-on; the disclosure is hidden when empty. */
items?: OrderBump4Item[]
/** Slot item-1: the add-on on a transparent background. */
productImage?: string
productImageAlt?: string
checked?: boolean
defaultChecked?: boolean
onChange?: (checked: boolean) => void
disabled?: boolean
/** Start with the what's-inside list open. Collapsed by default. */
defaultOpen?: boolean
id?: string
className?: string
}
export function OrderBump4({
state = "default",
headline = "Add the one thing your order is missing",
lead,
yesLabel = "Yes! Add this to my order",
priceLine = "Add it to my order for {price}",
price,
priceLabel = "Add it today",
priceNote,
alternativePrice,
alternativeLabel = "The alternative",
alternativeNote,
reason,
insideLabel = "What's inside ({count})",
items = [],
productImage,
productImageAlt = "",
checked,
defaultChecked,
onChange,
disabled = false,
defaultOpen,
id,
className,
}: OrderBump4Props) {
const uid = React.useId().replace(/[^a-zA-Z0-9_-]/g, "")
const inputId = id ?? `cfob4-${uid}`
const headingId = `${inputId}-title`
const reasonId = `${inputId}-reason`
const regionId = `${inputId}-inside`
const [internal, setInternal] = React.useState<boolean>(defaultChecked ?? state === "active")
const [open, setOpen] = React.useState<boolean>(defaultOpen ?? state === "active")
const isChecked = checked ?? internal
const isDisabled = disabled || state === "disabled"
const hasImage = Boolean(productImage)
const showStage = hasImage || Boolean(price) || Boolean(alternativePrice)
const [priceBefore, priceAfter = ""] = priceLine.split("{price}")
const insideText = insideLabel.replace("{count}", String(items.length))
const hasBody = Boolean(reason) || items.length > 0
return (
<section
className={["cf-order-bump-4 cfob4", className].filter(Boolean).join(" ")}
style={FX_HOST}
aria-labelledby={headingId}
>
<style>{CSS}</style>
<Pattern name="rings" fade="edges" />
<Glow />
<div className="cfob4__wrap">
<header className="cfob4__head">
<h2 id={headingId} className="cfob4__title">{headline}</h2>
{lead && <p className="cfob4__lead">{lead}</p>}
</header>
{showStage && (
<div className="cfob4__stage" data-image={hasImage ? "true" : "false"}>
{alternativePrice && (
<div className="cfob4__note cfob4__note--alt">
<span className="cfob4__chip">{alternativeLabel}</span>
<span className="cfob4__num">{alternativePrice}</span>
{alternativeNote && <span className="cfob4__small">{alternativeNote}</span>}
</div>
)}
{hasImage && (
<figure className="cfob4__figure">
<img
className="cfob4__img"
src={productImage}
alt={productImageAlt}
width={400}
height={400}
loading="lazy"
/>
</figure>
)}
{price && (
<div className="cfob4__note cfob4__note--bump">
<span className="cfob4__chip cfob4__chip--bump">{priceLabel}</span>
<span className="cfob4__num">{price}</span>
{priceNote && <span className="cfob4__small">{priceNote}</span>}
</div>
)}
</div>
)}
<div
className="cfob4__panel"
data-checked={isChecked ? "" : undefined}
data-disabled={isDisabled ? "" : undefined}
data-force={state === "hover" ? "hover" : undefined}
>
<label className="cfob4__strip" htmlFor={inputId}>
<span className="cfob4__check">
<input
id={inputId}
className="cfob4__input"
type="checkbox"
checked={isChecked}
disabled={isDisabled}
aria-describedby={reason ? reasonId : undefined}
onChange={(e) => {
const next = e.target.checked
setInternal(next)
onChange?.(next)
}}
/>
<span className="cfob4__box" aria-hidden="true">
<Check className="cfob4__tick" strokeWidth={3} />
</span>
</span>
<span className="cfob4__yes">
<span className="cfob4__yes-main">{yesLabel}</span>
{price && (
<span className="cfob4__yes-sub">
{priceBefore}
<strong>{price}</strong>
{priceAfter}
</span>
)}
</span>
</label>
{hasBody && (
<div className="cfob4__body">
{reason && (
<p id={reasonId} className="cfob4__reason">{reason}</p>
)}
{items.length > 0 && (
<>
<button
type="button"
className="cfob4__toggle"
aria-expanded={open}
aria-controls={regionId}
onClick={() => setOpen((v) => !v)}
>
<span>{insideText}</span>
<ChevronDown className="cfob4__chev" size={18} strokeWidth={2.5} aria-hidden="true" />
</button>
<div
id={regionId}
className="cfob4__region"
data-open={open ? "true" : "false"}
aria-hidden={!open}
>
<div className="cfob4__region-inner">
<ul className="cfob4__list">
{items.map((item) => (
<li key={item.name} className="cfob4__item">
<Mail className="cfob4__item-icon" size={18} strokeWidth={2.5} aria-hidden="true" />
<span className="cfob4__item-text">
<span className="cfob4__item-name">{item.name}</span>
{item.detail && <span className="cfob4__item-detail">{item.detail}</span>}
</span>
</li>
))}
</ul>
</div>
</div>
</>
)}
</div>
)}
</div>
</div>
</section>
)
}
export default OrderBump4
// The white tick inside the solid success badge is the documented status-badge glyph (theme-contract: white glyph on --success),
// read through the component-scoped --cfob4-glyph so the only literal is a var() fallback.
const CSS = `
.cfob4{position:relative;isolation:isolate;overflow:hidden;width:100%;background:var(--band);color:var(--band-ink);font-family:var(--font-body, Arial, sans-serif);padding:clamp(56px,8vw,112px) clamp(16px,5vw,48px) clamp(64px,8.5vw,120px)}
.cfob4 *,.cfob4 *::before,.cfob4 *::after{box-sizing:border-box}
.cfob4__wrap{position:relative;z-index:1;max-width:1120px;margin:0 auto}
.cfob4__head{text-align:center;max-width:46rem;margin:0 auto}
.cfob4__title{margin:0;color:var(--band-ink);font-family:var(--font-display, Arial, sans-serif);font-size:clamp(2rem,3.6vw,3.25rem);line-height:1.06;font-weight:var(--display-weight,800);letter-spacing:var(--display-tracking,-0.025em);text-transform:var(--display-case,none);text-wrap:balance}
.cfob4__lead{margin:16px auto 0;max-width:40rem;color:var(--band-ink);font-size:clamp(1.125rem,1.5vw,1.375rem);line-height:1.4;font-weight:500;text-wrap:pretty}
.cfob4__stage{margin-top:clamp(24px,3vw,40px);display:grid;grid-template-columns:1fr minmax(260px,460px) 1fr;column-gap:clamp(24px,4vw,56px);align-items:end}
.cfob4__stage[data-image='false']{display:flex;justify-content:center;align-items:flex-start;gap:clamp(32px,6vw,96px)}
.cfob4__figure{grid-column:2;grid-row:1;margin:0;aspect-ratio:4/3;position:relative}
.cfob4__img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 60%;filter:drop-shadow(0 2px 3px oklch(from var(--shadow, oklch(0.22 0.03 260)) calc(l - 0.08) c h / .5)) drop-shadow(0 18px 22px oklch(from var(--shadow, oklch(0.22 0.03 260)) calc(l - 0.08) c h / .45))}
.cfob4__note{grid-row:1;display:flex;flex-direction:column;gap:12px;padding-bottom:clamp(16px,4vw,56px)}
.cfob4__note--alt{grid-column:1;align-items:flex-end;text-align:right}
.cfob4__note--bump{grid-column:3;align-items:flex-start;text-align:left}
.cfob4__stage[data-image='false'] .cfob4__note{align-items:center;text-align:center;padding-bottom:0}
.cfob4__chip{display:inline-flex;align-items:center;min-height:28px;padding:4px 12px;border-radius:999px;background:oklch(from var(--band-ink) l c h / .12);color:var(--band-ink);font-size:0.875rem;line-height:1.2;font-weight:800;white-space:nowrap}
.cfob4__chip--bump{background:var(--accent-fill, var(--accent));color:var(--accent-fill-ink, var(--card))}
.cfob4__num{color:var(--band-ink);font-family:var(--font-display, Arial, sans-serif);font-size:clamp(2.5rem,4.2vw,3.75rem);line-height:1;font-weight:var(--display-weight,800);letter-spacing:-0.03em;font-variant-numeric:tabular-nums;white-space:nowrap}
.cfob4__small{max-width:16rem;color:var(--band-ink);font-size:0.9375rem;line-height:1.4;font-weight:500;text-wrap:pretty}
.cfob4__panel{position:relative;max-width:46rem;margin:clamp(32px,4vw,48px) auto 0;background:var(--bump, oklch(0.975 0.04 95));color:var(--bump-ink, var(--ink));border:1px solid oklch(from var(--bump-ink, var(--ink)) l c h / .14);border-radius:var(--card-radius, var(--radius,14px));box-shadow:var(--card-shadow, var(--shadow-lg, 0 2px 4px oklch(0.22 0.03 260 / .22), 0 12px 24px -8px oklch(0.22 0.03 260 / .32)));overflow:hidden;outline:2px solid transparent;outline-offset:-2px;transition:outline-color .16s ease}
.cfob4__panel[data-checked]{outline-color:var(--success)}
.cfob4__strip{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:16px;min-height:76px;padding:18px clamp(20px,3vw,32px);background:var(--bump-strip, oklch(0.93 0.11 95));color:var(--bump-ink, var(--ink));cursor:pointer;-webkit-tap-highlight-color:transparent;transition:background .16s ease}
.cfob4__panel:not([data-disabled]) .cfob4__strip:hover,.cfob4__panel[data-force='hover']:not([data-disabled]) .cfob4__strip{background:oklch(from var(--bump-strip, oklch(0.93 0.11 95)) calc(l - 0.035) c h)}
.cfob4__check{position:relative;flex:none;width:32px;height:32px}
.cfob4__input{position:absolute;inset:0;z-index:1;width:100%;height:100%;margin:0;opacity:0;cursor:inherit}
.cfob4__box{display:grid;place-items:center;width:32px;height:32px;border-radius:min(8px, var(--field-radius, var(--radius,12px)));background:var(--field, var(--card));border:2px solid var(--bump-ink, var(--ink));box-shadow:inset 0 1px 2px oklch(from var(--shadow, oklch(0.22 0.03 260)) l c h / .25);transition:background .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease}
.cfob4__panel:not([data-disabled]) .cfob4__strip:hover .cfob4__box,.cfob4__panel[data-force='hover']:not([data-disabled]) .cfob4__box{transform:scale(1.06);box-shadow:inset 0 1px 2px oklch(from var(--shadow, oklch(0.22 0.03 260)) l c h / .25),0 1px 2px oklch(from var(--shadow, oklch(0.22 0.03 260)) l c h / .3)}
.cfob4__tick{width:20px;height:20px;color:var(--cfob4-glyph, #fff);opacity:0;transform:scale(.9);transition:opacity .16s ease,transform .3s cubic-bezier(.2,.7,.2,1)}
.cfob4__input:checked + .cfob4__box{background:var(--success);border-color:var(--success)}
.cfob4__input:checked + .cfob4__box .cfob4__tick{opacity:1;transform:scale(1)}
.cfob4__input:focus-visible + .cfob4__box{box-shadow:0 0 0 3px var(--bump-strip, oklch(0.93 0.11 95)),0 0 0 5px var(--field-focus, var(--accent))}
.cfob4__input:disabled{cursor:not-allowed}
.cfob4__panel[data-disabled] .cfob4__strip{cursor:not-allowed}
.cfob4__panel[data-disabled] .cfob4__box{background:var(--secondary);border-color:oklch(from var(--bump-ink, var(--ink)) l c h / .35);box-shadow:none}
.cfob4__panel[data-disabled] .cfob4__yes{opacity:.6}
.cfob4__yes{display:flex;flex-direction:column;gap:4px;min-width:0}
.cfob4__yes-main{font-family:var(--font-display, Arial, sans-serif);font-size:clamp(1.125rem,1.55vw,1.375rem);line-height:1.15;font-weight:var(--display-weight,800);letter-spacing:-0.01em;text-wrap:balance}
.cfob4__yes-sub{font-size:0.9375rem;line-height:1.4;font-weight:600;text-wrap:pretty}
.cfob4__yes-sub strong{font-weight:800;font-variant-numeric:tabular-nums}
.cfob4__body{display:flex;flex-direction:column;align-items:flex-start;gap:16px;padding:clamp(20px,3vw,32px)}
.cfob4__reason{margin:0;max-width:64ch;color:var(--bump-ink, var(--ink));font-size:clamp(1.0625rem,1.25vw,1.125rem);line-height:1.5;text-wrap:pretty}
.cfob4__toggle{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 16px;border:0;border-radius:999px;background:color-mix(in oklch, var(--bump-ink, var(--ink)) 8%, var(--bump, oklch(0.975 0.04 95)));color:var(--bump-ink, var(--ink));font:inherit;font-size:0.9375rem;line-height:1.2;font-weight:700;text-align:left;cursor:pointer;transition:background .16s ease}
.cfob4__toggle:hover{background:color-mix(in oklch, var(--bump-ink, var(--ink)) 13%, var(--bump, oklch(0.975 0.04 95)))}
.cfob4__toggle:active{background:color-mix(in oklch, var(--bump-ink, var(--ink)) 18%, var(--bump, oklch(0.975 0.04 95)))}
.cfob4__toggle:focus-visible{outline:2px solid var(--field-focus, var(--accent));outline-offset:2px}
.cfob4__chev{flex:none;transition:transform .25s cubic-bezier(.2,.7,.2,1)}
.cfob4__toggle[aria-expanded='true'] .cfob4__chev{transform:rotate(180deg)}
.cfob4__region{align-self:stretch;display:grid;grid-template-rows:0fr;margin-top:-16px;transition:grid-template-rows .3s cubic-bezier(.2,.7,.2,1),margin-top .3s cubic-bezier(.2,.7,.2,1)}
.cfob4__region[data-open='true']{grid-template-rows:1fr;margin-top:0}
.cfob4__region-inner{min-height:0;overflow:hidden}
.cfob4__region[data-open='false'] .cfob4__region-inner{visibility:hidden;transition:visibility 0s .3s}
.cfob4__list{margin:0;padding:0;list-style:none}
.cfob4__item{display:grid;grid-template-columns:24px 1fr;gap:12px;padding:12px 0;border-top:1px solid oklch(from var(--bump-ink, var(--ink)) l c h / .14)}
.cfob4__item:last-child{padding-bottom:0}
.cfob4__item-icon{margin-top:2px;color:var(--bump-ink, var(--ink))}
.cfob4__item-text{display:flex;flex-direction:column;gap:2px;min-width:0}
.cfob4__item-name{color:var(--bump-ink, var(--ink));font-size:1.0625rem;line-height:1.4;font-weight:700}
.cfob4__item-detail{color:color-mix(in oklch, var(--bump-ink, var(--ink)) 78%, var(--bump, oklch(0.975 0.04 95)));font-size:0.9375rem;line-height:1.4;font-weight:500;text-wrap:pretty}
@keyframes cfob4-rise{from{opacity:.82;transform:translateY(8px)}to{opacity:1;transform:none}}
.cfob4__head,.cfob4__note--alt,.cfob4__figure,.cfob4__note--bump,.cfob4__panel{animation:cfob4-rise .45s cubic-bezier(.2,.7,.2,1) both}
.cfob4__note--alt{animation-delay:.07s}
.cfob4__figure{animation-delay:.14s}
.cfob4__note--bump{animation-delay:.21s}
.cfob4__panel{animation-delay:.28s}
@media (max-width:720px){
.cfob4__stage,.cfob4__stage[data-image='false']{display:grid;grid-template-columns:1fr;gap:0;max-width:30rem;margin-left:auto;margin-right:auto}
.cfob4__figure{order:-1;grid-column:1;grid-row:auto;justify-self:center;width:min(100%,340px);margin-bottom:8px}
.cfob4__note,.cfob4__note--alt,.cfob4__note--bump,.cfob4__stage[data-image='false'] .cfob4__note{grid-column:1;grid-row:auto;display:grid;grid-template-columns:1fr auto;grid-template-areas:'chip num' 'small num';align-items:center;column-gap:16px;row-gap:8px;text-align:left;padding:16px 0;border-top:1px solid oklch(from var(--band-ink) l c h / .18)}
.cfob4__note:last-child{border-bottom:1px solid oklch(from var(--band-ink) l c h / .18)}
.cfob4__note .cfob4__chip{grid-area:chip;justify-self:start;white-space:normal}
.cfob4__note .cfob4__num{grid-area:num}
.cfob4__note .cfob4__small{grid-area:small;max-width:none}
.cfob4__strip{gap:14px;padding:16px 20px}
}
@media (prefers-reduced-motion: reduce){
.cfob4 *,.cfob4 *::before,.cfob4 *::after{animation:none !important;transition:none !important}
}
`
pieces/offer/order-bump-4/specimen.tsx 42 lines
import __studioImage7335dc89 from "../assets/d2f59a787bbd6fa9.webp";
import OrderBump4 from "../order-bump-4"
import defaults from "../../studio-defaults.json"
import { slot } from "../../slots"
export const states = ["default", "hover", "active", "disabled"]
type SpecimenState = "default" | "hover" | "active" | "disabled"
export default function OrderBump4Specimen({ state = "default" }: { state?: SpecimenState }) {
return (
<OrderBump4
key={state}
state={state}
headline="Get your emails written before your funnel goes live"
lead="Fill in your offer, paste and send. No copywriter, no blank page."
yesLabel="Yes! I want the Done-For-You Email Templates"
priceLine="Add them to my order for {price}"
price="$27"
priceLabel="Add them today"
priceNote="One payment, added to this order"
alternativePrice="$1,500"
alternativeLabel="Hire a copywriter"
alternativeNote="to write one 7-email sales week"
reason={`${defaults.sample.name} gets people onto your list. These templates give you every email they get next, already written.`}
insideLabel="What's inside: {count} ready-to-send sequences"
items={[
{ name: "Welcome sequence", detail: "5 emails that introduce you and your offer" },
{ name: "Webinar reminders", detail: "4 emails from sign-up to start time" },
{ name: "Sales week", detail: "7 emails that open and close the cart" },
{ name: "Checkout follow-up", detail: "3 emails for people who stopped at the order form" },
{ name: "Win-back", detail: "3 emails that wake up a quiet list" },
]}
productImage={slot(
"item-1",
__studioImage7335dc89
)}
productImageAlt="Done-For-You Email Templates on a tablet beside printed template pages"
disabled={state === "disabled"}
/>
)
}
| Name | Type | Details |
|---|---|---|
state OptionalOrderBump4 |
"default" | "hover" | "active" | "disabled" |
Default "default"
|
headline OptionalOrderBump4 |
React.ReactNode |
Default "Add the one thing your order is missing"
|
lead OptionalOrderBump4 |
React.ReactNode |
|
yesLabel OptionalOrderBump4 |
React.ReactNode |
Default "Yes! Add this to my order"
|
priceLine OptionalOrderBump4 |
string |
Default "Add it to my order for {price}"
|
price OptionalOrderBump4 |
string |
|
priceLabel OptionalOrderBump4 |
string |
Default "Add it today"
|
priceNote OptionalOrderBump4 |
string |
|
alternativePrice OptionalOrderBump4 |
string |
|
alternativeLabel OptionalOrderBump4 |
string |
Default "The alternative"
|
alternativeNote OptionalOrderBump4 |
string |
|
reason OptionalOrderBump4 |
React.ReactNode |
|
insideLabel OptionalOrderBump4 |
string |
Default "What's inside ({count})"
|
items OptionalOrderBump4 |
OrderBump4Item[] |
Default []
|
productImage OptionalOrderBump4 |
string |
|
productImageAlt OptionalOrderBump4 |
string |
Default ""
|
checked OptionalOrderBump4 |
boolean |
|
defaultChecked OptionalOrderBump4 |
boolean |
|
onChange OptionalOrderBump4 |
(checked: boolean) => void |
|
disabled OptionalOrderBump4 |
boolean |
Default false
|
defaultOpen OptionalOrderBump4 |
boolean |
|
id OptionalOrderBump4 |
string |
|
className OptionalOrderBump4 |
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-radius--card-shadow- Cards and panels: radius, border and shadow.
--display-case--display-tracking--display-weight- Headlines: weight, letter case and tracking.
--field--field-focus--field-radius- Form inputs: background, ink, border, radius and focus colour.
Image slots
Filled from the brand’s images; the specimen ships its own defaults.
item-1- One image per offer item (item-1, item-2…), shown in stacks and lists.
-
b77916eca54aa689.webp
image/webp · 8.32 KB
-
d2f59a787bbd6fa9.webp
image/webp · 57.6 KB
-
d435db6662febfcf.webp
image/webp · 10 KB
-
f0a5d3e1e61804ba.webp
image/webp · 11.6 KB