Order Bump 6
Event checkout order bump: one tick adds the session recordings and lights every session thumbnail from dimmed to full colour.
Use it in a prompt
Use offer/order-bump-6 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-6.tsx. - Import it and pass your copy and images (Props tab):
import { OrderBump6 } from "@/components/funneldna/offer/order-bump-6"
It restyles from the theme tokens on any wrapper (Theme tab). The specimen source is a complete working example.
pieces/offer/order-bump-6/component.tsx 493 lines
// layout: number-rail
// Event checkout order bump: one tick adds the session recordings and lights every session thumbnail from dimmed to full colour.
"use client"
import * as React from "react"
import { Check } from "lucide-react"
export type RecordingSession = {
title: string
/** Short format line, e.g. "Keynote · 42 min". */
detail?: string
/** Session still (slot: item-n). A plain image: no play button, no video. */
image?: string
imageAlt?: string
}
export type OrderBump6Props = {
/** "active" = ticked. */
state?: "default" | "hover" | "active" | "disabled"
headline?: string
/** Phrase inside the headline that carries the marker stroke. */
headlineMark?: string
lead?: string
/** Up to three sessions; phones show the first two. */
sessions?: RecordingSession[]
/** First-person yes line beside the checkbox. */
label?: string
/** One sentence on what the recordings let the buyer do. */
description?: React.ReactNode
/** Pre-formatted, e.g. "+$27". */
price?: string
/** Supplied breakdown under the price, e.g. "$27 once, about $9 a session". */
priceNote?: string
checked?: boolean
defaultChecked?: boolean
onChange?: (checked: boolean) => void
disabled?: boolean
id?: string
className?: string
}
const DEFAULT_SESSIONS: RecordingSession[] = [
{ title: "Opening keynote" },
{ title: "Hands-on workshop" },
{ title: "Live Q&A" },
]
export function OrderBump6({
state = "default",
headline = "Keep every session from the event",
headlineMark = "every session",
lead,
sessions = DEFAULT_SESSIONS,
label = "Yes! Add the session recordings",
description = "Rewatch every session at your own pace and keep the frameworks close for your next launch.",
price,
priceNote,
checked,
defaultChecked,
onChange,
disabled = false,
id,
className,
}: OrderBump6Props) {
const uid = React.useId().replace(/:/g, "")
const inputId = id ?? `ob6-${uid}`
const titleId = `${inputId}-title`
const labelId = `${inputId}-label`
const descId = `${inputId}-desc`
const [internal, setInternal] = React.useState<boolean>(defaultChecked ?? state === "active")
React.useEffect(() => {
if (defaultChecked === undefined) setInternal(state === "active")
}, [state, defaultChecked])
const isChecked = checked ?? internal
const isDisabled = disabled || state === "disabled"
const list = sessions.slice(0, 3)
return (
<section
className={["cf-order-bump-6", className].filter(Boolean).join(" ")}
aria-labelledby={titleId}
data-state={state}
data-checked={isChecked ? "" : undefined}
data-disabled={isDisabled ? "" : undefined}
>
<style>{CSS}</style>
<div className="ob6__wrap">
<div className="ob6__card">
<h2 id={titleId} className="ob6__title">
{marked(headline, headlineMark)}
</h2>
{lead ? <p className="ob6__lead">{lead}</p> : null}
{list.length > 0 && (
<ol
className="ob6__list"
data-count={list.length}
style={{ "--n": list.length } as React.CSSProperties}
>
{list.map((s, i) => (
<li
key={`${s.title}-${i}`}
className="ob6__item"
style={{ "--i": i } as React.CSSProperties}
>
{s.image ? (
<figure className="ob6__thumb">
<img
src={s.image}
alt={s.imageAlt ?? ""}
width={640}
height={400}
loading="lazy"
decoding="async"
/>
</figure>
) : null}
<span className="ob6__seg" aria-hidden="true" />
<div className="ob6__meta">
<span className="ob6__num" aria-hidden="true">
{String(i + 1).padStart(2, "0")}
</span>
<div>
<h3 className="ob6__name">{s.title}</h3>
{s.detail ? <p className="ob6__detail">{s.detail}</p> : null}
</div>
</div>
</li>
))}
</ol>
)}
<label htmlFor={inputId} className="ob6__panel">
<span className="ob6__strip">
<span className="ob6__box">
<input
id={inputId}
type="checkbox"
checked={isChecked}
disabled={isDisabled}
aria-labelledby={labelId}
aria-describedby={descId}
onChange={(e) => {
const next = e.target.checked
if (checked === undefined) setInternal(next)
onChange?.(next)
}}
/>
<Check className="ob6__tick" size={20} strokeWidth={3} aria-hidden="true" />
</span>
<span id={labelId} className="ob6__label">
{label}
</span>
</span>
<span id={descId} className="ob6__body">
<span className="ob6__desc">{description}</span>
{price ? (
<span className="ob6__price">
<span className="ob6__amount">{price}</span>
{priceNote ? <span className="ob6__note">{priceNote}</span> : null}
</span>
) : null}
</span>
</label>
</div>
</div>
</section>
)
}
export default OrderBump6
function marked(text: string, mark?: string) {
const at = mark ? text.indexOf(mark) : -1
if (!mark || at < 0) return text
return (
<>
{text.slice(0, at)}
<span className="ob6__mark">{mark}</span>
{text.slice(at + mark.length)}
</>
)
}
const CSS = `
.cf-order-bump-6{
--_gap:clamp(12px,2vw,20px);
--_num-dim:color-mix(in oklab,var(--band-ink) 64%,var(--band));
--_num-lit:color-mix(in oklab,var(--band-ink) 66%,var(--accent-fill,var(--accent)));
--_sub:color-mix(in oklab,var(--band-ink) 82%,var(--band));
/* Headline marker on a dark card: the bump strip and its ink are a theme-guaranteed text pair,
so the highlighted phrase stays readable under every theme (yellow + navy ink in Original). */
--_marker:var(--bump-strip,var(--marker,#fae37c));
--_marker-ink:var(--bump-ink,var(--ink));
--_ring:color-mix(in oklab,var(--band-ink) 70%,var(--field-focus,var(--accent)));
--_strip:var(--bump-strip,oklch(0.93 0.11 95));
--_paper:var(--bump,oklch(0.975 0.04 95));
--_bink:var(--bump-ink,var(--ink));
--_ease:cubic-bezier(.2,.7,.2,1);
position:relative;
box-sizing:border-box;
width:100%;
color:var(--ink);
font-family:var(--font-body,Arial,sans-serif);
}
.cf-order-bump-6 *,.cf-order-bump-6 *::before,.cf-order-bump-6 *::after{box-sizing:border-box}
.cf-order-bump-6 .ob6__wrap{position:relative;z-index:1;max-width:50rem;margin:0 auto}
.cf-order-bump-6 .ob6__card{
position:relative;
background:var(--band);
color:var(--band-ink);
border:1px solid oklch(from var(--band-ink) l c h / 0.12);
border-radius:var(--card-radius,var(--radius,14px));
box-shadow:inset 0 1px 0 oklch(from var(--band-ink) l c h / 0.08),var(--card-shadow,var(--shadow-lg,0 2px 4px oklch(0.22 0.03 260 / 0.22),0 12px 24px -8px oklch(0.22 0.03 260 / 0.32)));
padding:clamp(20px,3vw,32px);
}
.cf-order-bump-6 .ob6__title{
margin:0;
font-family:var(--font-display,Arial,sans-serif);
font-weight:var(--display-weight,800);
letter-spacing:var(--display-tracking,-0.025em);
text-transform:var(--display-case,none);
font-size:clamp(2rem,3.6vw,3.25rem);
line-height:1.06;
color:var(--band-ink);
text-wrap:balance;
}
.cf-order-bump-6 .ob6__mark{
color:var(--_marker-ink);
background-image:linear-gradient(to bottom,transparent 7%,var(--_marker) 7%,var(--_marker) 97%,transparent 97%);
border-radius:.08em .14em .1em .16em;
-webkit-box-decoration-break:clone;
box-decoration-break:clone;
padding:0 .1em;
margin:0 -.04em;
}
.cf-order-bump-6 .ob6__lead{
margin:14px 0 0;
font-size:clamp(1.125rem,1.5vw,1.375rem);
line-height:1.4;
font-weight:500;
color:var(--band-ink);
text-wrap:pretty;
}
.cf-order-bump-6 .ob6__list{
list-style:none;
margin:28px 0 0;
padding:0;
display:grid;
grid-template-columns:repeat(var(--n,3),minmax(0,1fr));
gap:var(--_gap);
}
.cf-order-bump-6 .ob6__item{position:relative;min-width:0}
.cf-order-bump-6 .ob6__thumb{
margin:0;
border-radius:12px;
overflow:hidden;
background:oklch(from var(--band-ink) l c h / 0.08);
}
.cf-order-bump-6 .ob6__thumb img{
display:block;
width:100%;
height:auto;
aspect-ratio:16/10;
object-fit:cover;
object-position:center;
filter:grayscale(1) brightness(.58) contrast(1.05);
transition:filter .45s var(--_ease);
transition-delay:calc(var(--i,0) * .07s);
}
.cf-order-bump-6:not([data-checked]):not([data-disabled]) .ob6__card:has(.ob6__panel:hover) .ob6__thumb img,
.cf-order-bump-6[data-state='hover']:not([data-checked]) .ob6__thumb img{
filter:grayscale(.5) brightness(.78) contrast(1.03);
}
.cf-order-bump-6[data-checked] .ob6__thumb img{filter:none}
.cf-order-bump-6 .ob6__seg{
position:relative;
display:block;
height:4px;
margin:16px 0 14px;
background:oklch(from var(--band-ink) l c h / 0.16);
overflow:hidden;
}
.cf-order-bump-6 .ob6__item:not(:last-child) .ob6__seg{margin-inline-end:calc(-1 * var(--_gap))}
.cf-order-bump-6 .ob6__item:first-child .ob6__seg{border-radius:999px 0 0 999px}
.cf-order-bump-6 .ob6__item:last-child .ob6__seg{border-radius:0 999px 999px 0}
.cf-order-bump-6 .ob6__item:only-child .ob6__seg{border-radius:999px}
.cf-order-bump-6 .ob6__seg::after{
content:'';
position:absolute;
inset:0;
background:var(--_num-lit);
transform:scaleX(0);
transform-origin:left center;
transition:transform .45s var(--_ease);
transition-delay:calc(var(--i,0) * .07s);
}
.cf-order-bump-6[data-checked] .ob6__seg::after{transform:scaleX(1)}
.cf-order-bump-6 .ob6__meta{
display:grid;
grid-template-columns:auto minmax(0,1fr);
gap:12px;
align-items:start;
}
.cf-order-bump-6 .ob6__num{
font-family:var(--font-display,Arial,sans-serif);
font-weight:var(--display-weight,800);
font-size:clamp(2.5rem,4.2vw,3.75rem);
line-height:1;
letter-spacing:-0.03em;
font-variant-numeric:tabular-nums;
color:var(--_num-dim);
transition:color .45s var(--_ease);
transition-delay:calc(var(--i,0) * .07s);
}
.cf-order-bump-6[data-checked] .ob6__num{color:var(--_num-lit)}
.cf-order-bump-6 .ob6__name{
margin:0;
padding-top:4px;
font-family:var(--font-body,Arial,sans-serif);
font-size:clamp(1.0625rem,1.25vw,1.125rem);
font-weight:700;
line-height:1.3;
letter-spacing:0;
color:var(--band-ink);
text-wrap:pretty;
}
.cf-order-bump-6 .ob6__detail{
margin:4px 0 0;
font-size:.9375rem;
font-weight:600;
line-height:1.4;
color:var(--_sub);
text-wrap:balance;
}
.cf-order-bump-6 .ob6__panel{
display:block;
margin-top:28px;
border-radius:var(--radius,12px);
overflow:hidden;
background:var(--_paper);
color:var(--_bink);
cursor:pointer;
-webkit-tap-highlight-color:transparent;
box-shadow:inset 0 0 0 1px oklch(from var(--_bink) l c h / 0.14);
transition:box-shadow .16s ease,transform .16s ease;
}
.cf-order-bump-6:not([data-disabled]) .ob6__panel:hover,
.cf-order-bump-6[data-state='hover'] .ob6__panel{
transform:translateY(-1px);
box-shadow:inset 0 0 0 1px oklch(from var(--_bink) l c h / 0.22),0 1px 2px oklch(from var(--shadow,oklch(0.22 0.03 260)) l c h / 0.3),0 8px 16px -6px oklch(from var(--shadow,oklch(0.22 0.03 260)) l c h / 0.45);
}
.cf-order-bump-6[data-checked] .ob6__panel{
box-shadow:inset 0 0 0 2px var(--success),0 1px 2px oklch(from var(--shadow,oklch(0.22 0.03 260)) l c h / 0.3);
}
.cf-order-bump-6 .ob6__panel:has(input:focus-visible){
outline:3px solid var(--_ring);
outline-offset:3px;
}
.cf-order-bump-6[data-disabled] .ob6__panel{cursor:not-allowed;opacity:.62}
.cf-order-bump-6 .ob6__strip{
display:flex;
align-items:center;
gap:14px;
min-height:64px;
padding:16px 24px;
background:var(--_strip);
transition:background-color .16s ease;
}
.cf-order-bump-6:not([data-disabled]) .ob6__panel:hover .ob6__strip,
.cf-order-bump-6[data-state='hover'] .ob6__strip{
background:oklch(from var(--_strip) calc(l - 0.035) c h);
}
.cf-order-bump-6 .ob6__box{
position:relative;
flex:none;
width:30px;
height:30px;
display:grid;
place-items:center;
border-radius:min(var(--field-radius,var(--radius,12px)),9px);
background:var(--field,var(--card));
border:2px solid var(--_bink);
box-shadow:inset 0 1px 2px oklch(from var(--shadow,oklch(0.22 0.03 260)) l c h / 0.22);
transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease;
}
.cf-order-bump-6 .ob6__box input{
position:absolute;
inset:-2px;
width:calc(100% + 4px);
height:calc(100% + 4px);
margin:0;
opacity:0;
cursor:inherit;
}
.cf-order-bump-6:not([data-disabled]) .ob6__panel:hover .ob6__box,
.cf-order-bump-6[data-state='hover'] .ob6__box{
box-shadow:0 0 0 4px oklch(from var(--_bink) l c h / 0.12),inset 0 1px 2px oklch(from var(--shadow,oklch(0.22 0.03 260)) l c h / 0.22);
}
.cf-order-bump-6:not([data-disabled]) .ob6__panel:active .ob6__box{transform:scale(.94)}
.cf-order-bump-6[data-checked] .ob6__box{
background:var(--success);
border-color:var(--success);
}
.cf-order-bump-6[data-disabled] .ob6__box{background:var(--secondary,var(--field))}
.cf-order-bump-6 .ob6__tick{
position:relative;
pointer-events:none;
color:var(--cf-tick-ink,#fff);
opacity:0;
transform:scale(.9);
transition:opacity .16s ease,transform .3s var(--_ease);
}
.cf-order-bump-6[data-checked] .ob6__tick{opacity:1;transform:scale(1)}
.cf-order-bump-6 .ob6__label{
min-width:0;
font-family:var(--font-display,Arial,sans-serif);
font-weight:var(--button-weight,800);
font-size:clamp(1.125rem,1.5vw,1.375rem);
line-height:1.15;
color:var(--_bink);
text-wrap:balance;
}
.cf-order-bump-6 .ob6__body{
display:grid;
grid-template-columns:minmax(0,1fr) auto;
gap:32px;
align-items:start;
padding:20px 24px 24px;
}
.cf-order-bump-6 .ob6__desc{
font-size:clamp(1.0625rem,1.25vw,1.125rem);
line-height:1.5;
color:var(--_bink);
text-wrap:pretty;
}
.cf-order-bump-6 .ob6__price{text-align:right;white-space:nowrap}
.cf-order-bump-6 .ob6__amount{
display:block;
font-family:var(--font-display,Arial,sans-serif);
font-weight:var(--display-weight,800);
font-size:clamp(2.5rem,4.2vw,3.75rem);
line-height:1;
letter-spacing:-0.03em;
font-variant-numeric:tabular-nums;
color:var(--_bink);
}
.cf-order-bump-6 .ob6__note{
display:block;
margin-top:20px;
font-size:.9375rem;
font-weight:600;
line-height:1.4;
color:var(--_bink);
}
@media (max-width:900px){
.cf-order-bump-6 .ob6__meta{grid-template-columns:minmax(0,1fr);gap:6px}
.cf-order-bump-6 .ob6__name{padding-top:0}
}
@media (max-width:640px){
.cf-order-bump-6 .ob6__list:not([data-count='1']){grid-template-columns:repeat(2,minmax(0,1fr))}
.cf-order-bump-6 .ob6__item:nth-child(n+3){display:none}
.cf-order-bump-6 .ob6__item:nth-child(2) .ob6__seg{margin-inline-end:0;border-radius:0 999px 999px 0}
.cf-order-bump-6 .ob6__list{margin-top:24px}
.cf-order-bump-6 .ob6__panel{margin-top:24px}
.cf-order-bump-6 .ob6__strip{padding:14px 16px;gap:12px}
.cf-order-bump-6 .ob6__body{grid-template-columns:minmax(0,1fr);gap:20px;padding:18px 16px 20px}
.cf-order-bump-6 .ob6__price{text-align:left;white-space:normal}
}
@media (prefers-reduced-motion:reduce){
.cf-order-bump-6 .ob6__thumb img,
.cf-order-bump-6 .ob6__seg::after,
.cf-order-bump-6 .ob6__num,
.cf-order-bump-6 .ob6__panel,
.cf-order-bump-6 .ob6__strip,
.cf-order-bump-6 .ob6__box,
.cf-order-bump-6 .ob6__tick{transition:none}
.cf-order-bump-6:not([data-disabled]) .ob6__panel:hover,
.cf-order-bump-6[data-state='hover'] .ob6__panel{transform:none}
}
`
pieces/offer/order-bump-6/specimen.tsx 52 lines
import __studioImagee5a98924 from "../assets/e9730df274cdd325.webp";
import __studioImageafb3e7f6 from "../assets/e68ad5acd387073c.webp";
import __studioImagead5136ad from "../assets/91d6a4f0ed4a72d7.webp";
import * as React from "react"
import { OrderBump6, type OrderBump6Props } from "../order-bump-6"
import { slot } from "../../slots"
export const states = ["default", "hover", "active", "disabled"]
export default function OrderBump6Specimen({ state = "default" }: { state?: OrderBump6Props["state"] }) {
return (
<OrderBump6
state={state}
headline="Keep every session from Founders Table Live"
headlineMark="every session"
lead="Three sessions from the stage, recorded in full."
sessions={[
{
title: "Pricing your first offer",
detail: "Keynote · 42 min",
image: slot(
"item-1",
__studioImagee5a98924
),
imageAlt: "Three founders talking at a long table on a small live stage",
},
{
title: "Mapping the launch week",
detail: "Workshop · 55 min",
image: slot(
"item-2",
__studioImageafb3e7f6
),
imageAlt: "A presenter sketching a diagram on an easel pad in front of attendees",
},
{
title: "Open founders Q&A",
detail: "Live Q&A · 38 min",
image: slot(
"item-3",
__studioImagead5136ad
),
imageAlt: "An attendee asking a question with a microphone during a live Q&A",
},
]}
label="Yes! Add the Founders Table Live recordings"
description="Rewatch each session at your own pace, pause on the frameworks, and share the best moments with your team."
price="+$27"
priceNote="$27 once, about $9 a session"
/>
)
}
| Name | Type | Details |
|---|---|---|
state OptionalOrderBump6 |
"default" | "hover" | "active" | "disabled" |
Default "default"
|
headline OptionalOrderBump6 |
string |
Default "Keep every session from the event"
|
headlineMark OptionalOrderBump6 |
string |
Default "every session"
|
lead OptionalOrderBump6 |
string |
|
sessions OptionalOrderBump6 |
RecordingSession[] |
Default DEFAULT_SESSIONS
|
label OptionalOrderBump6 |
string |
Default "Yes! Add the session recordings"
|
description OptionalOrderBump6 |
React.ReactNode |
Default "Rewatch every session at your own pace and keep the frameworks close for your next launch."
|
price OptionalOrderBump6 |
string |
|
priceNote OptionalOrderBump6 |
string |
|
checked OptionalOrderBump6 |
boolean |
|
defaultChecked OptionalOrderBump6 |
boolean |
|
onChange OptionalOrderBump6 |
(checked: boolean) => void |
|
disabled OptionalOrderBump6 |
boolean |
Default false
|
id OptionalOrderBump6 |
string |
|
className OptionalOrderBump6 |
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-weight- Main CTA button: background, ink, font, weight, case, radius and shadow.
--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.
--marker- The highlighter colour behind key phrases.
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.
item-2- One image per offer item (item-1, item-2…), shown in stacks and lists.
item-3- One image per offer item (item-1, item-2…), shown in stacks and lists.
-
91d6a4f0ed4a72d7.webp
image/webp · 52.5 KB
-
e68ad5acd387073c.webp
image/webp · 49 KB
-
e9730df274cdd325.webp
image/webp · 42.2 KB