Hook Kinetic Question 1
The hook line lands word by word and its last phrase gets a marker swipe; the opening beat of a cold video ad or VSL.
Use it in a prompt
Use the video/hook-kinetic-question 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/hook-kinetic-question.tsx. - Import it and pass your copy and images (Props tab):
import { HookKineticQuestion } from "@/components/funneldna/video/hook-kinetic-question"
It restyles from the theme tokens on any wrapper (Theme tab). The specimen source is a complete working example.
pieces/video/hook-kinetic-question/component.tsx 109 lines
// When to use: The hook line lands word by word and its last phrase gets a marker swipe; the opening beat of a cold video ad or VSL.
import * as React from "react"
import { useVideoConfig } from "remotion"
import noise from "../fx/textures/noise"
import type { BackdropTreatment } from "../fx/fx"
import {
HOLD, MarkerSwipe, SafeArea, StageField, StagePhoto, TONES, VideoStage, display, phraseRange, progress, springAt, SPRINGS, swipePart,
useFitText, useHeld, useStage, useWords,
type StageTone, type VideoFormat, type VideoMeta, type Word,
} from "../fx/video-kit"
export const video = { fps: 30, durationInFrames: 120, formats: ["landscape", "vertical"], poster: 100 } satisfies VideoMeta
export type HookKineticQuestionProps = {
format?: VideoFormat
durationInFrames?: number
/** The hook, one sentence. Name a situation, never the viewer's health, body or money. */
line?: string
/** The phrase (inside `line`, usually its end) that gets the one marker swipe. */
highlight?: string
/** Voice timings for `line`; without them the words land evenly over the first half of the scene. */
words?: Word[]
/** The field: band (dark end of the palette, default) or surface (the bright end). */
tone?: Exclude<StageTone, "card">
/** Scene photo behind the line (pass slot("scene", …)); a slow push, scrimmed on the text side. */
scene?: string
/** How the photo takes the theme: natural (its own colours under a band scrim) or duotone (mapped to the tokens). */
treatment?: BackdropTreatment
/** Photo focal point (CSS object-position). */
focus?: string
}
/** As large as the box allows at 2–3 lines (4–5 in vertical), inside the display range; the longest word always fits. */
function fitSize(line: string, width: number, height: number, portrait: boolean) {
const chars = line.length, lines = portrait ? (chars > 26 ? 5 : 4) : chars > 34 ? 3 : 2
const longest = Math.max(1, ...line.split(/\s+/).map((w) => w.length))
const byWidth = width / ((chars / lines + 2) * 0.5)
const byWord = width / (longest * 0.66)
const byHeight = height / ((lines + (portrait ? 1 : 0)) * 1.06)
return Math.round(Math.max(84, Math.min(portrait ? 150 : 196, byWidth, byWord, byHeight)))
}
/** Hook: the question lands word by word, big, the last phrase gets one marker swipe, the line settles. */
export function HookKineticQuestion({
format = "landscape",
durationInFrames = video.durationInFrames,
line = "",
highlight,
words,
tone = "band",
scene,
treatment = "natural",
focus,
}: HookKineticQuestionProps) {
const f = useHeld(durationInFrames)
const { fps } = useVideoConfig()
const { text, u, width, height, portrait } = useStage()
const timed = useWords(line, words, durationInFrames, { from: 3, span: 0.5 })
const range = phraseRange(timed, highlight)
const last = timed.length ? timed[timed.length - 1].at : 0
// The swipe and settle always finish before the final hold.
const swipeAt = Math.min(range ? Math.max(last + 4, timed[range[1] - 1].at + 4) : last + 4, durationInFrames - HOLD - 16)
const swipe = progress(f, swipeAt, swipeAt + 10, (t) => t)
const settle = 1 - 0.025 * progress(f, swipeAt + 6, swipeAt + 22)
// A slow push across the whole scene keeps the frame alive after the line has landed.
const push = 1 + 0.03 * progress(f, 0, durationInFrames - HOLD, (t) => t)
const boxW = (portrait ? width - text.left - text.right : width * 0.8) / u, boxH = (height - text.top - text.bottom) / u
// Measured in the theme's own face: every line fills the same share of the frame, Anton or Playfair alike.
const head = React.useRef<HTMLHeadingElement>(null)
const size = useFitText(head, line, {
boxW: boxW * u, boxH: boxH * u, guess: fitSize(line, boxW, boxH, portrait) * u,
max: (portrait ? 160 : 196) * u, min: 72 * u, lines: portrait ? [3, 4, 5] : [2, 3],
})
const colors = TONES[tone]
const word = (x: (typeof timed)[number]) => {
const s = springAt(f, x.at, fps, SPRINGS.pop)
return (
<span key={x.i} style={{ display: "inline-block", opacity: Math.min(1, s * 2.5), transform: `translateY(${(1 - s) * 26 * u}px) scale(${0.94 + 0.06 * s})` }}>
{x.w}
</span>
)
}
const parts: React.ReactNode[] = []
timed.forEach((x, i) => {
const k = range && i >= range[0] && i < range[1] ? i - range[0] : -1
parts.push(k < 0 ? word(x) : <MarkerSwipe key={"m" + i} p={swipePart(swipe, k, range![1] - range![0])}>{word(x)}</MarkerSwipe>)
if (i < timed.length - 1) parts.push(" ")
})
return (
<VideoStage format={format} tone={tone}>
{scene
? <StagePhoto src={scene} frame={f} dur={durationInFrames - HOLD} push={[1.04, 1.12]} treatment={treatment} tone={tone === "band" ? "band" : "surface"}
side={portrait ? "top" : "left"} position={focus} />
: <StageField tone={tone} texture={noise} opacity={tone === "band" ? 0.14 : 0.08} frame={f} />}
<SafeArea style={{ justifyContent: "center", alignItems: "flex-start", textAlign: "left" }}>
<h2 ref={head} style={{
...display(size, { lineHeight: 1.02 }), margin: 0, color: colors.ink, maxWidth: portrait ? "100%" : boxW * u,
transform: `scale(${settle * push})`, transformOrigin: "0% 50%",
}}>
{parts}
</h2>
</SafeArea>
</VideoStage>
)
}
export default HookKineticQuestion
pieces/video/hook-kinetic-question/specimen.tsx 25 lines
import * as React from "react"
import night from "../../fx/backdrops/night"
import { slot } from "../../slots"
import { VideoPreview, type VideoFormat } from "../../fx/video-kit"
import { HookKineticQuestion, video, type HookKineticQuestionProps } from "../hook-kinetic-question"
export const states = ["landscape", "vertical"]
/** First readable word, mid-line, the swipe landed, final hold. */
export const keyframes = [8, 30, 72, 119]
// Fictional sample: Dana Whitlock, a sleep coach for shift workers.
export const sample: HookKineticQuestionProps = {
line: "Still wide awake at 10 a.m. after a night shift?",
highlight: "after a night shift?",
// The designed still (fx "Desk at night"); the specimen swaps in the brand's scene slot at render time.
scene: night,
focus: "70% 50%",
}
/** The sample business in its own colours and type (sample-palettes.md: plum-night · warm-serif); Original and every preset stay one click away. */
export const sampleBrand = { name: "Dana Whitlock", theme: "light", background: "#f1f8f8", colors: ["#0e7c7b", "#f2a541"], fonts: ["Archivo", "Inter"] }
export default function HookKineticQuestionSpecimen({ state = "landscape" }: { state?: string }) {
return <VideoPreview component={HookKineticQuestion} props={{ ...sample, scene: slot("scene", night) }} format={state as VideoFormat} meta={video} />
}
| Name | Type | Details |
|---|---|---|
format OptionalHookKineticQuestion |
VideoFormat |
Default "landscape"
|
durationInFrames OptionalHookKineticQuestion |
number |
Default video.durationInFrames
|
line OptionalHookKineticQuestion |
string |
Default ""
|
highlight OptionalHookKineticQuestion |
string |
|
words OptionalHookKineticQuestion |
Word[] |
|
tone OptionalHookKineticQuestion |
Exclude<StageTone, "card"> |
Default "band"
|
scene OptionalHookKineticQuestion |
string |
|
treatment OptionalHookKineticQuestion |
BackdropTreatment |
Default "natural"
|
focus OptionalHookKineticQuestion |
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.
None listed in this pack.
Image slots
Filled from the brand’s images; the specimen ships its own defaults.
scene- A wide atmosphere photo behind or beside the copy.
-
7ef109748b828d4d.webp
image/webp · 22.2 KB
-
bec2a41897a3364d.webp
image/webp · 51.2 KB