VSL Authority Rail 1
VSL hero with an authority rail: the video sells, a presenter rail beside it does the trust work, and one
Use it in a prompt
Use hero/vsl-authority-rail 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/hero/vsl-authority-rail.tsx. - Import it and pass your copy and images (Props tab):
import { VslAuthorityRail } from "@/components/funneldna/hero/vsl-authority-rail"
It restyles from the theme tokens on any wrapper (Theme tab). The specimen source is a complete working example.
pieces/hero/vsl-authority-rail/component.tsx 303 lines
// layout: classic-centred-stack
// VSL hero with an authority rail: the video sells, a presenter rail beside it does the trust work, and one
// two-line Belcher button (optionally revealed after a delay) turns the watcher into the next click.
import * as React from "react";
import { Award, Building2, Clock, ShieldCheck } from "lucide-react";
import { Texture, FX_HOST } from "../fx/fx";
import leak from "../fx/textures/leak";
export type VslAuthorityRailProps = {
headline?: string;
/** Phrase inside the headline set in the accent colour (must appear in the headline). */
highlight?: string;
lead?: string;
/** Short italic aside in the presenter's own voice, under the lead. */
aside?: string;
/** The page's real video embed. Fills the frame and replaces the poster. */
video?: React.ReactNode;
/** Still shown in the frame when no embed is passed (scene slot). No player chrome is drawn. */
posterImage?: string;
posterAlt?: string;
/** Plain caption under the frame. */
videoTitle?: string;
videoLength?: string;
/** Presenter portrait (presenter slot). */
presenterImage?: string;
presenterImageAlt?: string;
presenterName?: string;
presenterRole?: string;
/** Supplied credentials only (three reads best). Defaults to none. */
credentials?: string[];
/** Affiliation line, e.g. "Founder, Studio Name". Defaults to none. */
affiliation?: string;
/** Short quote from the presenter. Defaults to none. */
quote?: string;
/** Accessible label for the rail. */
railLabel?: string;
/** Button action line. */
label?: string;
/** Benefit line inside the button, under the action. */
sublabel?: string;
/** One short reassurance line under the button. */
note?: string;
/** Shown in the button's place while the delayed button is hidden. */
waitingNote?: string;
/** Seconds before the button appears (0 = shown at once). */
ctaDelay?: number;
/** Page override: true/false shows or hides the button (e.g. driven by video progress). */
ctaVisible?: boolean;
href?: string;
onAction?: () => void;
state?: "default" | "hover" | "active" | "disabled";
className?: string;
};
export function VslAuthorityRail({
headline = "Watch this short video before you take the next step",
highlight = "short video",
lead = "See how it works from start to finish, then decide if it's right for you.",
aside = "",
video,
posterImage,
posterAlt = "",
videoTitle = "",
videoLength = "",
presenterImage,
presenterImageAlt,
presenterName = "",
presenterRole = "",
credentials = [],
affiliation = "",
quote = "",
railLabel = "About the presenter",
label = "Show Me How To Get Started",
sublabel = "",
note = "",
waitingNote = "Keep watching. Your next step appears right here.",
ctaDelay = 0,
ctaVisible,
href,
onAction,
state = "default",
className,
}: VslAuthorityRailProps) {
const headingId = React.useId();
const forced = state !== "default";
const [timerDone, setTimerDone] = React.useState(!(ctaDelay > 0));
React.useEffect(() => {
if (!(ctaDelay > 0)) {
setTimerDone(true);
return;
}
setTimerDone(false);
const t = window.setTimeout(() => setTimerDone(true), ctaDelay * 1000);
return () => window.clearTimeout(t);
}, [ctaDelay]);
const showCta = forced || (ctaVisible ?? timerDone);
const hasRail = Boolean(presenterName || presenterImage || credentials.length || quote || affiliation);
const disabled = state === "disabled";
const btnClass = `var-btn${state === "hover" ? " is-hover" : ""}${state === "active" ? " is-active" : ""}`;
const btnInner = (
<>
<span className="var-btn-label">{label}</span>
{sublabel ? <span className="var-btn-sub">{sublabel}</span> : null}
</>
);
return (
<section
className={`cf-vsl-authority-rail${className ? ` ${className}` : ""}`}
style={FX_HOST}
aria-labelledby={headingId}
>
<style>{CSS}</style>
<Texture src={leak} tone="accent-fill" position="top right" />
<div className="var-inner">
<header className="var-head">
<h1 id={headingId} className="var-h1">
{renderHeadline(headline, highlight)}
</h1>
{lead ? <p className="var-lead">{lead}</p> : null}
{aside ? <p className="var-aside">{aside}</p> : null}
</header>
<div className={`var-stage${hasRail ? "" : " is-solo"}`}>
<figure className="var-video">
<div className="var-frame">
<div className="var-screen">
{video ? video : posterImage ? <img src={posterImage} alt={posterAlt} loading="eager" decoding="async" /> : null}
</div>
</div>
{videoTitle || videoLength ? (
<figcaption className="var-cap">
{videoTitle ? <span className="var-cap-title">{videoTitle}</span> : null}
{videoTitle && videoLength ? <span aria-hidden="true"> · </span> : null}
{videoLength ? <span>{videoLength}</span> : null}
</figcaption>
) : null}
</figure>
{hasRail ? (
<aside className="var-rail" aria-label={railLabel}>
<div className="var-rail-head">
{presenterImage ? (
<img
className="var-portrait"
src={presenterImage}
alt={presenterImageAlt ?? presenterName}
loading="lazy"
decoding="async"
/>
) : null}
<div className="var-id">
{presenterName ? <h2 className="var-name">{presenterName}</h2> : null}
{presenterRole ? <p className="var-role">{presenterRole}</p> : null}
{affiliation ? (
<p className="var-aff">
<Building2 className="var-ico-inline" strokeWidth={2.5} aria-hidden="true" />
{affiliation}
</p>
) : null}
</div>
</div>
{credentials.length ? (
<ul className="var-creds">
{credentials.map((c) => (
<li key={c}>
<Award className="var-cred-ico" strokeWidth={2.5} aria-hidden="true" />
<span>{c}</span>
</li>
))}
</ul>
) : null}
{quote ? (
<blockquote className="var-quote">
<p>{`\u201C${quote}\u201D`}</p>
</blockquote>
) : null}
</aside>
) : null}
<div className="var-cta" aria-live="polite">
{showCta ? (
<div className="var-cta-in">
{href && !disabled ? (
<a className={btnClass} href={href} onClick={onAction ? () => onAction() : undefined}>
{btnInner}
</a>
) : (
<button type="button" className={btnClass} disabled={disabled} onClick={onAction}>
{btnInner}
</button>
)}
{note ? (
<p className="var-note">
<ShieldCheck className="var-ico-inline var-ico-accent" strokeWidth={2.5} aria-hidden="true" />
{note}
</p>
) : null}
</div>
) : (
<p className="var-wait">
<Clock className="var-ico-inline" strokeWidth={2.5} aria-hidden="true" />
{waitingNote}
</p>
)}
</div>
</div>
</div>
</section>
);
}
export default VslAuthorityRail;
function renderHeadline(text: string, phrase: string) {
if (!phrase) return text;
const i = text.indexOf(phrase);
if (i < 0) return text;
return (
<>
{text.slice(0, i)}
<span className="var-em">{phrase}</span>
{text.slice(i + phrase.length)}
</>
);
}
const CSS = `
.cf-vsl-authority-rail{position:relative;isolation:isolate;overflow:hidden;background:var(--surface);color:var(--ink);font-family:var(--font-body);padding:clamp(56px,8vw,112px) clamp(16px,5vw,48px) clamp(64px,8.5vw,120px);}
.cf-vsl-authority-rail *{box-sizing:border-box;}
.cf-vsl-authority-rail .var-inner{position:relative;z-index:1;max-width:1120px;margin:0 auto;}
.cf-vsl-authority-rail .var-head{max-width:54rem;margin:0 auto;text-align:center;}
.cf-vsl-authority-rail .var-h1{margin:0;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(2.5rem,5.4vw,4.875rem);line-height:1.04;color:var(--ink);text-wrap:balance;}
.cf-vsl-authority-rail .var-em{color:var(--accent);}
.cf-vsl-authority-rail .var-lead{margin:16px auto 0;max-width:46rem;font-size:clamp(1.125rem,1.5vw,1.375rem);line-height:1.4;font-weight:500;color:var(--muted);text-wrap:pretty;}
.cf-vsl-authority-rail .var-aside{margin:12px auto 0;max-width:40rem;font-style:italic;font-size:clamp(1.0625rem,1.25vw,1.125rem);line-height:1.5;color:var(--ink);text-wrap:pretty;}
.cf-vsl-authority-rail .var-stage{margin-top:clamp(32px,4vw,48px);display:grid;grid-template-columns:minmax(0,1fr) clamp(260px,26vw,300px);grid-template-areas:"video rail" "cta rail";grid-template-rows:auto 1fr;gap:24px clamp(24px,3vw,40px);align-items:start;}
.cf-vsl-authority-rail .var-stage.is-solo{grid-template-columns:minmax(0,1fr);grid-template-areas:"video" "cta";grid-template-rows:auto;max-width:52rem;margin-inline:auto;}
.cf-vsl-authority-rail .var-video{grid-area:video;margin:0;min-width:0;animation:var-rise .45s cubic-bezier(.2,.7,.2,1) both;}
.cf-vsl-authority-rail .var-frame{position:relative;padding:8px;background:var(--band);border-radius:var(--card-radius,var(--radius,14px));box-shadow:inset 0 1px 0 oklch(from var(--band) calc(l + 0.1) c h / 0.8),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));}
.cf-vsl-authority-rail .var-screen{position:relative;aspect-ratio:16/9;border-radius:8px;overflow:hidden;background:oklch(from var(--band) calc(l - 0.05) c h);}
.cf-vsl-authority-rail .var-screen > *{position:absolute;inset:0;width:100%;height:100%;border:0;}
.cf-vsl-authority-rail .var-screen > img{display:block;object-fit:cover;object-position:50% 45%;}
.cf-vsl-authority-rail .var-cap{margin:12px 0 0;text-align:center;font-size:15px;line-height:1.4;font-weight:600;color:var(--muted);text-wrap:pretty;}
.cf-vsl-authority-rail .var-cap-title{color:var(--ink);}
.cf-vsl-authority-rail .var-rail{grid-area:rail;min-width:0;display:flex;flex-direction:column;gap:16px;padding:20px;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(--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)));animation:var-rise .45s cubic-bezier(.2,.7,.2,1) .07s both;}
.cf-vsl-authority-rail .var-rail-head{display:flex;flex-direction:column;gap:16px;}
.cf-vsl-authority-rail .var-portrait{display:block;width:100%;aspect-ratio:1/1;object-fit:cover;object-position:50% 22%;border-radius:12px;background:color-mix(in oklch,var(--ink) 4%,var(--card));}
.cf-vsl-authority-rail .var-id{min-width:0;}
.cf-vsl-authority-rail .var-name{margin:0;font-family:var(--font-display);font-weight:var(--display-weight,800);text-transform:var(--display-case,none);font-size:clamp(1.3125rem,1.8vw,1.625rem);line-height:1.15;letter-spacing:-0.01em;color:var(--ink);text-wrap:balance;}
.cf-vsl-authority-rail .var-role{margin:4px 0 0;font-size:15px;line-height:1.4;font-weight:700;color:var(--accent);text-wrap:pretty;}
.cf-vsl-authority-rail .var-aff{margin:8px 0 0;font-size:15px;line-height:1.4;font-weight:500;color:var(--muted);text-wrap:pretty;}
.cf-vsl-authority-rail .var-ico-inline{display:inline-block;width:16px;height:16px;vertical-align:-0.15em;margin-inline-end:.4em;}
.cf-vsl-authority-rail .var-ico-accent{color:var(--accent);}
.cf-vsl-authority-rail .var-creds{list-style:none;margin:0;padding:16px 0 0;border-top:1px solid oklch(from var(--ink) l c h / 0.12);display:grid;gap:12px;}
.cf-vsl-authority-rail .var-creds li{display:grid;grid-template-columns:18px minmax(0,1fr);gap:12px;align-items:start;font-size:15px;line-height:1.4;font-weight:600;color:var(--ink);text-wrap:pretty;}
.cf-vsl-authority-rail .var-cred-ico{width:18px;height:18px;margin-top:1px;color:var(--accent);}
.cf-vsl-authority-rail .var-quote{margin:0;padding:16px 0 0;border-top:1px solid oklch(from var(--ink) l c h / 0.12);}
.cf-vsl-authority-rail .var-quote p{margin:0;font-style:italic;font-size:clamp(1.0625rem,1.25vw,1.125rem);line-height:1.5;color:var(--ink);text-wrap:pretty;}
.cf-vsl-authority-rail .var-cta{grid-area:cta;display:flex;justify-content:center;min-width:0;}
.cf-vsl-authority-rail .var-cta-in{width:100%;max-width:30rem;display:flex;flex-direction:column;align-items:center;animation:var-rise .45s cubic-bezier(.2,.7,.2,1) .14s both;}
.cf-vsl-authority-rail .var-wait{margin:0;width:100%;max-width:30rem;min-height:72px;display:flex;align-items:center;justify-content:center;padding:12px 20px;text-align:center;font-size:15px;line-height:1.4;font-weight:600;color:var(--muted);background:color-mix(in oklch,var(--ink) 4%,var(--surface));border-radius:var(--button-radius,var(--radius,12px));text-wrap:pretty;}
.cf-vsl-authority-rail .var-wait .var-ico-inline{flex:none;}
.cf-vsl-authority-rail .var-btn{--vb:var(--button-bg,var(--cta));--vb2:var(--button-bg-2,var(--cta-2));--vs:var(--shadow,oklch(0.22 0.03 260));display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:100%;min-height:72px;padding:12px 28px;border:0;border-radius:var(--button-radius,var(--radius,12px));background:linear-gradient(oklch(from var(--vb) calc(l + 0.04) c h),oklch(from var(--vb2) calc(l - 0.02) c h));color:var(--button-ink,var(--cta-ink));font-family:var(--button-font,var(--font-display));text-transform:var(--button-case,none);text-decoration:none;text-align:center;text-shadow:var(--button-text-shadow,none);box-shadow:var(--button-shadow,inset 0 1px 0 oklch(from var(--vb) calc(l + 0.14) c h / 0.7),inset 0 -3px 0 oklch(from var(--vb) calc(l - 0.16) c h),0 1px 2px oklch(from var(--vs) l c h / 0.3),0 8px 16px -6px oklch(from var(--vs) l c h / 0.42));cursor:pointer;transition:transform .16s ease,box-shadow .16s ease,background .16s ease;-webkit-tap-highlight-color:transparent;}
.cf-vsl-authority-rail .var-btn-label{font-size:clamp(1.125rem,1.55vw,1.375rem);line-height:1.15;font-weight:var(--button-weight,800);text-wrap:balance;}
.cf-vsl-authority-rail .var-btn-sub{font-family:var(--font-body);font-size:15px;line-height:1.3;font-weight:600;text-transform:none;text-wrap:pretty;}
.cf-vsl-authority-rail .var-btn:hover:not(:disabled),.cf-vsl-authority-rail .var-btn.is-hover{background:linear-gradient(oklch(from var(--vb) calc(l - 0.01) c h),oklch(from var(--vb2) calc(l - 0.07) c h));box-shadow:var(--button-shadow,inset 0 1px 0 oklch(from var(--vb) calc(l + 0.1) c h / 0.7),inset 0 -3px 0 oklch(from var(--vb) calc(l - 0.2) c h),0 1px 2px oklch(from var(--vs) l c h / 0.34),0 10px 18px -6px oklch(from var(--vs) l c h / 0.5));}
.cf-vsl-authority-rail .var-btn:active:not(:disabled),.cf-vsl-authority-rail .var-btn.is-active{transform:translateY(1px);background:linear-gradient(oklch(from var(--vb) calc(l - 0.05) c h),oklch(from var(--vb2) calc(l - 0.08) c h));box-shadow:inset 0 2px 4px oklch(from var(--vb) calc(l - 0.22) c h / 0.5),inset 0 -2px 0 oklch(from var(--vb) calc(l - 0.16) c h),0 1px 1px oklch(from var(--vs) l c h / 0.3);}
.cf-vsl-authority-rail .var-btn:focus-visible{outline:3px solid oklch(from var(--field-focus,var(--accent)) l c h / 0.55);outline-offset:3px;}
.cf-vsl-authority-rail .var-btn:disabled{cursor:not-allowed;background:var(--button-2-bg,var(--secondary));color:var(--button-2-ink,var(--secondary-ink));text-shadow:none;box-shadow:var(--button-2-shadow,var(--shadow-sm));transform:none;}
.cf-vsl-authority-rail .var-note{margin:12px 0 0;text-align:center;font-size:15px;line-height:1.4;font-weight:600;color:var(--muted);text-wrap:pretty;}
@keyframes var-rise{from{opacity:.82;transform:translateY(8px)}to{opacity:1;transform:none}}
@media (max-width:860px){
.cf-vsl-authority-rail .var-stage,.cf-vsl-authority-rail .var-stage.is-solo{grid-template-columns:minmax(0,1fr);grid-template-areas:"video" "rail" "cta";grid-template-rows:auto;gap:16px;}
.cf-vsl-authority-rail .var-frame{padding:6px;}
.cf-vsl-authority-rail .var-rail{padding:16px;gap:12px;}
.cf-vsl-authority-rail .var-rail-head{flex-direction:row;align-items:flex-start;gap:16px;}
.cf-vsl-authority-rail .var-portrait{flex:0 0 72px;width:72px;height:72px;border-radius:8px;}
.cf-vsl-authority-rail .var-aff{margin-top:4px;}
.cf-vsl-authority-rail .var-creds{padding-top:12px;gap:8px;}
.cf-vsl-authority-rail .var-quote{padding-top:12px;}
.cf-vsl-authority-rail .var-cta{margin-top:8px;}
.cf-vsl-authority-rail .var-cta-in,.cf-vsl-authority-rail .var-wait{max-width:none;}
.cf-vsl-authority-rail .var-btn{padding:12px 20px;}
}
@media (prefers-reduced-motion:reduce){
.cf-vsl-authority-rail .var-video,.cf-vsl-authority-rail .var-rail,.cf-vsl-authority-rail .var-cta-in{animation:none;}
.cf-vsl-authority-rail .var-btn{transition:none;}
.cf-vsl-authority-rail .var-btn:active:not(:disabled),.cf-vsl-authority-rail .var-btn.is-active{transform:none;}
}
`;
pieces/hero/vsl-authority-rail/specimen.tsx 47 lines
import __studioImage9f796170 from "../assets/26560a9c4c030887.webp";
import __studioImage6d239074 from "../assets/31e800533e65cffd.webp";
import { VslAuthorityRail } from "../vsl-authority-rail";
import defaults from "../../studio-defaults.json";
import { slot } from "../../slots";
export const states = ["default", "hover", "active", "disabled"] as const;
type SpecimenState = (typeof states)[number];
export default function VslAuthorityRailSpecimen({ state }: { state?: SpecimenState }) {
const s = defaults.sample;
return (
<VslAuthorityRail
state={state}
headline={s.headline}
highlight="a clear plan"
lead={s.lead}
aside="(I'll show you the exact pages I'd build if I were starting from zero today.)"
posterImage={slot(
"scene",
__studioImage9f796170
)}
posterAlt="Laptop on a bright desk showing a simple page layout"
videoTitle="Watch the 3-page funnel walkthrough"
videoLength="14 min"
presenterImage={slot(
"presenter",
__studioImage6d239074
)}
presenterImageAlt="Portrait of presenter Dana Reyes"
presenterName="Dana Reyes"
presenterRole="Funnel strategist and workshop host"
affiliation="Founder, Northfield Funnel Studio"
credentials={[
"12 years writing direct-response copy",
"Has mapped funnels for 60+ small offers",
"Host of the " + s.registration.name,
]}
quote="You don't need more traffic yet. You need one page that makes the next step obvious."
label={"Get " + s.name}
sublabel={s.sublabel}
note={s.guarantee}
ctaDelay={0}
href="#order"
/>
);
}
| Name | Type | Details |
|---|---|---|
headline OptionalVslAuthorityRail |
string |
Default "Watch this short video before you take the next step"
|
highlight OptionalVslAuthorityRail |
string |
Default "short video"
|
lead OptionalVslAuthorityRail |
string |
Default "See how it works from start to finish, then decide if it's right for you."
|
aside OptionalVslAuthorityRail |
string |
Default ""
|
video OptionalVslAuthorityRail |
React.ReactNode |
|
posterImage OptionalVslAuthorityRail |
string |
|
posterAlt OptionalVslAuthorityRail |
string |
Default ""
|
videoTitle OptionalVslAuthorityRail |
string |
Default ""
|
videoLength OptionalVslAuthorityRail |
string |
Default ""
|
presenterImage OptionalVslAuthorityRail |
string |
|
presenterImageAlt OptionalVslAuthorityRail |
string |
|
presenterName OptionalVslAuthorityRail |
string |
Default ""
|
presenterRole OptionalVslAuthorityRail |
string |
Default ""
|
credentials OptionalVslAuthorityRail |
string[] |
Default []
|
affiliation OptionalVslAuthorityRail |
string |
Default ""
|
quote OptionalVslAuthorityRail |
string |
Default ""
|
railLabel OptionalVslAuthorityRail |
string |
Default "About the presenter"
|
label OptionalVslAuthorityRail |
string |
Default "Show Me How To Get Started"
|
sublabel OptionalVslAuthorityRail |
string |
Default ""
|
note OptionalVslAuthorityRail |
string |
Default ""
|
waitingNote OptionalVslAuthorityRail |
string |
Default "Keep watching. Your next step appears right here."
|
ctaDelay OptionalVslAuthorityRail |
number |
Default 0
|
ctaVisible OptionalVslAuthorityRail |
boolean |
|
href OptionalVslAuthorityRail |
string |
|
onAction OptionalVslAuthorityRail |
() => void |
|
state OptionalVslAuthorityRail |
"default" | "hover" | "active" | "disabled" |
Default "default"
|
className OptionalVslAuthorityRail |
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.
--button-2-bg--button-2-ink--button-2-shadow- 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.
--field-focus- Form inputs: background, ink, border, radius and focus colour.
Image slots
Filled from the brand’s images; the specimen ships its own defaults.
presenter- A photo of the host, coach or founder.
scene- A wide atmosphere photo behind or beside the copy.
-
26560a9c4c030887.webp
image/webp · 57.3 KB
-
31e800533e65cffd.webp
image/webp · 57.7 KB
-
986367d82c360c9a.webp
image/webp · 102 KB
-
b77916eca54aa689.webp
image/webp · 8.32 KB
-
d435db6662febfcf.webp
image/webp · 10 KB
-
f0a5d3e1e61804ba.webp
image/webp · 11.6 KB