Launch Video Series 8
Shows series progress and opens the next lesson when the current video is complete.
Use it in a prompt
Use content/launch-video-series-8 from the FunnelDNA library. Follow the skill and theme contract. Ask me for the copy, images, and brand details you need; do not invent proof.
Paste into Claude or ChatGPT with FunnelDNA connected (MCP setup), or alongside the skill.
Use it in code
- Save
component.tsx(Code tab) ascomponents/funneldna/content/launch-video-series-8.tsx. - Import it and pass your copy and images (Props tab):
import { LaunchVideoSeries8 } from "@/components/funneldna/content/launch-video-series-8"
It restyles from the theme tokens on any wrapper (Theme tab). The specimen source is a complete working example.
pieces/content/launch-video-series-8/component.tsx 338 lines
// Shows series progress and opens the next lesson when the current video is complete.
'use client'
import * as React from 'react'
import { CheckCircle2, Film, Lock, LockOpen } from 'lucide-react'
export type LaunchVideoSeries8Props = {
videos?: SeriesVideo8[]
/** Zero-based index of the video playing on this page. */
current?: number
askWhere?: string
askNext?: string
meterNote?: string
nextHint?: string
nextHintOpen?: string
videoWord?: string
/** Set true when the page's video ends (the "success" state shows the same). */
unlocked?: boolean
onAction?: (index: number) => void
/** Legacy action alias. */
onSelect?: (index: number) => void
/** Templates accept {video}, {current}, {next}, {total}, {done}, {left}, {index}, {title}, and {status}. */
copy?: Partial<typeof DEFAULT_COPY>
state?: LaunchVideoSeries8State
className?: string
/** Legacy presentation props retained for compatibility; the intro and action block are no longer rendered. */
headline?: SeriesHeadline8
subhead?: string
askNow?: string
nowIdle?: string
nowLocked?: string
nowDone?: string
nowFinal?: string
upNextLabel?: string
continueLabel?: string
loadingLabel?: string
openLabel?: string
lockedLabel?: string
retryLabel?: string
reassurance?: string
successNote?: string
errorNote?: string
nextHref?: string
requireFinish?: boolean
onContinue?: (nextIndex: number) => void | boolean | Promise<void | boolean>
}
export function LaunchVideoSeries8({
videos,
current = 1,
askWhere = 'Where are you in the series?',
askNext = 'What’s waiting in Video {next}?',
meterNote = '{done} watched · {left} to go',
nextHint = 'Opens when you finish Video {current}',
nextHintOpen = 'Open now. Tap the card to continue.',
videoWord = 'Video',
unlocked = false,
onSelect,
onAction = onSelect,
copy,
state = 'default',
className,
}: LaunchVideoSeries8Props) {
const words = { ...DEFAULT_COPY, ...copy }
const list = videos && videos.length ? videos : DEFAULT_VIDEOS
const total = list.length
const start = Math.min(Math.max(Number.isFinite(current) ? Math.round(current) : 0, 0), total - 1)
const titleId = React.useId()
const cur = start
const done = state === 'success' || unlocked
const hasNext = cur < total - 1
const nextIdx = cur + 1
const doneCount = done ? cur + 1 : cur
const progress = Math.min(100, ((done ? cur + 1 : cur + 0.5) / total) * 100)
const vars = { video: videoWord, current: cur + 1, next: cur + 2, total, done: doneCount, left: total - doneCount }
const t = (s: string) => fill(s, vars)
const statusOf = (i: number): Status => {
if (i < cur) return 'watched'
if (i === cur) return done ? 'watched' : 'current'
if (i === cur + 1) return done ? 'open' : 'next'
return 'locked'
}
const renderCard = (v: SeriesVideo8, i: number) => {
const status = statusOf(i)
const cardVars = { ...vars, index: i + 1, title: v.title, status: words[status] }
const label = fill(words.cardLabel, cardVars)
const cls = `lvs8-card s-${status}`
const body = (
<>
<Thumb v={v} status={status} />
<span className='lvs8-cbody'>
<span className='lvs8-vlabel'>{fill(words.videoLabel, cardVars)}</span>
<span className='lvs8-ctitle'>{v.title}</span>
<Pill status={status} label={words[status]} />
</span>
</>
)
if (status === 'open') {
return v.href ? (
<a className={cls + ' is-link'} href={v.href} aria-label={label} onClick={() => onAction?.(i)}>{body}</a>
) : (
<button type='button' className={cls + ' is-link'} aria-label={label} onClick={() => onAction?.(i)}>{body}</button>
)
}
if (status === 'watched' && (v.href || onAction)) {
return v.href ? (
<a className={cls + ' is-link'} href={v.href} aria-label={label} onClick={() => onAction?.(i)}>{body}</a>
) : (
<button type='button' className={cls + ' is-link'} aria-label={label} onClick={() => onAction?.(i)}>{body}</button>
)
}
return <div className={cls} aria-current={status === 'current' ? 'step' : undefined}>{body}</div>
}
const nv = hasNext ? list[nextIdx] : null
return (
<section className={`cf-launch-video-series-8 lvs8${className ? ' ' + className : ''}`} aria-labelledby={titleId} data-state={state}>
<style>{CSS}</style>
<div className='lvs8-wrap'>
<div className='lvs8-row'>
<h2 id={titleId} className='lvs8-q'>
<span className='lvs8-qtag' aria-hidden>{words.questionMark}</span>
<span>{t(askWhere)}</span>
</h2>
<div className='lvs8-meter'>
<b>{t(words.meter)}</b>
<span className='lvs8-track' aria-hidden><i style={{ width: progress + '%' }} /></span>
<span className='lvs8-meternote'>{t(meterNote)}</span>
</div>
<div className='lvs8-stripwrap'>
<ol className='lvs8-strip' aria-label={words.seriesLabel} style={{ '--lvs8-n': Math.min(total, 4) } as React.CSSProperties}>
{list.map((v, i) => (
<li key={i} className='lvs8-item' style={{ '--i': i } as React.CSSProperties}>{renderCard(v, i)}</li>
))}
</ol>
</div>
</div>
{nv ? (
<div className='lvs8-row'>
<h3 className='lvs8-q'>
<span className='lvs8-qtag' aria-hidden>{words.questionMark}</span>
<span>{t(askNext)}</span>
</h3>
<div className='lvs8-ans'>
<p className='lvs8-next'>
<strong>{fill(words.nextTitle, { title: nv.title })}</strong>
{nv.detail ? ' ' + nv.detail : ''}
</p>
<p className={`lvs8-hint${done ? ' is-open' : ''}`}>
{done ? <LockOpen aria-hidden /> : <Lock aria-hidden />}
{done ? t(nextHintOpen) : t(nextHint)}
</p>
</div>
</div>
) : null}
</div>
</section>
)
}
export default LaunchVideoSeries8
export type SeriesVideo8 = {
title: string
detail?: string
itemImage?: string
/** Legacy image alias. */
image?: string
imageAlt?: string
href?: string
}
export type SeriesHeadline8 = { lead?: string; mark?: string; after?: string }
export type LaunchVideoSeries8State = 'default' | 'success'
type Status = 'watched' | 'current' | 'open' | 'next' | 'locked'
const DEFAULT_VIDEOS: SeriesVideo8[] = [
{ title: 'Plan your funnel', detail: 'Map your offer and the pages your funnel needs.' },
{ title: 'Write your page copy', detail: 'Draft your headline, offer, and call to action.' },
{ title: 'Check every step', detail: 'Review the links, forms, and next steps before launch.' },
{ title: 'Get ready to launch', detail: 'Put the plan, the copy, and the checks together so your funnel can go live.' },
]
const DEFAULT_COPY = {
questionMark: 'Q',
meter: '{video} {current} of {total}',
cardLabel: '{video} {index}: {title}, {status}',
videoLabel: '{video} {index}',
seriesLabel: 'Videos in this series',
nextTitle: '{title}.',
watched: 'Watched',
current: 'Watching now',
open: 'Open now',
next: 'Unlocks next',
locked: 'Unlocks later',
}
const fill = (s: string, vars: Record<string, string | number>) =>
Object.keys(vars).reduce((acc, k) => acc.split('{' + k + '}').join(String(vars[k])), s)
const CSS = `
.cf-launch-video-series-8{
--lvs8-surface:var(--surface,#ffffff);
--lvs8-card:var(--card,#ffffff);
--lvs8-ink:var(--ink,#101828);
--lvs8-muted:var(--muted,#4a5565);
--lvs8-accent:var(--accent,#0f5fc2);
--lvs8-done:var(--success);
--lvs8-r:min(var(--radius,14px),18px);
--lvs8-hair:oklch(from var(--lvs8-ink) l c h / 0.12);
--lvs8-pad:clamp(1rem,4vw,2.5rem);
position:relative;isolation:isolate;overflow:clip;width:100%;box-sizing:border-box;
padding:clamp(3rem,7vw,6rem) var(--lvs8-pad) clamp(3rem,6vw,5rem);
background:var(--lvs8-surface);color:var(--lvs8-ink);
font-family:var(--font-body,Arial,sans-serif);line-height:1.5;
}
.cf-launch-video-series-8 *,.cf-launch-video-series-8 *::before,.cf-launch-video-series-8 *::after{box-sizing:border-box}
.cf-launch-video-series-8 :where(h2,h3,p,ol){margin:0}
.cf-launch-video-series-8 svg{flex:none}
:where(.cf-launch-video-series-8) .lvs8-wrap{max-width:76rem;margin:0 auto}
:where(.cf-launch-video-series-8) .lvs8-row{display:grid;grid-template-columns:minmax(0,16rem) minmax(0,1fr);gap:clamp(1.25rem,3.5vw,3.5rem);align-items:start;padding:clamp(1.75rem,3.4vw,2.75rem) 0}
:where(.cf-launch-video-series-8) .lvs8-row+.lvs8-row{border-top:1px solid var(--lvs8-hair)}
:where(.cf-launch-video-series-8) .lvs8-row:first-child{padding-top:0}
:where(.cf-launch-video-series-8) .lvs8-row:last-child{padding-bottom:0}
:where(.cf-launch-video-series-8) .lvs8-q{display:flex;align-items:flex-start;gap:.75rem;font-family:var(--font-display,Arial,sans-serif);font-size:clamp(1.375rem,2.1vw,1.75rem);font-weight:var(--display-weight,800);line-height:1.15;letter-spacing:var(--display-tracking,-.02em);text-transform:var(--display-case,none)}
:where(.cf-launch-video-series-8) .lvs8-q span:last-child{text-wrap:balance;min-width:0}
:where(.cf-launch-video-series-8) .lvs8-qtag{flex:none;display:inline-grid;place-items:center;width:2.25rem;height:2.25rem;margin-top:-.15rem;border-radius:.65rem;background:var(--band);color:var(--band-ink);font-size:1.0625rem;font-weight:var(--display-weight,900);letter-spacing:0;box-shadow:inset 0 -2px 0 oklch(from var(--surface) min(0.25,calc(l - 0.12)) c h / .18)}
:where(.cf-launch-video-series-8) .lvs8-ans{min-width:0}
:where(.cf-launch-video-series-8) .lvs8-meter{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem 1.1rem;padding-top:.3rem}
:where(.cf-launch-video-series-8) .lvs8-meter b{font-family:var(--font-display,Arial,sans-serif);font-size:1.375rem;font-weight:var(--display-weight,900);letter-spacing:var(--display-tracking,-.01em);white-space:nowrap;text-transform:var(--display-case,none)}
:where(.cf-launch-video-series-8) .lvs8-track{display:block;flex:1 1 9rem;max-width:26rem;height:.55rem;overflow:hidden;border-radius:999px;background:oklch(from var(--lvs8-surface) calc(l - 0.03) c h);box-shadow:inset 0 1px 2px oklch(from var(--surface) min(0.25,calc(l - 0.12)) c h / .12)}
:where(.cf-launch-video-series-8) .lvs8-track i{display:block;height:100%;border-radius:inherit;background:var(--success);transition:width .6s cubic-bezier(.2,.8,.2,1)}
:where(.cf-launch-video-series-8) .lvs8-meternote{color:var(--lvs8-muted);font-size:1rem;font-weight:700;text-wrap:pretty}
:where(.cf-launch-video-series-8) .lvs8-stripwrap{grid-column:1/-1;container-type:inline-size;padding-top:clamp(.5rem,1.6vw,1.25rem)}
:where(.cf-launch-video-series-8) .lvs8-strip{list-style:none;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(.75rem,1.8vw,1.5rem)}
:where(.cf-launch-video-series-8) .lvs8-item{display:flex;min-width:0}
:where(.cf-launch-video-series-8) .lvs8-card{position:relative;flex:1;display:flex;flex-direction:column;min-width:0;width:100%;margin:0;padding:.5rem .5rem 1.1rem;border-radius:var(--card-radius,var(--lvs8-r));background:var(--button-2-bg,var(--card));color:var(--button-2-ink,var(--ink));border:1px solid oklch(from var(--lvs8-ink) l c h / 0.13);box-shadow:var(--card-shadow,inset 0 0 0 3px oklch(from var(--ink) l c h / 0.03),0 2px 4px oklch(from var(--shadow, oklch(0.22 0.03 260)) l c h / 0.14));font:inherit;text-align:left;text-decoration:none;transition:transform .3s cubic-bezier(.2,.8,.2,1),box-shadow .3s ease,border-color .3s ease;border-color:var(--button-2-border,var(--card-border,oklch(from var(--ink) l c h / 0.13)))}
:where(.cf-launch-video-series-8) button.lvs8-card{cursor:pointer;-webkit-appearance:none;appearance:none}
:where(.cf-launch-video-series-8) .lvs8-card.s-current{border-color:var(--card-border,var(--accent-fill,var(--accent)));box-shadow:var(--card-shadow,0 0 0 2px var(--accent-fill, var(--accent)),0 2px 4px oklch(from var(--shadow, oklch(0.22 0.03 260)) l c h / 0.14))}
:where(.cf-launch-video-series-8) .lvs8-card.s-open{border-color:var(--button-2-border,var(--card-border,oklch(from var(--accent-fill, var(--accent)) l c h / 0.55)))}
:where(.cf-launch-video-series-8) .lvs8-card.is-link:hover{transform:translateY(-4px);box-shadow:var(--card-shadow,inset 0 0 0 3px oklch(from var(--ink) l c h / 0.03),0 2px 4px oklch(from var(--shadow, oklch(0.22 0.03 260)) l c h / 0.14))}
:where(.cf-launch-video-series-8) .lvs8-card.is-link:active{transform:translateY(-1px)}
:where(.cf-launch-video-series-8) .lvs8-card:focus-visible{outline:3px solid var(--lvs8-accent);outline-offset:3px;outline-color:var(--button-bg,var(--cta))}
@container (min-width:44rem){
:where(.cf-launch-video-series-8) .lvs8-strip{grid-template-columns:repeat(var(--lvs8-n),minmax(0,1fr))}
:where(.cf-launch-video-series-8) .lvs8-card.s-current{transform:translateY(-.6rem)}
}
:where(.cf-launch-video-series-8) .lvs8-thumb{position:relative;display:block;overflow:hidden;aspect-ratio:16/11;border-radius:calc(var(--lvs8-r) - .3rem);background:oklch(from var(--lvs8-card) calc(l - 0.03) c h)}
:where(.cf-launch-video-series-8) .lvs8-thumb img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .5s cubic-bezier(.2,.8,.2,1),filter .7s ease}
:where(.cf-launch-video-series-8) .lvs8-card.is-link:hover .lvs8-thumb img{transform:scale(1.05)}
:where(.cf-launch-video-series-8) .s-next .lvs8-thumb img{filter:grayscale(.6) contrast(.95) brightness(1.03)}
:where(.cf-launch-video-series-8) .s-locked .lvs8-thumb img{filter:grayscale(1) contrast(.9) brightness(1.05)}
:where(.cf-launch-video-series-8) .lvs8-fallback{display:grid;place-items:center;width:100%;height:100%;color:var(--lvs8-muted)}
:where(.cf-launch-video-series-8) .lvs8-fallback svg{width:2rem;height:2rem}
:where(.cf-launch-video-series-8) .lvs8-veil{position:absolute;inset:0;display:grid;place-items:center;background:oklch(from var(--lvs8-surface) l c h / 0.3);transition:opacity .5s ease .15s}
:where(.cf-launch-video-series-8) .lvs8-veil.is-gone{opacity:0}
:where(.cf-launch-video-series-8) .lvs8-lockdisc{display:grid;place-items:center;width:3rem;height:3rem;border-radius:50%;background:var(--lvs8-card);color:var(--lvs8-ink);box-shadow:inset 0 0 0 1px oklch(from var(--lvs8-ink) l c h / 0.12),0 2px 3px oklch(from var(--shadow, oklch(0.22 0.03 260)) l c h / 0.3);transition:transform .45s cubic-bezier(.3,1.4,.5,1)}
:where(.cf-launch-video-series-8) .lvs8-veil.is-gone .lvs8-lockdisc{transform:scale(.4) rotate(-20deg)}
:where(.cf-launch-video-series-8) .lvs8-lockdisc svg{width:1.2rem;height:1.2rem}
:where(.cf-launch-video-series-8) .lvs8-cbody{display:flex;flex:1;flex-direction:column;align-items:flex-start;padding:1rem .6rem 0}
:where(.cf-launch-video-series-8) .lvs8-vlabel{display:block;color:var(--lvs8-muted);font-size:.875rem;font-weight:800;letter-spacing:.08em;line-height:1.2;text-transform:uppercase}
:where(.cf-launch-video-series-8) .s-current .lvs8-vlabel,:where(.cf-launch-video-series-8) .s-open .lvs8-vlabel{color:var(--ink)}
:where(.cf-launch-video-series-8) .lvs8-ctitle{display:block;margin:.75rem 0 1.1rem;font-family:var(--font-display,Arial,sans-serif);font-size:clamp(1.125rem,1.7vw,1.5rem);font-weight:var(--display-weight,800);line-height:1.12;letter-spacing:var(--display-tracking,-.02em);text-wrap:balance;overflow-wrap:anywhere;text-transform:var(--display-case,none)}
:where(.cf-launch-video-series-8) .lvs8-pill{display:inline-flex;align-items:center;gap:.4rem;max-width:100%;min-height:2rem;margin-top:auto;padding:.3rem .8rem;border-radius:999px;font-size:.875rem;font-weight:800;line-height:1.2}
:where(.cf-launch-video-series-8) .lvs8-pill svg{width:1rem;height:1rem}
:where(.cf-launch-video-series-8) .p-watched{background:var(--success-soft);color:var(--lvs8-done)}
:where(.cf-launch-video-series-8) .p-current{background:var(--band);color:var(--band-ink);box-shadow:inset 0 -2px 0 oklch(from var(--surface) min(0.25,calc(l - 0.12)) c h / .16)}
:where(.cf-launch-video-series-8) .p-open{background:var(--lvs8-card);color:var(--ink);box-shadow:inset 0 0 0 1.5px var(--accent-fill, var(--lvs8-accent))}
:where(.cf-launch-video-series-8) .p-next,:where(.cf-launch-video-series-8) .p-locked{background:oklch(from var(--lvs8-card) calc(l - 0.03) c h);color:var(--lvs8-muted)}
:where(.cf-launch-video-series-8) .lvs8-eq{display:inline-flex;flex:none;align-items:flex-end;gap:2px;height:.85rem}
:where(.cf-launch-video-series-8) .lvs8-eq i{display:block;width:3px;height:100%;border-radius:1px;background:currentColor;transform-origin:50% 100%}
:where(.cf-launch-video-series-8) .lvs8-eq i:nth-child(1){transform:scaleY(.55)}
:where(.cf-launch-video-series-8) .lvs8-eq i:nth-child(3){transform:scaleY(.75)}
:where(.cf-launch-video-series-8) .lvs8-next{max-width:46ch;font-size:clamp(1.25rem,2.1vw,1.625rem);line-height:1.38;text-wrap:pretty}
:where(.cf-launch-video-series-8) .lvs8-next strong{font-family:var(--font-display,Arial,sans-serif);font-weight:var(--display-weight,800);text-transform:var(--display-case,none)}
:where(.cf-launch-video-series-8) .lvs8-hint{display:inline-flex;align-items:center;gap:.5rem;margin-top:1.1rem;padding:.55rem 1rem;border-radius:999px;background:oklch(from var(--lvs8-surface) calc(l - 0.03) c h);color:var(--lvs8-muted);font-size:1rem;font-weight:700;line-height:1.3;text-wrap:pretty;transition:background .4s ease,color .4s ease}
:where(.cf-launch-video-series-8) .lvs8-hint.is-open{background:color-mix(in oklch,var(--accent-fill,var(--lvs8-accent)) 10%,var(--lvs8-surface));color:var(--ink)}
:where(.cf-launch-video-series-8) .lvs8-hint svg{width:1.05rem;height:1.05rem}
@media (max-width:47.99rem){
:where(.cf-launch-video-series-8) .lvs8-row{grid-template-columns:minmax(0,1fr);gap:1rem}
:where(.cf-launch-video-series-8) .lvs8-meter{padding-top:0}
:where(.cf-launch-video-series-8) .lvs8-stripwrap{padding-top:.25rem}
:where(.cf-launch-video-series-8) .lvs8-ctitle{font-size:1.0625rem}
:where(.cf-launch-video-series-8) .lvs8-cbody{padding-inline:.4rem}
:where(.cf-launch-video-series-8) .lvs8-pill{padding-inline:.6rem}
}
@media (prefers-reduced-motion:no-preference){
:where(.cf-launch-video-series-8) .lvs8-item{animation:lvs8-in .5s cubic-bezier(.2,.8,.2,1) both;animation-delay:calc(var(--i) * 70ms)}
:where(.cf-launch-video-series-8) .lvs8-eq i{animation:lvs8-eq .9s ease-in-out 5 alternate}
:where(.cf-launch-video-series-8) .lvs8-eq i:nth-child(2){animation-delay:.15s}
:where(.cf-launch-video-series-8) .lvs8-eq i:nth-child(3){animation-delay:.3s}
}
@keyframes lvs8-in{from{opacity:.82;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes lvs8-eq{from{transform:scaleY(.35)}to{transform:scaleY(1)}}
@media (prefers-reduced-motion:reduce){
.cf-launch-video-series-8 *,.cf-launch-video-series-8 *::before,.cf-launch-video-series-8 *::after{transition:none!important;animation:none!important}
}
`
function Pill({ status, label }: { status: Status; label: string }) {
return (
<span className={`lvs8-pill p-${status}`}>
{status === 'watched' ? <CheckCircle2 aria-hidden /> : null}
{status === 'current' ? (
<span className='lvs8-eq' aria-hidden><i /><i /><i /></span>
) : null}
{status === 'open' ? <LockOpen aria-hidden /> : null}
{status === 'next' || status === 'locked' ? <Lock aria-hidden /> : null}
{label}
</span>
)
}
function Thumb({ v, status }: { v: SeriesVideo8; status: Status }) {
return (
<span className='lvs8-thumb'>
{(v.itemImage === undefined ? v.image : v.itemImage) ? (
<img src={v.itemImage === undefined ? v.image : v.itemImage} alt={v.imageAlt ?? ''} width={640} height={440} loading='lazy' decoding='async' />
) : (
<span className='lvs8-fallback'><Film aria-hidden /></span>
)}
{status === 'next' || status === 'locked' || status === 'open' ? (
<span className={`lvs8-veil${status === 'open' ? ' is-gone' : ''}`} aria-hidden>
<span className='lvs8-lockdisc'><Lock /></span>
</span>
) : null}
</span>
)
}
pieces/content/launch-video-series-8/specimen.tsx 47 lines
import __studioImage9256b87a from "../assets/65a71dd3a926ef1e.webp";
import __studioImaged6749638 from "../assets/845da158558fa30e.webp";
import __studioImage4b77e8dc from "../assets/dec42248e43457e9.webp";
import LaunchVideoSeries8 from '../launch-video-series-8'
import { slot } from '../../slots'
import defaults from '../../studio-defaults.json'
export const states = ['default', 'success']
const items = defaults.sample.items
const videos = [
{
title: 'Plan your funnel',
detail: items[0].detail,
image: __studioImage9256b87a,
imageAlt: 'A notebook with a sketched funnel plan on a desk',
},
{
title: 'Write your page copy',
detail: items[1].detail,
image: __studioImaged6749638,
imageAlt: 'A person writing page copy on a laptop',
},
{
title: 'Check every step',
detail: items[2].detail,
image: items[2].image,
imageAlt: items[2].imageAlt,
},
{
title: 'Get ready to launch',
detail: 'Put the plan, the copy, and the checks together so your funnel can go live.',
image: __studioImage4b77e8dc,
imageAlt: 'A person smiling at a laptop, ready to launch',
},
]
export default function LaunchVideoSeries8Specimen({ state = 'default' }: { state?: string }) {
return (
<LaunchVideoSeries8
videos={videos.map((video, i) => ({ ...video, itemImage: slot(`item-${i + 1}`, video.image) }))}
current={1}
state={state === 'success' ? 'success' : 'default'}
/>
)
}
| Name | Type | Details |
|---|---|---|
videos OptionalLaunchVideoSeries8 |
SeriesVideo8[] |
|
current OptionalLaunchVideoSeries8 |
number |
Default 1
|
askWhere OptionalLaunchVideoSeries8 |
string |
Default 'Where are you in the series?'
|
askNext OptionalLaunchVideoSeries8 |
string |
Default 'What’s waiting in Video {next}?'
|
meterNote OptionalLaunchVideoSeries8 |
string |
Default '{done} watched · {left} to go'
|
nextHint OptionalLaunchVideoSeries8 |
string |
Default 'Opens when you finish Video {current}'
|
nextHintOpen OptionalLaunchVideoSeries8 |
string |
Default 'Open now. Tap the card to continue.'
|
videoWord OptionalLaunchVideoSeries8 |
string |
Default 'Video'
|
unlocked OptionalLaunchVideoSeries8 |
boolean |
Default false
|
onAction OptionalLaunchVideoSeries8 |
(index: number) => void |
Default onSelect
|
onSelect OptionalLaunchVideoSeries8 |
(index: number) => void |
|
copy OptionalLaunchVideoSeries8 |
Partial<typeof DEFAULT_COPY> |
|
state OptionalLaunchVideoSeries8 |
LaunchVideoSeries8State |
Default 'default'
|
className OptionalLaunchVideoSeries8 |
string |
|
headline OptionalLaunchVideoSeries8 |
SeriesHeadline8 |
|
subhead OptionalLaunchVideoSeries8 |
string |
|
askNow OptionalLaunchVideoSeries8 |
string |
|
nowIdle OptionalLaunchVideoSeries8 |
string |
|
nowLocked OptionalLaunchVideoSeries8 |
string |
|
nowDone OptionalLaunchVideoSeries8 |
string |
|
nowFinal OptionalLaunchVideoSeries8 |
string |
|
upNextLabel OptionalLaunchVideoSeries8 |
string |
|
continueLabel OptionalLaunchVideoSeries8 |
string |
|
loadingLabel OptionalLaunchVideoSeries8 |
string |
|
openLabel OptionalLaunchVideoSeries8 |
string |
|
lockedLabel OptionalLaunchVideoSeries8 |
string |
|
retryLabel OptionalLaunchVideoSeries8 |
string |
|
reassurance OptionalLaunchVideoSeries8 |
string |
|
successNote OptionalLaunchVideoSeries8 |
string |
|
errorNote OptionalLaunchVideoSeries8 |
string |
|
nextHref OptionalLaunchVideoSeries8 |
string |
|
requireFinish OptionalLaunchVideoSeries8 |
boolean |
|
onContinue OptionalLaunchVideoSeries8 |
(nextIndex: number) => void | boolean | Promise<void | boolean> |
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- Main CTA button: background, ink, font, weight, case, radius and shadow.
--button-2-bg--button-2-border--button-2-ink- Secondary button.
--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.
Image slots
Filled from the brand’s images; the specimen ships its own defaults.
item-*- One image per offer item (item-1, item-2…), shown in stacks and lists.
-
65a71dd3a926ef1e.webp
image/webp · 109 KB
-
845da158558fa30e.webp
image/webp · 90 KB
-
b77916eca54aa689.webp
image/webp · 8.32 KB
-
d435db6662febfcf.webp
image/webp · 10 KB
-
dec42248e43457e9.webp
image/webp · 70 KB
-
f0a5d3e1e61804ba.webp
image/webp · 11.6 KB