Workshop Ticket 3
Masterclass spotlight stack: the live session as one big colour-blocked tile, the bonuses as covers that open in place, and a tally that resolves into today's seat price beside one risk-first action.
Use it in a prompt
Use offer/workshop-ticket-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/offer/workshop-ticket-3.tsx. - Import it and pass your copy and images (Props tab):
import { WorkshopTicket3 } from "@/components/funneldna/offer/workshop-ticket-3"
It restyles from the theme tokens on any wrapper (Theme tab). The specimen source is a complete working example.
pieces/offer/workshop-ticket-3/component.tsx 540 lines
// layout: diagonal-split
// Masterclass spotlight stack: the live session as one big colour-blocked tile, the bonuses as covers that open in place, and a tally that resolves into today's seat price beside one risk-first action.
import React from 'react';
import { Loader2, Plus, ShieldCheck } from 'lucide-react';
export type WorkshopTicket3Bonus = {
name: string;
// supplied value, e.g. '$49'; summed into the tally
value?: string;
// what it does, shown when the tile opens
detail?: string;
// item-n slot: the cover on a transparent background
image?: string;
imageAlt?: string;
};
export type WorkshopTicket3Copy = {
open: string;
close: string;
// {value} becomes the bonus value
valueChip: string;
pending: string;
disabled: string;
};
export type WorkshopTicket3Props = {
headline?: string;
// phrase inside the headline that gets the marker stroke
highlight?: string;
lead?: string;
// short chip on the session tile, e.g. 'Live masterclass'
sessionFlag?: string;
sessionName?: string;
sessionDetail?: string;
// who teaches it, shown only when supplied
hostLine?: string;
sessionMeta?: string[];
// presenter-cutout slot: the host teaching, transparent background
hostImage?: string;
hostImageAlt?: string;
// the session's line in the tally
sessionRowLabel?: string;
// supplied value of the session itself; leave empty when the seat price is what buys it
sessionValue?: string;
// shown in place of a value on the session line
sessionIncludedLabel?: string;
bonusesTitle?: string;
bonuses?: WorkshopTicket3Bonus[];
// index of the bonus open on first render; -1 for none
defaultOpen?: number;
tallyTitle?: string;
totalLabel?: string;
// overrides the computed total, e.g. '$97'
totalValue?: string;
seatLabel?: string;
price?: string;
// the alternative the price is weighed against; {total} becomes the total value
alternative?: string;
// the risk reversal that leads into the button
riskLead?: string;
label?: string;
note?: string;
pending?: boolean;
disabled?: boolean;
href?: string;
onAction?: () => void;
copy?: Partial<WorkshopTicket3Copy>;
state?: 'default' | 'hover' | 'active' | 'disabled';
className?: string;
};
export function WorkshopTicket3(props: WorkshopTicket3Props) {
const {
headline = 'Walk out with a price you can say out loud',
highlight = 'say out loud',
lead = 'One live masterclass for coaches. Bring the offer you sell today and leave with a price you believe in, a payment plan and the words to present both.',
sessionFlag = 'Live masterclass',
sessionName = 'The 90-Minute Pricing Masterclass',
sessionDetail = 'We work through your offer step by step: set the price, build the payment plan, then script how you say it on a call.',
hostLine = '',
sessionMeta = DEFAULT_META,
hostImage = '',
hostImageAlt = 'The host teaching the masterclass',
sessionRowLabel = 'Live 90-minute masterclass',
sessionValue = '',
sessionIncludedLabel = 'Your seat',
bonusesTitle = 'Plus three extras that keep your new price working',
bonuses = DEFAULT_BONUSES,
defaultOpen = -1,
tallyTitle = 'Add up what one seat gets you',
totalLabel = 'Total value',
totalValue = '',
seatLabel = 'Your seat today',
price = '$47',
alternative = 'vs. {total} in bonuses alone',
riskLead = 'Try it for 30 days. If your new price doesn’t feel right, ask for every dollar back.',
label = 'Try it risk-free for $47',
note = '30-day money-back guarantee · Secure checkout',
pending = false,
disabled: disabledProp = false,
href,
onAction,
copy,
state = 'default',
className,
} = props;
const c: WorkshopTicket3Copy = { ...DEFAULT_COPY, ...copy };
const uid = React.useId();
const headId = uid + '-h';
const [open, setOpen] = React.useState<number>(defaultOpen);
const sessionNum = parseMoney(sessionValue);
const bonusNums = bonuses.map((b) => parseMoney(b.value));
const segments: { key: string; n: number; on: boolean }[] = [];
if (sessionNum && sessionNum.n > 0) segments.push({ key: 'session', n: sessionNum.n, on: false });
bonusNums.forEach((m, i) => {
if (m && m.n > 0) segments.push({ key: 'b' + i, n: m.n, on: open === i });
});
const sum = segments.reduce((a, s) => a + s.n, 0);
const firstNum = sessionNum ?? bonusNums.find((m) => m !== null) ?? null;
const prefix = firstNum ? firstNum.prefix : '';
const totalText = totalValue || (sum > 0 ? formatMoney(sum, prefix) : '');
const priceNum = parseMoney(price);
const ratio = sum > 0 && priceNum ? Math.min(1, Math.max(0.04, priceNum.n / sum)) : null;
const altText = alternative && totalText ? fill(alternative, { total: totalText }) : '';
const anyOpen = open >= 0 && open < bonuses.length;
// signature: the seat bar starts as wide as the total value, then resolves to the seat price when the tally is seen
const tallyRef = React.useRef<HTMLDivElement>(null);
const [phase, setPhase] = React.useState<'still' | 'armed' | 'resolved'>('still');
const hasBar = ratio !== null;
useIsoLayoutEffect(() => {
const el = tallyRef.current;
if (!hasBar || !el || typeof window === 'undefined' || typeof IntersectionObserver === 'undefined') return;
if (window.matchMedia && window.matchMedia('(prefers-reduced-motion: reduce)').matches) return;
setPhase('armed');
const io = new IntersectionObserver(
(entries) => {
if (entries.some((e) => e.isIntersecting)) {
setPhase('resolved');
io.disconnect();
}
},
{ threshold: 0.4 },
);
io.observe(el);
return () => io.disconnect();
}, [hasBar]);
const isDisabled = disabledProp || state === 'disabled';
const busy = pending && !isDisabled;
const ctaClass = cx('wt3-cta', state === 'hover' && 'is-hover', state === 'active' && 'is-active');
const ctaInner = busy ? (
<>
<Loader2 className='wt3-spin' size={20} strokeWidth={2.5} aria-hidden='true' />
<span>{c.pending}</span>
</>
) : (
<span>{isDisabled ? c.disabled : label}</span>
);
const handle = onAction ? () => onAction() : undefined;
const cta =
href && !isDisabled && !busy ? (
<a className={ctaClass} href={href} onClick={handle}>
{ctaInner}
</a>
) : (
<button type='button' className={ctaClass} disabled={isDisabled || busy} aria-busy={busy || undefined} onClick={handle}>
{ctaInner}
</button>
);
return (
<section className={cx('cf-workshop-ticket-3', className)} aria-labelledby={headId}>
<style>{CSS}</style>
<div className='wt3-field' aria-hidden='true' />
<div className='wt3-inner'>
<div className='wt3-stage'>
<h2 id={headId} className='wt3-h'>
{markPhrase(headline, highlight)}
</h2>
{lead ? <p className='wt3-lead'>{lead}</p> : null}
<article className={cx('wt3-feature', hostImage && 'has-fig')}>
<div className='wt3-feature-text'>
{sessionFlag ? (
<p className='wt3-flag'>
<span className='wt3-dot' aria-hidden='true' />
{sessionFlag}
</p>
) : null}
<h3 className='wt3-feature-name'>{sessionName}</h3>
{sessionDetail ? <p className='wt3-feature-detail'>{sessionDetail}</p> : null}
{hostLine ? <p className='wt3-host'>{hostLine}</p> : null}
</div>
{sessionMeta.length ? (
<ul className='wt3-meta'>
{sessionMeta.map((m) => (
<li key={m}>{m}</li>
))}
</ul>
) : null}
{hostImage ? (
<div className='wt3-fig'>
<img src={hostImage} alt={hostImageAlt} width={512} height={512} loading='lazy' decoding='async' />
</div>
) : null}
</article>
{bonuses.length ? (
<>
{bonusesTitle ? <h3 className='wt3-bonus-h'>{bonusesTitle}</h3> : null}
<ul className='wt3-bonuses' style={{ '--wt3-cols': String(Math.min(3, bonuses.length)) } as React.CSSProperties}>
{bonuses.map((b, i) => {
const isOpen = open === i;
const detailId = uid + '-d' + i;
return (
<li key={b.name + i} className={cx('wt3-tile', isOpen && 'is-open')}>
<button
type='button'
className='wt3-tile-btn'
aria-expanded={b.detail ? isOpen : undefined}
aria-controls={b.detail ? detailId : undefined}
onClick={() => setOpen(isOpen ? -1 : i)}
>
{b.image ? (
<span className='wt3-cover'>
<img src={b.image} alt={b.imageAlt || ''} width={512} height={512} loading='lazy' decoding='async' />
</span>
) : null}
<span className='wt3-tile-text'>
<span className='wt3-tile-name'>{b.name}</span>
{b.value ? <span className='wt3-chip'>{fill(c.valueChip, { value: b.value })}</span> : null}
{b.detail ? (
<span className='wt3-toggle'>
<Plus className='wt3-plus' size={16} strokeWidth={2.5} aria-hidden='true' />
{isOpen ? c.close : c.open}
</span>
) : null}
</span>
</button>
{b.detail ? (
<div id={detailId} className='wt3-detail' aria-hidden={!isOpen}>
<div className='wt3-detail-inner'>
<p>{b.detail}</p>
</div>
</div>
) : null}
</li>
);
})}
</ul>
</>
) : null}
</div>
<aside className='wt3-aside' aria-label={tallyTitle || sessionName}>
<div ref={tallyRef} className={cx('wt3-tally', phase === 'armed' && 'is-armed', phase === 'resolved' && 'is-resolved')}>
{tallyTitle ? <h3 className='wt3-tally-title'>{tallyTitle}</h3> : null}
<ul className='wt3-rows'>
<li className={cx('wt3-row', !hostImage && 'no-thumb')}>
{hostImage ? (
<span className='wt3-thumb' aria-hidden='true'>
<img src={hostImage} alt='' width={80} height={80} loading='lazy' decoding='async' />
</span>
) : null}
<span className='wt3-row-name'>{sessionRowLabel}</span>
<span className={cx('wt3-row-val', !sessionValue && 'is-label')}>{sessionValue || sessionIncludedLabel}</span>
</li>
{bonuses.map((b, i) => (
<li key={b.name + i} className={cx('wt3-row', open === i && 'is-on', !b.image && 'no-thumb')}>
{b.image ? (
<span className='wt3-thumb' aria-hidden='true'>
<img src={b.image} alt='' width={80} height={80} loading='lazy' decoding='async' />
</span>
) : null}
<span className='wt3-row-name'>{b.name}</span>
{b.value ? <span className='wt3-row-val'>{b.value}</span> : null}
</li>
))}
</ul>
{totalText ? (
<div className='wt3-sum'>
<p className='wt3-sum-line'>
<span className='wt3-sum-label'>{totalLabel}</span>
<span className='wt3-sum-num'>{totalText}</span>
</p>
{segments.length ? (
<div className={cx('wt3-bar', anyOpen && 'has-open')} aria-hidden='true'>
{segments.map((s, i) => (
<span
key={s.key}
className={cx('wt3-seg', s.on && 'is-on')}
style={{ flexGrow: s.n, '--wt3-i': String(i) } as React.CSSProperties}
/>
))}
</div>
) : null}
</div>
) : null}
<div className='wt3-seat'>
<p className='wt3-seat-line'>
<span className='wt3-seat-label'>{seatLabel}</span>
<span className='wt3-price'>{price}</span>
</p>
{ratio !== null ? (
<div className='wt3-track' aria-hidden='true' style={{ '--wt3-ratio': String(ratio) } as React.CSSProperties}>
<span className='wt3-seatfill' />
</div>
) : null}
{altText ? <p className='wt3-alt'>{altText}</p> : null}
</div>
</div>
<div className='wt3-close'>
{riskLead ? (
<p className='wt3-risk'>
<ShieldCheck className='wt3-risk-icon' size={20} strokeWidth={2.5} aria-hidden='true' />
{riskLead}
</p>
) : null}
{cta}
{note ? <p className='wt3-note'>{note}</p> : null}
</div>
</aside>
</div>
</section>
);
}
const DEFAULT_COPY: WorkshopTicket3Copy = {
open: 'What it does',
close: 'Show less',
valueChip: '{value} value',
pending: 'Opening secure checkout…',
disabled: 'Registration is closed',
};
const DEFAULT_META = ['Live online', '90 minutes', 'Bring your offer'];
const DEFAULT_BONUSES: WorkshopTicket3Bonus[] = [
{
name: 'Pricing Masterclass Workbook',
value: '$49',
detail: 'Fill-in pages for your price, your payment plan and your call script, so you finish the session with all three written down.',
},
{
name: 'Full session replay',
value: '$29',
detail: 'Rewatch any step of the 90 minutes whenever you want a refresher before a sales call.',
},
{
name: 'Live Q&A hour',
value: '$19',
detail: 'A follow-up hour to bring the price you set and ask what to change before you use it.',
},
];
function markPhrase(text: string, phrase?: string): React.ReactNode {
if (!phrase) return text;
const at = text.indexOf(phrase);
if (at < 0) return text;
return (
<>
{text.slice(0, at)}
<span className='wt3-mark'>{phrase}</span>
{text.slice(at + phrase.length)}
</>
);
}
function fill(template: string, vars: Record<string, string>) {
let out = template;
Object.keys(vars).forEach((k) => {
out = out.split('{' + k + '}').join(vars[k]);
});
return out;
}
function parseMoney(input?: string): { n: number; prefix: string } | null {
if (!input) return null;
let start = -1;
for (let i = 0; i < input.length; i++) {
const ch = input[i];
if (ch >= '0' && ch <= '9') {
start = i;
break;
}
}
if (start < 0) return null;
let num = '';
for (let i = start; i < input.length; i++) {
const ch = input[i];
if ((ch >= '0' && ch <= '9') || ch === '.') num += ch;
else if (ch !== ',') break;
}
const n = Number(num);
if (!Number.isFinite(n)) return null;
return { n, prefix: input.slice(0, start).trim() };
}
function formatMoney(n: number, prefix: string) {
return prefix + n.toLocaleString('en-US', { maximumFractionDigits: 2 });
}
function cx(...parts: Array<string | false | null | undefined>) {
return parts.filter(Boolean).join(' ');
}
const useIsoLayoutEffect = typeof window !== 'undefined' ? React.useLayoutEffect : React.useEffect;
const CSS = `
.cf-workshop-ticket-3{--wt3-gut:clamp(16px,5vw,48px);--wt3-cw:min(1120px,100% - 2 * var(--wt3-gut));--wt3-aside:clamp(340px,30vw,420px);--wt3-gap:clamp(48px,6.6vw,96px);--wt3-shadow:var(--shadow,oklch(0.22 0.03 260));position:relative;isolation:isolate;overflow:clip;background:var(--surface);color:var(--ink);font-family:var(--font-body);padding:clamp(56px,8vw,112px) 0 clamp(64px,8.5vw,120px)}
.cf-workshop-ticket-3 *,.cf-workshop-ticket-3 *::before,.cf-workshop-ticket-3 *::after{box-sizing:border-box}
.cf-workshop-ticket-3 .wt3-field{position:absolute;z-index:-1;top:0;bottom:0;right:0;left:calc((100% - var(--wt3-cw)) / 2 + var(--wt3-cw) - var(--wt3-aside) - var(--wt3-gap) + 12px);background:var(--band);clip-path:polygon(calc(var(--wt3-gap) - 12px + var(--wt3-aside) * 0.45) 0,100% 0,100% 100%,0 100%)}
.cf-workshop-ticket-3 .wt3-inner{position:relative;width:var(--wt3-cw);margin-inline:auto;display:grid;grid-template-columns:minmax(0,1fr) var(--wt3-aside);column-gap:var(--wt3-gap);align-items:start}
.cf-workshop-ticket-3 .wt3-stage{min-width:0}
.cf-workshop-ticket-3 .wt3-h{margin:0;padding-inline-end:32px;color:var(--ink);font-family:var(--font-display);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;text-wrap:balance}
.cf-workshop-ticket-3 .wt3-mark{background:linear-gradient(180deg,transparent 0 54%,var(--marker,#fae37c) 54% 92%,transparent 92%);-webkit-box-decoration-break:clone;box-decoration-break:clone;padding:0 0.06em;margin:0 -0.02em;border-radius:0.12em 0.2em 0.16em 0.1em}
.cf-workshop-ticket-3 .wt3-lead{margin:16px 0 0;max-width:60ch;color:var(--muted);font-size:clamp(1.125rem,1.5vw,1.375rem);font-weight:500;line-height:1.4;text-wrap:pretty}
.cf-workshop-ticket-3 .wt3-feature{display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:'text' 'meta';margin-top:32px;overflow:hidden;background:var(--accent-fill,var(--accent));color:var(--accent-fill-ink,var(--card));border-radius:var(--card-radius,var(--radius,14px));box-shadow:var(--card-shadow,var(--shadow-md,0 1px 2px oklch(0.22 0.03 260 / 0.22),0 4px 10px -2px oklch(0.22 0.03 260 / 0.2)))}
.cf-workshop-ticket-3 .wt3-feature.has-fig{grid-template-columns:minmax(0,1fr) 42%;grid-template-areas:'text fig' 'meta fig'}
.cf-workshop-ticket-3 .wt3-feature-text{grid-area:text;padding:clamp(24px,3vw,32px) clamp(24px,3vw,32px) 0}
.cf-workshop-ticket-3 .wt3-feature.has-fig .wt3-feature-text{padding-right:8px}
.cf-workshop-ticket-3 .wt3-flag{display:inline-flex;align-items:center;gap:8px;min-height:30px;margin:0 0 16px;padding:4px 12px;border-radius:999px;border:1px solid oklch(from var(--accent-fill-ink,var(--card)) l c h / 0.45);font-size:0.875rem;font-weight:800;line-height:1.2;letter-spacing:0.02em}
.cf-workshop-ticket-3 .wt3-dot{width:8px;height:8px;border-radius:999px;background:currentColor}
.cf-workshop-ticket-3 .wt3-feature-name{margin:0;font-family:var(--font-display);font-weight:var(--display-weight,800);letter-spacing:-0.01em;text-transform:var(--display-case,none);font-size:clamp(1.3125rem,1.8vw,1.625rem);line-height:1.15;text-wrap:balance}
.cf-workshop-ticket-3 .wt3-feature-detail{margin:12px 0 0;font-size:clamp(1.0625rem,1.25vw,1.125rem);line-height:1.5;text-wrap:pretty}
.cf-workshop-ticket-3 .wt3-host{margin:12px 0 0;font-size:0.9375rem;font-weight:600;line-height:1.4}
.cf-workshop-ticket-3 .wt3-meta{grid-area:meta;list-style:none;margin:0;padding:20px clamp(24px,3vw,32px) clamp(24px,3vw,32px);display:flex;flex-wrap:wrap;align-content:flex-end;align-items:flex-start;gap:8px}
.cf-workshop-ticket-3 .wt3-meta li{display:inline-flex;align-items:center;min-height:30px;padding:4px 12px;border-radius:999px;border:1px solid oklch(from var(--accent-fill-ink,var(--card)) l c h / 0.45);font-size:0.875rem;font-weight:800;line-height:1.2}
.cf-workshop-ticket-3 .wt3-fig{grid-area:fig;align-self:end;display:flex;justify-content:center;align-items:flex-end;min-width:0;padding:24px 12px 0 0}
.cf-workshop-ticket-3 .wt3-fig img{display:block;width:100%;max-width:340px;height:auto;aspect-ratio:1;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 2px 3px oklch(from var(--wt3-shadow) l c h / 0.3)) drop-shadow(0 14px 18px oklch(from var(--wt3-shadow) l c h / 0.24))}
.cf-workshop-ticket-3 .wt3-bonus-h{margin:48px 0 16px;color:var(--ink);font-family:var(--font-display);font-weight:var(--display-weight,800);letter-spacing:-0.01em;text-transform:var(--display-case,none);font-size:clamp(1.3125rem,1.8vw,1.625rem);line-height:1.15;text-wrap:balance}
.cf-workshop-ticket-3 .wt3-bonuses{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(var(--wt3-cols,3),minmax(0,1fr));gap:16px;align-items:stretch}
.cf-workshop-ticket-3 .wt3-tile{display:flex;flex-direction:column;min-width:0;background:var(--card);color:var(--ink);border:1px solid var(--card-border,oklch(from var(--ink) l c h / 0.12));border-radius:var(--card-radius,var(--radius,14px));box-shadow:var(--shadow-sm,0 1px 1px oklch(0.22 0.03 260 / 0.18),0 1px 3px oklch(0.22 0.03 260 / 0.14));transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease,background-color .16s ease;animation:wt3-rise .45s cubic-bezier(.2,.7,.2,1) both}
.cf-workshop-ticket-3 .wt3-tile:nth-child(2){animation-delay:.07s}
.cf-workshop-ticket-3 .wt3-tile:nth-child(3){animation-delay:.14s}
.cf-workshop-ticket-3 .wt3-tile:nth-child(n+4){animation-delay:.21s}
.cf-workshop-ticket-3 .wt3-tile:hover{transform:translateY(-2px);box-shadow:var(--shadow-md,0 1px 2px oklch(0.22 0.03 260 / 0.22),0 4px 10px -2px oklch(0.22 0.03 260 / 0.2));border-color:color-mix(in oklch,var(--accent) 40%,var(--card))}
.cf-workshop-ticket-3 .wt3-tile.is-open{background:color-mix(in oklch,var(--accent) 8%,var(--card));border-color:color-mix(in oklch,var(--accent) 55%,var(--card));box-shadow:var(--shadow-md,0 1px 2px oklch(0.22 0.03 260 / 0.22),0 4px 10px -2px oklch(0.22 0.03 260 / 0.2))}
.cf-workshop-ticket-3 .wt3-tile-btn{appearance:none;display:flex;flex-direction:column;flex:1 1 auto;gap:12px;width:100%;margin:0;padding:16px 16px 16px;border:0;border-radius:inherit;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}
.cf-workshop-ticket-3 .wt3-tile-btn:focus-visible{outline:3px solid var(--field-focus,var(--accent));outline-offset:2px}
.cf-workshop-ticket-3 .wt3-cover{display:flex;justify-content:center;align-items:flex-end;height:clamp(96px,9vw,128px)}
.cf-workshop-ticket-3 .wt3-cover img{display:block;height:100%;width:auto;max-width:100%;aspect-ratio:1;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 2px 3px oklch(from var(--wt3-shadow) l c h / 0.3)) drop-shadow(0 10px 12px oklch(from var(--wt3-shadow) l c h / 0.22));transition:transform .2s ease}
.cf-workshop-ticket-3 .wt3-tile:hover .wt3-cover img,.cf-workshop-ticket-3 .wt3-tile.is-open .wt3-cover img{transform:translateY(-3px)}
.cf-workshop-ticket-3 .wt3-tile-text{display:flex;flex-direction:column;flex:1 1 auto;align-items:flex-start;gap:8px;min-width:0}
.cf-workshop-ticket-3 .wt3-tile-name{font-family:var(--font-display);font-weight:800;font-size:clamp(1.0625rem,1.25vw,1.125rem);line-height:1.25;text-wrap:balance}
.cf-workshop-ticket-3 .wt3-chip{display:inline-flex;align-items:center;min-height:28px;padding:4px 12px;border-radius:999px;background:color-mix(in oklch,var(--ink) 6%,var(--card));color:var(--ink);font-size:0.875rem;font-weight:800;line-height:1.2;font-variant-numeric:tabular-nums;white-space:nowrap}
.cf-workshop-ticket-3 .wt3-toggle{display:inline-flex;align-items:center;gap:6px;margin-top:auto;padding-top:4px;color:var(--link,var(--accent));font-size:0.9375rem;font-weight:700;line-height:1.4}
.cf-workshop-ticket-3 .wt3-plus{flex:0 0 auto;transition:transform .2s ease}
.cf-workshop-ticket-3 .wt3-tile.is-open .wt3-plus{transform:rotate(45deg)}
.cf-workshop-ticket-3 .wt3-detail{display:grid;grid-template-rows:0fr;visibility:hidden;transition:grid-template-rows .3s cubic-bezier(.2,.7,.2,1),visibility 0s linear .3s}
.cf-workshop-ticket-3 .wt3-tile.is-open .wt3-detail{grid-template-rows:1fr;visibility:visible;transition:grid-template-rows .3s cubic-bezier(.2,.7,.2,1),visibility 0s linear 0s}
.cf-workshop-ticket-3 .wt3-detail-inner{min-height:0;overflow:hidden}
.cf-workshop-ticket-3 .wt3-detail p{margin:0;padding:0 16px 16px;color:var(--ink);font-size:1rem;line-height:1.5;text-wrap:pretty}
.cf-workshop-ticket-3 .wt3-aside{position:sticky;top:24px;z-index:1;align-self:start;background:var(--card);color:var(--ink);border:1px solid var(--card-border,oklch(from var(--ink) l c h / 0.12));border-radius:var(--card-radius,var(--radius,14px));box-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-workshop-ticket-3 .wt3-tally-title{margin:0 0 16px;font-family:var(--font-display);font-weight:var(--display-weight,800);letter-spacing:-0.01em;text-transform:var(--display-case,none);font-size:clamp(1.3125rem,1.8vw,1.625rem);line-height:1.15;text-wrap:balance}
.cf-workshop-ticket-3 .wt3-rows{list-style:none;margin:0;padding:0;display:grid;gap:4px}
.cf-workshop-ticket-3 .wt3-row{display:grid;grid-template-columns:40px minmax(0,1fr) auto;align-items:start;gap:12px;padding:8px 10px;border-radius:10px;transition:background-color .2s ease}
.cf-workshop-ticket-3 .wt3-row.no-thumb{grid-template-columns:minmax(0,1fr) auto}
.cf-workshop-ticket-3 .wt3-row.is-on{background:color-mix(in oklch,var(--accent) 10%,var(--card))}
.cf-workshop-ticket-3 .wt3-thumb{display:block;width:40px;height:40px}
.cf-workshop-ticket-3 .wt3-thumb img{display:block;width:40px;height:40px;object-fit:contain;filter:drop-shadow(0 1px 2px oklch(from var(--wt3-shadow) l c h / 0.3))}
.cf-workshop-ticket-3 .wt3-row-name{padding-top:8px;font-size:clamp(1.0625rem,1.25vw,1.125rem);font-weight:700;line-height:1.3;text-wrap:pretty}
.cf-workshop-ticket-3 .wt3-row.no-thumb .wt3-row-name,.cf-workshop-ticket-3 .wt3-row.no-thumb .wt3-row-val{padding-top:0}
.cf-workshop-ticket-3 .wt3-row-val{padding-top:8px;font-size:clamp(1.0625rem,1.25vw,1.125rem);font-weight:800;line-height:1.3;font-variant-numeric:tabular-nums;white-space:nowrap}
.cf-workshop-ticket-3 .wt3-row-val.is-label{padding-top:10px;color:var(--muted);font-size:0.9375rem;font-weight:700}
.cf-workshop-ticket-3 .wt3-sum{margin-top:20px}
.cf-workshop-ticket-3 .wt3-sum-line,.cf-workshop-ticket-3 .wt3-seat-line{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:4px 12px;margin:0}
.cf-workshop-ticket-3 .wt3-sum-label{color:var(--muted);font-size:0.9375rem;font-weight:600;line-height:1.4}
.cf-workshop-ticket-3 .wt3-sum-num{font-family:var(--font-display);font-weight:800;font-size:clamp(1.3125rem,1.8vw,1.625rem);line-height:1.15;letter-spacing:-0.02em;font-variant-numeric:tabular-nums}
.cf-workshop-ticket-3 .wt3-bar{display:flex;gap:3px;height:12px;margin-top:12px}
.cf-workshop-ticket-3 .wt3-seg{flex-basis:0;min-width:6px;border-radius:999px;background:oklch(from var(--accent-fill,var(--accent)) calc(l - var(--wt3-i,0) * 0.06) c h);transition:opacity .2s ease}
.cf-workshop-ticket-3 .wt3-bar.has-open .wt3-seg:not(.is-on){opacity:.3}
.cf-workshop-ticket-3 .wt3-seat{margin-top:20px}
.cf-workshop-ticket-3 .wt3-seat-label{font-size:clamp(1.0625rem,1.25vw,1.125rem);font-weight:800;line-height:1.3}
.cf-workshop-ticket-3 .wt3-price{font-family:var(--font-display);font-weight:800;font-size:clamp(2.5rem,4.2vw,3.75rem);line-height:1;letter-spacing:-0.03em;font-variant-numeric:tabular-nums}
.cf-workshop-ticket-3 .wt3-track{height:12px;margin-top:12px;overflow:hidden;border-radius:999px;background:color-mix(in oklch,var(--ink) 10%,var(--card))}
.cf-workshop-ticket-3 .wt3-seatfill{display:block;width:100%;height:100%;border-radius:999px;background:var(--ink);transform-origin:left center;transform:scaleX(var(--wt3-ratio,1))}
.cf-workshop-ticket-3 .wt3-tally.is-armed .wt3-seatfill{transform:scaleX(1);transition:none}
.cf-workshop-ticket-3 .wt3-tally.is-resolved .wt3-seatfill{transition:transform .9s cubic-bezier(.2,.7,.2,1) .15s}
.cf-workshop-ticket-3 .wt3-alt{margin:10px 0 0;color:var(--muted);font-size:0.9375rem;font-weight:600;line-height:1.4}
.cf-workshop-ticket-3 .wt3-close{display:grid;gap:12px;margin-top:24px}
.cf-workshop-ticket-3 .wt3-risk{margin:0;color:var(--ink);font-size:1rem;font-weight:700;line-height:1.45;text-wrap:pretty}
.cf-workshop-ticket-3 .wt3-risk-icon{display:inline-block;vertical-align:-0.2em;margin-inline-end:.4em;color:var(--success)}
.cf-workshop-ticket-3 .wt3-cta{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:64px;margin:0;padding:8px 20px;border:0;border-radius:var(--button-radius,var(--radius,12px));background:linear-gradient(oklch(from var(--button-bg,var(--cta)) calc(l + 0.04) c h),oklch(from var(--button-bg-2,var(--cta-2)) calc(l - 0.02) c h));color:var(--button-ink,var(--cta-ink));font-family:var(--button-font,var(--font-display));font-weight:var(--button-weight,800);text-transform:var(--button-case,none);font-size:clamp(1.125rem,1.55vw,1.375rem);line-height:1.15;text-align:center;text-wrap:balance;text-decoration:none;text-shadow:var(--button-text-shadow,none);cursor:pointer;box-shadow:var(--button-shadow,inset 0 1px 0 oklch(from var(--button-bg,var(--cta)) calc(l + 0.14) c h / 0.7),inset 0 -3px 0 oklch(from var(--button-bg,var(--cta)) calc(l - 0.16) c h),0 1px 2px oklch(from var(--wt3-shadow) l c h / 0.3),0 8px 16px -6px oklch(from var(--wt3-shadow) l c h / 0.4));transition:transform .16s ease,box-shadow .16s ease,background .16s ease}
.cf-workshop-ticket-3 .wt3-cta.is-hover{transform:translateY(-1px);background:linear-gradient(oklch(from var(--button-bg,var(--cta)) calc(l - 0.01) c h),oklch(from var(--button-bg-2,var(--cta-2)) calc(l - 0.07) c h));box-shadow:inset 0 1px 0 oklch(from var(--button-bg,var(--cta)) calc(l + 0.12) c h / 0.7),inset 0 -3px 0 oklch(from var(--button-bg,var(--cta)) calc(l - 0.2) c h),0 1px 2px oklch(from var(--wt3-shadow) l c h / 0.32),0 12px 20px -6px oklch(from var(--wt3-shadow) l c h / 0.45)}
@media (hover:hover){.cf-workshop-ticket-3 .wt3-cta:not(:disabled):hover{transform:translateY(-1px);background:linear-gradient(oklch(from var(--button-bg,var(--cta)) calc(l - 0.01) c h),oklch(from var(--button-bg-2,var(--cta-2)) calc(l - 0.07) c h));box-shadow:inset 0 1px 0 oklch(from var(--button-bg,var(--cta)) calc(l + 0.12) c h / 0.7),inset 0 -3px 0 oklch(from var(--button-bg,var(--cta)) calc(l - 0.2) c h),0 1px 2px oklch(from var(--wt3-shadow) l c h / 0.32),0 12px 20px -6px oklch(from var(--wt3-shadow) l c h / 0.45)}}
.cf-workshop-ticket-3 .wt3-cta.is-active,.cf-workshop-ticket-3 .wt3-cta:not(:disabled):active{transform:translateY(1px);background:linear-gradient(oklch(from var(--button-bg,var(--cta)) calc(l - 0.03) c h),oklch(from var(--button-bg-2,var(--cta-2)) calc(l - 0.08) c h));box-shadow:inset 0 2px 3px oklch(from var(--button-bg,var(--cta)) calc(l - 0.22) c h / 0.45),inset 0 -2px 0 oklch(from var(--button-bg,var(--cta)) calc(l - 0.16) c h),0 1px 2px oklch(from var(--wt3-shadow) l c h / 0.3)}
.cf-workshop-ticket-3 .wt3-cta:focus-visible{outline:3px solid var(--field-focus,var(--accent));outline-offset:3px}
.cf-workshop-ticket-3 .wt3-cta[aria-busy='true']{cursor:progress}
.cf-workshop-ticket-3 .wt3-cta:disabled:not([aria-busy='true']){background:var(--secondary);color:var(--secondary-ink);box-shadow:none;text-shadow:none;cursor:not-allowed;transform:none}
.cf-workshop-ticket-3 .wt3-spin{flex:0 0 auto;animation:wt3-spin .8s linear infinite}
.cf-workshop-ticket-3 .wt3-note{margin:0;color:var(--muted);text-align:center;font-size:0.9375rem;font-weight:500;line-height:1.4;text-wrap:pretty}
.cf-workshop-ticket-3 .wt3-stage > *{animation:wt3-rise .45s cubic-bezier(.2,.7,.2,1) both}
.cf-workshop-ticket-3 .wt3-stage > :nth-child(2){animation-delay:.07s}
.cf-workshop-ticket-3 .wt3-stage > :nth-child(3){animation-delay:.14s}
.cf-workshop-ticket-3 .wt3-stage > :nth-child(4){animation-delay:.21s}
.cf-workshop-ticket-3 .wt3-stage > :nth-child(n+5){animation-delay:.28s}
@keyframes wt3-rise{from{opacity:.82;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes wt3-spin{to{transform:rotate(360deg)}}
@media (max-width:999px){
.cf-workshop-ticket-3 .wt3-field{display:none}
.cf-workshop-ticket-3 .wt3-inner{grid-template-columns:minmax(0,1fr)}
.cf-workshop-ticket-3 .wt3-h{padding-inline-end:0}
.cf-workshop-ticket-3 .wt3-aside{position:relative;top:auto;z-index:auto;width:100%;max-width:560px;margin:96px auto 0}
.cf-workshop-ticket-3 .wt3-aside::before{content:'';position:absolute;z-index:-1;top:-72px;left:calc(-50vw + 50%);right:calc(-50vw + 50%);bottom:-3000px;background:var(--band);clip-path:polygon(0 48px,100% 0,100% 100%,0 100%);pointer-events:none}
}
@media (max-width:639px){
.cf-workshop-ticket-3 .wt3-feature.has-fig{grid-template-columns:minmax(0,1fr) 46%;grid-template-areas:'text text' 'meta fig'}
.cf-workshop-ticket-3 .wt3-feature.has-fig .wt3-feature-text{padding-right:24px}
.cf-workshop-ticket-3 .wt3-meta{flex-direction:column;flex-wrap:nowrap;justify-content:flex-end;padding-right:0}
.cf-workshop-ticket-3 .wt3-fig{padding-top:8px}
.cf-workshop-ticket-3 .wt3-bonus-h{margin-top:40px}
.cf-workshop-ticket-3 .wt3-bonuses{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.cf-workshop-ticket-3 .wt3-tile-btn{padding:14px 14px 14px}
.cf-workshop-ticket-3 .wt3-detail p{padding:0 14px 14px}
.cf-workshop-ticket-3 .wt3-cover{height:88px}
.cf-workshop-ticket-3 .wt3-tile:last-child:nth-child(odd){grid-column:1 / -1}
.cf-workshop-ticket-3 .wt3-tile:last-child:nth-child(odd) .wt3-tile-btn{flex-direction:row;align-items:center;gap:16px}
.cf-workshop-ticket-3 .wt3-tile:last-child:nth-child(odd) .wt3-cover{flex:0 0 96px}
.cf-workshop-ticket-3 .wt3-tile:last-child:nth-child(odd) .wt3-toggle{margin-top:0}
.cf-workshop-ticket-3 .wt3-aside{margin-top:88px}
.cf-workshop-ticket-3 .wt3-rows{margin-inline:-6px}
.cf-workshop-ticket-3 .wt3-row{grid-template-columns:36px minmax(0,1fr) auto;gap:10px;padding:8px 6px}
.cf-workshop-ticket-3 .wt3-thumb,.cf-workshop-ticket-3 .wt3-thumb img{width:36px;height:36px}
.cf-workshop-ticket-3 .wt3-row-name,.cf-workshop-ticket-3 .wt3-row-val{padding-top:6px}
.cf-workshop-ticket-3 .wt3-row-val.is-label{padding-top:8px;font-size:0.875rem}
.cf-workshop-ticket-3 .wt3-close{margin-top:20px}
}
@media (prefers-reduced-motion:reduce){
.cf-workshop-ticket-3 .wt3-stage > *,.cf-workshop-ticket-3 .wt3-tile,.cf-workshop-ticket-3 .wt3-spin{animation:none}
.cf-workshop-ticket-3 .wt3-tile,.cf-workshop-ticket-3 .wt3-cover img,.cf-workshop-ticket-3 .wt3-plus,.cf-workshop-ticket-3 .wt3-row,.cf-workshop-ticket-3 .wt3-seg,.cf-workshop-ticket-3 .wt3-cta,.cf-workshop-ticket-3 .wt3-tally.is-resolved .wt3-seatfill{transition:none}
.cf-workshop-ticket-3 .wt3-detail,.cf-workshop-ticket-3 .wt3-tile.is-open .wt3-detail{transition:none}
.cf-workshop-ticket-3 .wt3-tile:hover,.cf-workshop-ticket-3 .wt3-tile:hover .wt3-cover img,.cf-workshop-ticket-3 .wt3-tile.is-open .wt3-cover img{transform:none}
}
`;
export default WorkshopTicket3;
pieces/offer/workshop-ticket-3/specimen.tsx 70 lines
import __studioImagec4036370 from "../assets/5e63fa81a01aa1ec.webp";
import __studioImage98795cf4 from "../assets/1addd800f61349da.webp";
import __studioImage675181e1 from "../assets/d389f20a25e3c1f3.webp";
// Specimen: The 90-Minute Pricing Masterclass as a spotlight stack, three bonuses and a risk-first close.
import React from 'react';
import defaults from '../../studio-defaults.json';
import { slot } from '../../slots';
import { WorkshopTicket3 } from '../workshop-ticket-3';
const HOST = __studioImagec4036370;
const WORKBOOK = __studioImage98795cf4;
const QA = __studioImage675181e1;
export const states = ['default', 'hover', 'active', 'disabled'];
type SpecimenState = 'default' | 'hover' | 'active' | 'disabled';
export default function WorkshopTicket3Specimen({ state = 'default' }: { state?: SpecimenState }) {
const s = defaults.sample;
const host = slot('presenter-cutout', HOST);
return (
<WorkshopTicket3
headline='Walk out with a price you can say out loud'
highlight='say out loud'
lead='One live masterclass for coaches. Bring the offer you sell today and leave with a price you believe in, a payment plan and the words to present both.'
sessionFlag='Live masterclass'
sessionName='The 90-Minute Pricing Masterclass'
sessionDetail='We work through your offer step by step: set the price, build the payment plan, then script how you say it on a call.'
hostLine='Hosted by Maya Ellis, pricing coach'
sessionMeta={['Live on Zoom', '90 minutes', 'Bring your offer']}
hostImage={host}
hostImageAlt='Maya Ellis teaching the pricing masterclass'
sessionRowLabel='Live 90-minute masterclass'
sessionIncludedLabel='Your seat'
bonusesTitle='Plus three extras that keep your new price working'
bonuses={[
{
name: 'Pricing Masterclass Workbook',
value: s.items[0].value,
detail: 'Fill-in pages for your price, your payment plan and your call script, so you finish the session with all three written down.',
image: slot('item-1', WORKBOOK),
imageAlt: 'The Pricing Masterclass Workbook',
},
{
name: 'Full session replay',
value: s.items[1].value,
detail: 'Rewatch any step of the 90 minutes whenever you want a refresher before a sales call.',
image: slot('item-2', HOST),
imageAlt: 'Maya Ellis in the masterclass recording',
},
{
name: 'Live Q&A hour',
value: s.items[2].value,
detail: 'A follow-up hour to bring the price you set and ask what to change before you use it.',
image: slot('item-3', QA),
imageAlt: 'A desk microphone and question cards for the Q&A hour',
},
]}
tallyTitle='Add up what one seat gets you'
totalLabel='Total value'
seatLabel='Your seat today'
price={s.price}
alternative='vs. {total} in bonuses alone'
riskLead='Try it for 30 days. If your new price doesn’t feel right, ask for every dollar back.'
label={`Try it risk-free for ${s.price}`}
note={`${s.guarantee} · Secure checkout`}
state={state}
/>
);
}
| Name | Type | Details |
|---|---|---|
headline OptionalWorkshopTicket3 |
string |
|
highlight OptionalWorkshopTicket3 |
string |
|
lead OptionalWorkshopTicket3 |
string |
|
sessionFlag OptionalWorkshopTicket3 |
string |
|
sessionName OptionalWorkshopTicket3 |
string |
|
sessionDetail OptionalWorkshopTicket3 |
string |
|
hostLine OptionalWorkshopTicket3 |
string |
|
sessionMeta OptionalWorkshopTicket3 |
string[] |
|
hostImage OptionalWorkshopTicket3 |
string |
|
hostImageAlt OptionalWorkshopTicket3 |
string |
|
sessionRowLabel OptionalWorkshopTicket3 |
string |
|
sessionValue OptionalWorkshopTicket3 |
string |
|
sessionIncludedLabel OptionalWorkshopTicket3 |
string |
|
bonusesTitle OptionalWorkshopTicket3 |
string |
|
bonuses OptionalWorkshopTicket3 |
WorkshopTicket3Bonus[] |
|
defaultOpen OptionalWorkshopTicket3 |
number |
|
tallyTitle OptionalWorkshopTicket3 |
string |
|
totalLabel OptionalWorkshopTicket3 |
string |
|
totalValue OptionalWorkshopTicket3 |
string |
|
seatLabel OptionalWorkshopTicket3 |
string |
|
price OptionalWorkshopTicket3 |
string |
|
alternative OptionalWorkshopTicket3 |
string |
|
riskLead OptionalWorkshopTicket3 |
string |
|
label OptionalWorkshopTicket3 |
string |
|
note OptionalWorkshopTicket3 |
string |
|
pending OptionalWorkshopTicket3 |
boolean |
|
disabled OptionalWorkshopTicket3 |
boolean |
|
href OptionalWorkshopTicket3 |
string |
|
onAction OptionalWorkshopTicket3 |
() => void |
|
copy OptionalWorkshopTicket3 |
Partial<WorkshopTicket3Copy> |
|
state OptionalWorkshopTicket3 |
'default' | 'hover' | 'active' | 'disabled' |
|
className OptionalWorkshopTicket3 |
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-bg--button-bg-2--button-case--button-font--button-ink--button-radius--button-shadow--button-text-shadow--button-weight- Main CTA button: background, ink, font, weight, case, radius and shadow.
--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.
--field-focus- 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.
presenter-cutout- The presenter on a transparent background.
-
1addd800f61349da.webp
image/webp · 102 KB
-
5e63fa81a01aa1ec.webp
image/webp · 124 KB
-
b77916eca54aa689.webp
image/webp · 8.32 KB
-
d389f20a25e3c1f3.webp
image/webp · 128 KB
-
d435db6662febfcf.webp
image/webp · 10 KB
-
f0a5d3e1e61804ba.webp
image/webp · 11.6 KB