Founder Intro Card 1
The turn beat of a sales video, VSL or webinar trailer: the founder's cut-out slides onto a lit stage set (light pool, floor, horizon), their name slams in as the headline, then one credential and (in 16:9) one line in their own voice.
Use it in a prompt
Use the video/founder-intro-card video frame from the FunnelDNA library in my brand (landscape and vertical). Follow the video skill. Ask me for the script facts, voice and images 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/video/founder-intro-card.tsx. - Import it and pass your copy and images (Props tab):
import { FounderIntroCard } from "@/components/funneldna/video/founder-intro-card"
It restyles from the theme tokens on any wrapper (Theme tab). The specimen source is a complete working example.
pieces/video/founder-intro-card/component.tsx 253 lines
// When to use: The turn beat of a sales video, VSL or webinar trailer: the founder's cut-out slides onto a lit stage set (light pool, floor, horizon), their name slams in as the headline, then one credential and (in 16:9) one line in their own voice.
import * as React from "react"
import { Img, useVideoConfig } from "remotion"
import noise from "../fx/textures/noise"
import {
HOLD, Rise, SafeArea, SPRINGS, StageField, StageLight, TONES, VideoStage, cue, display, ok, phraseRange, progress, springAt,
timeWords, useFitText, useHeld, useStage,
type SpringConfig, type StageTone, type VideoFormat, type VideoMeta, type Word,
} from "../fx/video-kit"
export const video = { fps: 30, durationInFrames: 210, formats: ["landscape", "vertical"], poster: 200 } satisfies VideoMeta
export type FounderIntroCardProps = {
format?: VideoFormat
durationInFrames?: number
/** The founder's name, as the page prints it; set as the scene's headline. Empty draws nothing. */
name?: string
/** One real credential line ("22 years as an ER nurse, most of them on nights"). Empty draws nothing. */
credential?: string
/** 9:16 and 1:1: the same credential cut to one short line ("22 years an ER nurse") so it sets large in the narrow column. Falls back to `credential`. */
credentialShort?: string
/** One line in the founder's own voice, without quote marks. 16:9 only (phones and square keep the name, credential and figure). Empty draws nothing. */
quote?: string
/** Voice timings for the scene: the name, the credential and each phrase of the quote land on their spoken frames. */
words?: Word[]
/** The real founder on a transparent background (pass slot("presenter-cutout", …)). Never a generated stand-in shown as a real person. */
presenter?: string
/** Their signature image, transparent (pass slot("signature", …)); fades in under the quote in 16:9, never drawn on. */
signature?: string
/** Landscape and square: the side the figure stands on; the copy takes the other side. */
side?: "right" | "left"
/** The field: band (default) or surface. */
tone?: Exclude<StageTone, "card">
}
/** A soft, critically damped landing: the figure arrives and settles without a bounce. */
const SETTLE: SpringConfig = { damping: 20, stiffness: 100, mass: 1 }
/** A word that closes a phrase (punctuation, with any closing quote). */
const CLOSES = /[,.;:!?—–]["'”’)]*$/
/**
* Space under the name (stage px, from the name's size): a visible gap of at least 24px (0.15 of the name), plus room
* for the display face's ascenders and descenders, which overhang the name's tight 1.0 line box.
*/
const nameGap = (size: number) => Math.max(24, Math.round(0.15 * size)) + Math.round(0.16 * size)
/** Turn: the founder slides onto the lit set and settles, the name slams in as the headline, the credential rises, the quote lands phrase by phrase. */
export function FounderIntroCard({
format = "landscape",
durationInFrames = video.durationInFrames,
name = "",
credential = "",
credentialShort = "",
quote = "",
words,
presenter = "",
signature = "",
side = "right",
tone = "band",
}: FounderIntroCardProps) {
const f = useHeld(durationInFrames)
const live = Math.max(60, durationInFrames - HOLD)
const { fps } = useVideoConfig()
const { u, width, height, portrait, format: fmt } = useStage()
const square = fmt === "square"
const compact = portrait || square
const s = (n: number) => n * u
const frameW = width / u, frameH = height / u
const colors = TONES[tone]
const figure = !!presenter
// Phones and square: the figure is the subject; the quote and signature are left out and the credential takes its
// short form, so the narrow column keeps large type.
const cred = compact && credentialShort ? credentialShort : credential
const showQuote = !!quote && !compact
const showSig = !!signature && !compact
// +1: the figure stands on the right (and slides in from there); the copy drifts the other way.
const dir = portrait || side === "right" ? 1 : -1
// Timing: the voice when it is given, an even pace when it is not.
const voiced = !!words?.length
const spoken = React.useMemo(() => timeWords("", words, durationInFrames, fps), [words, durationInFrames, fps])
const list = React.useMemo(() => (showQuote ? quote.split(/\s+/).filter(Boolean) : []), [quote, showQuote])
const nameAt = voiced ? Math.max(4, Math.min(16, cue(spoken, name, 16))) : 16
const credAt = Math.min(live - 60, Math.max(nameAt + 12, voiced ? cue(spoken, cred, nameAt + 14) : nameAt + 14))
// Phrases break at punctuation.
const starts = list.reduce<number[]>((acc, _w, i) => (i === 0 || CLOSES.test(list[i - 1]) ? [...acc, i] : acc), [])
const phraseOf = list.map((_w, i) => starts.filter((st) => st <= i).length - 1)
const voiceAt = voiced && list.length
? (() => {
const r = phraseRange(spoken, quote)
return r ? spoken.slice(r[0], r[1]).map((x) => x.at) : timeWords(quote, words, durationInFrames, fps).map((x) => x.at)
})()
: null
const base = (cred ? credAt : nameAt) + 20
const gap = starts.length > 1 ? Math.max(8, Math.min(22, (live - 70 - base) / (starts.length - 1))) : 0
const phraseAt: number[] = []
starts.forEach((st, k) => {
const want = voiceAt ? voiceAt[st] ?? base + k * gap : base + k * gap
const floor = k ? phraseAt[k - 1] + 4 : nameAt + 8
phraseAt.push(Math.min(live - 40, Math.max(floor, want)))
})
const lastAt = phraseAt.length ? phraseAt[phraseAt.length - 1] : credAt
const sigAt = Math.min(live - 14, lastAt + 16)
const sigIn = progress(f, sigAt, sigAt + 14)
// Composition (stage px). Landscape: the figure stands ~90% of the frame height on one side, feet on the set's floor
// below the horizon; the copy takes a ~55% column on the other. Square: the same split, the figure on ~55% of the
// width and the copy in a 500px column inside the square's margins. Vertical: the figure is the subject, a full-width
// box from the middle down (the body runs into the bottom band, the text never does); the name and credential sit in
// the safe area directly above the head.
const fig = portrait
? { left: 0, top: frameH - 1160, w: frameW, h: 1160 }
: square
? { left: side === "right" ? frameW - 560 : -40, top: frameH - 1000, w: 600, h: 1000 }
: { left: side === "right" ? frameW - 920 : -60, top: frameH - 980, w: 980, h: 980 }
// The set: the floor meets the back wall a little above the feet (16:9, 1:1) or behind the shoulders (9:16), so the
// founder reads as standing in the room, not pasted on a field.
const horizon = portrait ? 0.7 : square ? 0.8 : 0.78
// Text margins per format (the stage's own): the column is the SafeArea's real width, so every fit wraps as drawn.
const mx = compact ? 84 : 150
const col = portrait ? 912 : square ? (figure ? 500 : frameW - 2 * mx) : figure ? 1040 : frameW - 2 * mx
const textBottom = fig.top - 24
const inset = !figure ? {} : portrait ? { bottom: s(frameH - textBottom) } : side === "right" ? { right: s(frameW - mx - col) } : { left: s(frameW - mx - col) }
const avail = portrait ? (figure ? textBottom - 250 : frameH - 250 - 640) : square ? frameH - 84 - 190 : frameH - 96 - 180
// Parallax: the copy drifts 0.5% one way, the figure 1% the other, the light slower still.
const p = progress(f, 0, live, (t) => t)
const textX = -dir * 0.005 * width * p
const figX = dir * 0.01 * width * p
const lightX = ((fig.left + fig.w / 2) / frameW) * 100 + dir * 0.5 * p
const k = springAt(f, 0, fps, SETTLE)
const push = 1 + 0.02 * p
// Shadows come from the theme's dark shadow token (always L ≤ 0.25), never a light or fixed colour.
const contact = ok("--shadow", 0, 0.55)
const shade = ok("--shadow", 0, 0.4)
// Type scale. Landscape: name ~150 (1–2 rows), credential 50–56, quote upright display ~80 (1–3 rows).
// Vertical: name up to 160 filling the width (1–2 rows), short credential 48–60 as one block under it.
// Square: name up to 128 in the 500px column, short credential 44–52.
const credRef = React.useRef<HTMLParagraphElement>(null)
const credMax = portrait ? 60 : square ? 52 : 56, credMin = portrait ? 48 : square ? 44 : 50
const credLH = compact ? 1.18 : 1.3
const credSize = useFitText(credRef, cred, {
boxW: s(col), boxH: s(credMax * 2 * credLH), guess: s(portrait ? 56 : square ? 48 : credMin), max: s(credMax), min: s(credMin), lines: [1, 2],
}) / u
const credLines = cred ? Math.min(3, Math.max(1, Math.ceil((cred.length * 0.5 * credSize) / col))) : 0
const credH = credLines * credSize * credLH
const nameMax = portrait ? 160 : square ? 128 : 156
const nameMin = portrait ? 112 : square ? 80 : 96
// The height budget reserves the gap the largest name would need; the drawn gap follows the fitted size.
const gapBudget = name && cred ? nameGap(nameMax) : 0
const gapQuote = (name || cred) && showQuote ? 44 : 0
const sigGap = 24, sigImg = 84
const sigH = showSig ? sigGap + sigImg : 0
const nameBox = compact ? Math.max(200, Math.min(360, avail - credH - gapBudget)) : 340
// The quote takes whatever height the name, credential and signature leave, so the column never reaches the caption band.
const quoteBox = Math.max(170, avail - (name ? nameBox : 0) - credH - gapBudget - gapQuote - sigH - 8)
const nameRef = React.useRef<HTMLHeadingElement>(null)
const quoteRef = React.useRef<HTMLQuoteElement>(null)
// Fitted a little inside the column, so no name ever reaches the column's (or the frame's) edge.
const nameSize = useFitText(nameRef, name, {
boxW: s(col - 16), boxH: s(nameBox), guess: s(portrait ? 150 : square ? 112 : 148), max: s(nameMax), min: s(nameMin), lines: [1, 2],
})
const gapName = name && cred ? nameGap(nameSize / u) : 0
const quoted = showQuote ? `“${quote}”` : ""
const quoteSize = useFitText(quoteRef, quoted, {
boxW: s(col), boxH: s(quoteBox), guess: s(80), max: s(84), min: s(72), lines: [1, 2, 3],
})
// Slam: the name arrives at 110% and settles inside 6 frames.
const slam = progress(f, nameAt, nameAt + 6)
const nameIn = progress(f, nameAt, nameAt + 3, (t) => t)
const quoteWords: React.ReactNode[] = []
list.forEach((w, i) => {
const kq = springAt(f, phraseAt[phraseOf[i]], fps, SPRINGS.pop)
// The opening mark hangs in the margin, so the quote's first letter aligns with the name's edge.
const open = i === 0 ? <span style={{ marginLeft: "-0.38em" }}>“</span> : null
const label = w + (i === list.length - 1 ? "”" : "")
quoteWords.push(
<span key={"w" + i} style={{ display: "inline-block", opacity: Math.min(1, kq * 2.2), transform: `translateY(${(1 - kq) * 24 * u}px)` }}>
{open}{label}
</span>,
)
if (i < list.length - 1) quoteWords.push(" ")
})
return (
<VideoStage format={format} tone={tone}>
<StageField tone={tone} texture={noise} opacity={tone === "band" ? 0.14 : 0.08} drift={10} frame={f} horizon={horizon} />
{figure && <StageLight x={`${lightX}%`} strength={tone === "band" ? 0.3 : 0.2} tone="accent-fill" floor />}
{figure && (
<div style={{
position: "absolute", zIndex: 1, left: s(fig.left), top: s(fig.top), width: s(fig.w), height: s(fig.h),
opacity: Math.min(1, k * 1.6), transform: `translateX(${(1 - k) * 60 * u * dir + figX}px) scale(${push})`,
transformOrigin: portrait ? "50% 0%" : "50% 100%",
}}>
{!portrait && (
<div aria-hidden style={{
position: "absolute", left: "16%", right: "16%", bottom: s(-44), height: s(120), borderRadius: "50%",
background: `radial-gradient(closest-side, ${contact}, transparent)`,
}} />
)}
<Img src={presenter} alt={name} style={{
position: "absolute", inset: 0, width: "100%", height: "100%",
// Vertical fills the box from the head down (any aspect keeps the head; the body runs off the bottom).
objectFit: portrait ? "cover" : "contain", objectPosition: portrait ? "50% 0%" : "50% 100%",
filter: `drop-shadow(0 ${s(3)}px ${s(3)}px ${shade}) drop-shadow(0 ${s(24)}px ${s(32)}px ${shade})`,
}} />
</div>
)}
<SafeArea inset={inset} style={{
zIndex: 2, justifyContent: portrait && figure ? "flex-end" : "center", alignItems: portrait ? "center" : "flex-start",
textAlign: portrait ? "center" : "left", transform: `translateX(${textX}px)`,
}}>
{name && (
<h2 ref={nameRef} style={{
...display(nameSize, { lineHeight: 1.0 }), margin: `0 0 ${s(gapName)}px`, maxWidth: s(col), color: colors.ink, opacity: nameIn,
transform: `scale(${1.1 - 0.1 * slam})`, transformOrigin: portrait ? "50% 100%" : "0% 50%",
}}>
{name}
</h2>
)}
{cred && (
<Rise at={credAt} y={20}>
<p ref={credRef} style={{
margin: 0, maxWidth: s(col), fontFamily: "var(--font-body)", fontSize: s(credSize), fontWeight: compact ? 700 : 600, lineHeight: credLH,
color: colors.muted, textWrap: compact ? "balance" : "pretty",
}}>
{cred}
</p>
</Rise>
)}
{showQuote && (
<blockquote ref={quoteRef} style={{
// Upright: themes load no italic display face, and a synthesised (faux) italic never ships.
...display(quoteSize, { lineHeight: 1.1, fontStyle: "normal", fontSynthesis: "none" }), margin: `${s(gapQuote)}px 0 0`, maxWidth: s(col), color: colors.ink,
}}>
{quoteWords}
</blockquote>
)}
{showSig && (
<div style={{ marginTop: s(sigGap), opacity: sigIn }}>
<Img src={signature} alt="" style={{
display: "block", height: s(sigImg), maxWidth: s(440), objectFit: "contain", objectPosition: "0% 50%",
}} />
</div>
)}
</SafeArea>
</VideoStage>
)
}
export default FounderIntroCard
pieces/video/founder-intro-card/specimen.tsx 35 lines
import __studioImagefd11a324 from "../assets/16bb4ec374e29cdf.webp";
import * as React from "react"
import { slot } from "../../slots"
import { VideoPreview, type VideoFormat } from "../../fx/video-kit"
import { FounderIntroCard, video, type FounderIntroCardProps } from "../founder-intro-card"
export const states = ["landscape", "vertical"]
/** Figure settled and the name slammed in, name and credential in, quote landed (16:9), final hold. */
export const keyframes = [20, 46, 96, 204]
// Fictional sample: Dana Whitlock, a sleep coach for shift workers. A generated figure stands in for the sample only;
// a real video passes the founder's own cut-out through the presenter-cutout slot.
const presenterArt = __studioImagefd11a324
export const sample: FounderIntroCardProps = {
name: "Dana Whitlock",
credential: "22 years as an ER nurse, most of them on nights",
credentialShort: "22 years an ER nurse",
quote: "I wrote the book I needed.",
presenter: presenterArt,
}
/** The sample business in its own colours and type; Original and every preset stay one click away. */
export const sampleBrand = {"name":"Dana Whitlock","theme":"light","background":"#f1f8f8","colors":["#0e7c7b","#f2a541"],"fonts":["Archivo","Inter"],"band":"#d2eeee"}
export default function FounderIntroCardSpecimen({ state = "landscape" }: { state?: string }) {
return (
<VideoPreview
component={FounderIntroCard}
props={{ ...sample, presenter: slot("presenter-cutout", presenterArt), signature: slot("signature", "") }}
format={state as VideoFormat}
meta={video}
/>
)
}
| Name | Type | Details |
|---|---|---|
format OptionalFounderIntroCard |
VideoFormat |
Default "landscape"
|
durationInFrames OptionalFounderIntroCard |
number |
Default video.durationInFrames
|
name OptionalFounderIntroCard |
string |
Default ""
|
credential OptionalFounderIntroCard |
string |
Default ""
|
credentialShort OptionalFounderIntroCard |
string |
Default ""
|
quote OptionalFounderIntroCard |
string |
Default ""
|
words OptionalFounderIntroCard |
Word[] |
|
presenter OptionalFounderIntroCard |
string |
Default ""
|
signature OptionalFounderIntroCard |
string |
Default ""
|
side OptionalFounderIntroCard |
"right" | "left" |
Default "right"
|
tone OptionalFounderIntroCard |
Exclude<StageTone, "card"> |
Default "band"
|
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.
None listed in this pack.
Image slots
Filled from the brand’s images; the specimen ships its own defaults.
presenter-cutout- The presenter on a transparent background.
signature- The founder’s handwritten signature.
-
16bb4ec374e29cdf.webp
image/webp · 104 KB
-
bec2a41897a3364d.webp
image/webp · 51.2 KB