Guarantee Seal 1
The risk-reversal beat: a big guarantee seal stamps in centred under a spotlight, standing on the stage's horizon, and the page's exact guarantee sets under it phrase by phrase; for sales videos, VSLs and video ads.
Use it in a prompt
Use the video/guarantee-seal 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/guarantee-seal.tsx. - Import it and pass your copy and images (Props tab):
import { GuaranteeSeal } from "@/components/funneldna/video/guarantee-seal"
It restyles from the theme tokens on any wrapper (Theme tab). The specimen source is a complete working example.
pieces/video/guarantee-seal/component.tsx 200 lines
// When to use: The risk-reversal beat: a big guarantee seal stamps in centred under a spotlight, standing on the stage's horizon, and the page's exact guarantee sets under it phrase by phrase; for sales videos, VSLs and video ads.
import * as React from "react"
import { Img, useVideoConfig } from "remotion"
import linen from "../fx/textures/linen"
import {
HOLD, Rise, SafeArea, SPRINGS, StageField, StageLight, TONES, VideoStage, display, phraseRange, progress, springAt, tween,
useFitText, useHeld, useStage, useWords,
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 GuaranteeSealProps = {
format?: VideoFormat
durationInFrames?: number
/** The guarantee period in days, exactly as the page states it. Without it the frame renders nothing. */
days?: number | string
/** The guarantee in one or two plain sentences, in the page's exact terms. Without it the frame renders nothing. */
sentence?: string
/** The phrase inside `sentence` set at full display weight (usually the promise); the rest sets a step lighter. */
highlight?: string
/** One terms line under the sentence (how to claim, what is refunded), in the page's terms. Landscape only, at 44px; dropped on phones and when it needs more than two lines. */
terms?: string
/** The word set under the big day count, used only when no seal image is supplied. */
unit?: string
/** Money-back seal, transparent background (pass slot("seal-guarantee", …)). */
seal?: string
/** Voice timings for `sentence`; each phrase lands on its first spoken word. Without them the phrases pace evenly. */
words?: Word[]
/** The field: band (default, the seal lit on a dark stage) or surface (the bright end of the palette). */
tone?: "band" | "surface"
}
/**
* Per-format centred stack in stage px. The seal stands centred in the upper part of the frame, its base on the
* StageField horizon; the headline sets centred under it across the full text column. `tight` is the row count the
* headline aims for; `loose` adds a row only when the sentence cannot reach `tightMin` at `tight`. Vertical has no
* terms line: at phone size it could not hold 44px.
*/
const LAYOUT = {
landscape: { seal: 420, sealTop: 92, gap: 44, col: 1620, terms: 44, termsGap: 28, max: 124, tightMin: 80, tight: [2], loose: [2, 3] },
vertical: { seal: 640, sealTop: 180, gap: 40, col: 912, terms: 0, termsGap: 0, max: 140, tightMin: 72, tight: [3, 4], loose: [3, 4, 5] },
} as const
/** Clearance kept above the caption band, so the 1% push never carries a line into it. */
const BOTTOM_PAD = 14
/** Frame the seal's spring has landed; the 4-frame settle runs from here. */
const LAND = 8
/** Frame the first phrase slams in when there is no voice: fully set by frame 12. */
const FIRST = 6
/** The words around the promise: a clear step under the display weight, never below 400. */
const LIGHT = "max(400, calc(var(--display-weight, 800) - 300))" as unknown as number
/** Risk reversal: the seal stamps in big and centred (115% → 100%, one firm spring, a 1.5° settle), the guarantee slams in under it phrase by phrase with the promise in full weight, the terms fade up, then a calm 1% push. */
export function GuaranteeSeal({
format = "landscape",
durationInFrames = video.durationInFrames,
days,
sentence = "",
highlight,
terms = "",
unit = "days",
seal = "",
words,
tone = "band",
}: GuaranteeSealProps) {
const f = useHeld(durationInFrames)
const { fps } = useVideoConfig()
const { u, portrait, width, height, text } = useStage()
const live = durationInFrames - HOLD
const L = portrait ? LAYOUT.vertical : LAYOUT.landscape
const s = (n: number) => n * u
const dayText = days === undefined || days === null ? "" : String(days).trim()
// Phrases end at punctuation; each phrase slams in as one unit on its first word.
const timed = useWords(sentence, words, durationInFrames)
const groups: number[] = []
const starts: number[] = [0]
timed.forEach((x, i) => {
groups.push(starts.length - 1)
if (i < timed.length - 1 && /[.,;:!?][^a-z0-9]*$/i.test(x.w)) starts.push(i + 1)
})
const count = starts.length
const voiced = !!words?.length
const gap = count > 1 ? Math.min(30, Math.max(8, (live - FIRST - 70) / (count - 1))) : 0
const phraseAt = starts.map((w, k) => (voiced && timed[w] ? Math.max(4, timed[w].at) : Math.round(FIRST + k * gap)))
const lastAt = phraseAt[count - 1] ?? FIRST
const range = phraseRange(timed, highlight)
// The terms always finish rising before the final hold.
const termsAt = Math.min(lastAt + 14, live - 14)
// The stamp: one firm spring from 115%, then a single 1.5° tilt and return over 4 frames. After it, only the push.
const drop = springAt(f, 0, fps, SPRINGS.firm)
const tilt = 1.5 * Math.sin(Math.PI * progress(f, LAND, LAND + 4, (t) => t))
const push = 1 + 0.01 * progress(f, LAND + 4, live, (t) => t)
// The stack: the seal, then the copy area down to the caption band. The headline takes the height the terms leave.
const stageH = height / u
const copyTop = L.sealTop + L.seal + L.gap
const termsSize = L.terms
const termsLines = termsSize && terms.trim() ? Math.ceil((terms.length * 0.56 * termsSize) / L.col) : 0
const showTerms = termsLines > 0 && termsLines <= 2
const termsH = showTerms ? L.termsGap + termsLines * termsSize * 1.3 : 0
const avail = stageH - text.bottom / u - copyTop - BOTTOM_PAD
const boxH = Math.max(150, avail - termsH)
const head = React.useRef<HTMLHeadingElement>(null)
// Measured at the heading's full display weight, so the lighter words only ever take less room than measured.
const fit = { boxW: s(L.col), boxH: s(boxH), guess: s(portrait ? 84 : 92), max: s(L.max) }
const tight = useFitText(head, sentence, { ...fit, min: s(L.tightMin), lines: [...L.tight] })
const loose = useFitText(head, sentence, { ...fit, min: s(56), lines: [...L.loose] })
// At the target rows when that keeps the headline at full display size; one more row only when it cannot.
const size = tight > s(L.tightMin + 0.5) ? tight : loose
if (!dayText || !sentence.trim()) return null
const colors = TONES[tone]
const S = s(L.seal)
const sealLeft = (width - S) / 2
// The seal stands on the set's horizon line; the copy sits on the floor below it.
const horizon = (L.sealTop + L.seal) / stageH
// Seal depth: a crisp contact shade plus a short ambient one, both from the theme's dark shadow token.
const sealFilter =
`drop-shadow(0 ${s(3)}px ${s(3)}px oklch(from var(--shadow, oklch(0.22 0.03 260)) l c h / 0.42)) ` +
`drop-shadow(0 ${s(20)}px ${s(24)}px oklch(from var(--shadow, oklch(0.22 0.03 260)) l c h / 0.4))`
const digits = Math.max(1, dayText.length)
const numeral = Math.min(L.seal * 0.62, (L.seal * 0.92) / (digits * 0.62))
const unitSize = L.seal * 0.18
const word = (x: (typeof timed)[number]) => {
const at = phraseAt[groups[x.i]]
const promise = !range || (x.i >= range[0] && x.i < range[1])
return (
<span key={x.i} style={{
display: "inline-block", fontWeight: promise ? undefined : LIGHT,
opacity: progress(f, at, at + 3, (t) => t), transform: `scale(${tween(f, [at, at + 6], [1.1, 1])})`, transformOrigin: "50% 75%",
}}>
{x.w}
</span>
)
}
const parts: React.ReactNode[] = []
timed.forEach((x, i) => {
parts.push(word(x))
if (i < timed.length - 1) parts.push(" ")
})
// The seal: the hero, centred and stamped in big, with a contact shadow on the horizon that tightens as it lands.
const sealArt = (
<div style={{ position: "absolute", left: sealLeft, top: s(L.sealTop), width: S, height: S }}>
{seal && (
<div aria-hidden style={{
position: "absolute", left: "18%", right: "18%", bottom: -S * 0.025, height: S * 0.06, borderRadius: "50%",
background: "radial-gradient(closest-side, oklch(from var(--shadow, oklch(0.22 0.03 260)) l c h / 0.55), transparent)",
opacity: Math.min(1, drop), transform: `scaleX(${1.3 - 0.3 * drop})`,
}} />
)}
<div style={{
position: "absolute", inset: 0, display: "flex", flexDirection: "column", alignItems: "center", justifyContent: "center",
opacity: Math.min(1, drop * 3), transform: `scale(${1.15 - 0.15 * drop}) rotate(${tilt}deg)`,
}}>
{seal
? <Img src={seal} alt="" style={{ width: "100%", height: "100%", objectFit: "contain", objectPosition: "50% 100%", filter: sealFilter }} />
: <>
<span style={{ ...display(s(numeral), { lineHeight: 0.86 }), color: colors.ink, fontVariantNumeric: "tabular-nums" }}>{dayText}</span>
{unit && <span style={{ ...display(s(unitSize), { lineHeight: 1, letterSpacing: "0" }), color: colors.ink, marginTop: s(8) }}>{unit}</span>}
</>}
</div>
</div>
)
// The copy: centred under the seal across the full text column, the terms a step quieter beneath it.
const copy = (
<SafeArea inset={{ top: s(copyTop), bottom: text.bottom + s(BOTTOM_PAD) }} style={{ justifyContent: "flex-start", alignItems: "center", textAlign: "center" }}>
<h2 ref={head} style={{ ...display(size, { lineHeight: 1.06 }), margin: 0, width: "100%", maxWidth: s(L.col), color: colors.ink, textAlign: "center" }}>
{parts}
</h2>
{showTerms && (
<Rise at={termsAt} dur={12} y={10} style={{ maxWidth: s(L.col) }}>
<p style={{
margin: `${s(L.termsGap)}px 0 0`, fontFamily: "var(--font-body)", fontSize: s(termsSize), fontWeight: 600, lineHeight: 1.3,
color: colors.muted, textAlign: "center", textWrap: "pretty",
}}>{terms}</p>
</Rise>
)}
</SafeArea>
)
return (
<VideoStage format={format} tone={tone}>
<StageField tone={tone} texture={linen} opacity={tone === "band" ? 0.13 : 0.09} drift={8} frame={f} horizon={horizon} />
<StageLight x="50%" strength={tone === "band" ? 0.22 : 0.16} tone={tone === "band" ? "band-ink" : "accent-fill"} floor={false} />
<div style={{ position: "absolute", inset: 0, zIndex: 1, transform: `scale(${push})`, transformOrigin: "50% 50%" }}>
{sealArt}
{copy}
</div>
</VideoStage>
)
}
export default GuaranteeSeal
pieces/video/guarantee-seal/specimen.tsx 26 lines
import __studioImagebeee0dd1 from "../assets/0404b006cd5cf85d.webp";
import * as React from "react"
import { slot } from "../../slots"
import { VideoPreview, type VideoFormat } from "../../fx/video-kit"
import { GuaranteeSeal, video, type GuaranteeSealProps } from "../guarantee-seal"
export const states = ["landscape", "vertical"]
/** The seal landed and the first phrase fully set, the second phrase in, the sentence complete with the terms up, the final hold. */
export const keyframes = [14, 44, 110, 205]
// Fictional sample: Brightwork Press, a free-plus-shipping paperback for small shop owners. The terms stand in for the page's own.
export const sample: GuaranteeSealProps = {
days: 30,
sentence: "Read it for 30 days. If it doesn't help, I'll refund your shipping.",
highlight: "I'll refund your shipping.",
terms: "One email within 30 days gets your $7.95 shipping back. Keep the book.",
// The designed seal (no lettering: the headline carries the words); the specimen swaps in the brand's seal-guarantee slot at render time.
seal: __studioImagebeee0dd1,
}
/** The sample business in its own colours and type (sample-palettes.md: violet-mint · geometric); Original and every preset stay one click away. */
export const sampleBrand = { name: "Brightwork Press", theme: "light", background: "#f7f5ff", colors: ["#6a3df0", "#1fbf8f"], fonts: ["Montserrat", "Source Sans 3"] }
export default function GuaranteeSealSpecimen({ state = "landscape" }: { state?: string }) {
return <VideoPreview component={GuaranteeSeal} props={{ ...sample, seal: slot("seal-guarantee", __studioImagebeee0dd1) }} format={state as VideoFormat} meta={video} />
}
| Name | Type | Details |
|---|---|---|
format OptionalGuaranteeSeal |
VideoFormat |
Default "landscape"
|
durationInFrames OptionalGuaranteeSeal |
number |
Default video.durationInFrames
|
days OptionalGuaranteeSeal |
number | string |
|
sentence OptionalGuaranteeSeal |
string |
Default ""
|
highlight OptionalGuaranteeSeal |
string |
|
terms OptionalGuaranteeSeal |
string |
Default ""
|
unit OptionalGuaranteeSeal |
string |
Default "days"
|
seal OptionalGuaranteeSeal |
string |
Default ""
|
words OptionalGuaranteeSeal |
Word[] |
|
tone OptionalGuaranteeSeal |
"band" | "surface" |
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.
--display-weight- Headlines: weight, letter case and tracking.
Image slots
Filled from the brand’s images; the specimen ships its own defaults.
seal-guarantee- The money-back guarantee seal, on a transparent background.
-
0404b006cd5cf85d.webp
image/webp · 141 KB
-
2c539f422023a290.webp
image/webp · 115 KB