Canvas Handles Hero 1
Canvas-handles hero: the headline looks like it is being edited live. A design-canvas selection box slides once and lands on the promise, the founder adds one honest aside, and one two-line button carries the click while the product canvas peeks up from below.
Use it in a prompt
Use hero/canvas-handles-hero 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/canvas-handles-hero.tsx. - Import it and pass your copy and images (Props tab):
import { CanvasHandlesHero } from "@/components/funneldna/hero/canvas-handles-hero"
It restyles from the theme tokens on any wrapper (Theme tab). The specimen source is a complete working example.
pieces/hero/canvas-handles-hero/component.tsx 492 lines
// layout: quote-led
// Canvas-handles hero: the headline looks like it is being edited live. A design-canvas selection box slides once and lands on the promise, the founder adds one honest aside, and one two-line button carries the click while the product canvas peeks up from below.
import React, { useEffect, useId, useState } from "react";
import { LayoutGroup, MotionConfig, motion } from "motion/react";
import { Layers, Sparkles } from "lucide-react";
import { FX_HOST, Pattern } from "../fx/fx";
export type CanvasHandlesHeroSegment = {
text: string;
/** Dimmed ink: the quieter words between the strong ones. */
dim?: boolean;
/** The selection box visits this phrase on its way to the promise. */
stop?: boolean;
/** The selection box lands on this phrase and stays. */
promise?: boolean;
};
export type CanvasHandlesHeroProps = {
/** Headline lines; each line is a list of phrases. */
lines?: CanvasHandlesHeroSegment[][];
lead?: React.ReactNode;
/** Italic aside in the founder's voice, shown under the lead. */
aside?: React.ReactNode;
/** Name line under the aside. */
asideName?: string;
/** Founder cut-out on a transparent background (slot: presenter-cutout). */
presenterCutoutImage?: string;
presenterAlt?: string;
actionLabel?: string;
/** Short benefit line inside the button, under the label. */
actionSublabel?: string;
href?: string;
onAction?: () => void;
/** Quiet secondary text link under the button and price line. */
linkLabel?: string;
linkHref?: string;
onLink?: () => void;
/** One price line under the actions, e.g. <strong>Just $47</strong>, less than one client call. */
priceLine?: React.ReactNode;
/** Workspace screen shown in the window peeking up from the bottom edge (slot: product). */
productImage?: string;
productAlt?: string;
canvasTitle?: string;
canvasTabs?: string[];
canvasActiveTab?: number;
canvasStatus?: string;
state?: "default" | "hover" | "active" | "disabled";
className?: string;
};
export function CanvasHandlesHero(props: CanvasHandlesHeroProps) {
const {
lines = DEFAULT_LINES,
lead = "Start with what you have. Leave with something you are proud to send.",
aside,
asideName,
presenterCutoutImage,
presenterAlt = "Founder portrait",
actionLabel = "Get started",
actionSublabel,
href,
onAction,
linkLabel = "See how it works",
linkHref,
onLink,
priceLine,
productImage,
productAlt = "Product workspace",
canvasTitle = "Untitled project",
canvasTabs = [],
canvasActiveTab = 0,
canvasStatus,
state = "default",
className,
} = props;
const uid = useId();
const headingId = `${uid}-headline`;
const stops: string[] = [];
let promiseId = "";
lines.forEach((line, li) =>
line.forEach((seg, si) => {
const id = `${li}.${si}`;
if (seg.promise) promiseId = id;
else if (seg.stop) stops.push(id);
}),
);
const path = promiseId ? [...stops, promiseId] : stops;
const pathKey = path.join("|");
const finalId = path.length ? path[path.length - 1] : "";
const [active, setActive] = useState<string>(() =>
path.length > 1 && !prefersReducedMotion() ? path[0] : finalId,
);
useEffect(() => {
const steps = pathKey ? pathKey.split("|") : [];
if (steps.length < 2 || prefersReducedMotion()) {
setActive(steps.length ? steps[steps.length - 1] : "");
return undefined;
}
setActive(steps[0]);
const timers = steps
.slice(1)
.map((id, i) => window.setTimeout(() => setActive(id), 900 + i * 1000));
return () => timers.forEach((t) => window.clearTimeout(t));
}, [pathKey]);
const disabled = state === "disabled";
const forced = state === "hover" ? " is-hover" : state === "active" ? " is-active" : "";
const rootClass = ["cf-canvas-handles-hero", productImage ? "has-peek" : "", className ?? ""]
.filter(Boolean)
.join(" ");
const delay = (d: string) => ({ ["--d" as string]: d }) as React.CSSProperties;
const btnClass = "chh-btn" + forced;
const btnInner = (
<>
<span className="chh-btn-label">{actionLabel}</span>
{actionSublabel ? <span className="chh-btn-sub">{actionSublabel}</span> : null}
</>
);
const button =
href && !disabled ? (
<a className={btnClass} href={href} onClick={() => onAction?.()}>
{btnInner}
</a>
) : (
<button type="button" className={btnClass} disabled={disabled} onClick={() => onAction?.()}>
{btnInner}
</button>
);
const linkClass = "chh-link" + (state === "hover" ? " is-hover" : "");
const link = linkLabel ? (
linkHref ? (
<a className={linkClass} href={linkHref} onClick={() => onLink?.()}>
{linkLabel}
</a>
) : (
<button type="button" className={linkClass} onClick={() => onLink?.()}>
{linkLabel}
</button>
)
) : null;
return (
<section className={rootClass} style={FX_HOST} aria-labelledby={headingId}>
<style>{CSS}</style>
<Pattern name="grid" fade="edges" tone="band-ink" />
<div className="chh-inner">
<MotionConfig reducedMotion="user">
<LayoutGroup id={uid}>
<h1 id={headingId} className="chh-h1">
{lines.map((line, li) => (
<React.Fragment key={li}>
{li > 0 ? " " : null}
<span className="chh-line">
{line.map((seg, si) => {
const id = `${li}.${si}`;
const space = si > 0 ? " " : null;
if (seg.stop || seg.promise) {
return (
<React.Fragment key={si}>
{space}
<span className={"chh-stop" + (seg.dim ? " is-dim" : "")}>
{seg.text}
{active === id ? (
<motion.span
layoutId="chh-selection"
className="chh-sel"
transition={SELECTION_SPRING}
aria-hidden="true"
>
{HANDLES.map((h) => (
<motion.span key={h} layout className={`chh-handle chh-handle--${h}`} />
))}
</motion.span>
) : null}
</span>
</React.Fragment>
);
}
return (
<React.Fragment key={si}>
{space}
<span className={seg.dim ? "chh-w is-dim" : "chh-w"}>{seg.text}</span>
</React.Fragment>
);
})}
</span>
</React.Fragment>
))}
</h1>
</LayoutGroup>
</MotionConfig>
{lead ? (
<p className="chh-lead chh-in" style={delay(".07s")}>
{lead}
</p>
) : null}
{aside ? (
<figure className="chh-aside chh-in" style={delay(".14s")}>
{presenterCutoutImage ? (
<img className="chh-aside-img" src={presenterCutoutImage} alt={presenterAlt} width={56} height={56} />
) : null}
<figcaption className="chh-aside-text">
<span className="chh-aside-quote">{aside}</span>
{asideName ? <span className="chh-aside-name">{asideName}</span> : null}
</figcaption>
</figure>
) : null}
<div className="chh-actions chh-in" style={delay(".21s")}>
{button}
{priceLine ? <p className="chh-price">{priceLine}</p> : null}
{link}
</div>
</div>
{productImage ? (
<div className="chh-peek">
<div className="chh-win chh-in" style={delay(".28s")}>
<div className="chh-bar">
<span className="chh-title">
<Layers size={16} strokeWidth={2.5} aria-hidden="true" />
<span className="chh-title-text">{canvasTitle}</span>
</span>
{canvasTabs.length ? (
<span className="chh-tabs">
{canvasTabs.map((tab, i) => (
<span key={tab + i} className={i === canvasActiveTab ? "chh-tab is-on" : "chh-tab"}>
{tab}
</span>
))}
</span>
) : null}
<span className="chh-bar-end">
{canvasStatus ? (
<span className="chh-status">
<Sparkles size={16} strokeWidth={2.5} aria-hidden="true" />
{canvasStatus}
</span>
) : null}
</span>
</div>
<div className="chh-shot">
<img src={productImage} alt={productAlt} loading="eager" />
</div>
</div>
</div>
) : null}
</section>
);
}
export default CanvasHandlesHero;
const DEFAULT_LINES: CanvasHandlesHeroSegment[][] = [
[{ text: "Your", dim: true }, { text: "rough idea", stop: true }, { text: "in.", dim: true }],
[{ text: "A", dim: true }, { text: "finished result", promise: true }, { text: "out.", dim: true }],
];
const HANDLES = ["tl", "tr", "bl", "br"];
const SELECTION_SPRING = { type: "spring" as const, stiffness: 190, damping: 26, mass: 0.9 };
function prefersReducedMotion() {
return (
typeof window !== "undefined" &&
typeof window.matchMedia === "function" &&
window.matchMedia("(prefers-reduced-motion: reduce)").matches
);
}
const CSS = `
.cf-canvas-handles-hero{
--chh-sel: color-mix(in oklch, var(--accent-fill, var(--accent, oklch(0.5 0.17 257))) 58%, var(--band-ink, oklch(1 0 0)));
--chh-dim: color-mix(in oklch, var(--band-ink, oklch(1 0 0)) 58%, var(--band, oklch(0.27 0.067 256)));
--chh-soft: color-mix(in oklch, var(--band-ink, oklch(1 0 0)) 84%, var(--band, oklch(0.27 0.067 256)));
--chh-gutter: clamp(16px, 5vw, 48px);
--chh-shadow: var(--shadow, oklch(0.22 0.03 260));
background: var(--band, oklch(0.27 0.067 256));
color: var(--band-ink, oklch(1 0 0));
font-family: var(--font-body);
padding: clamp(56px, 8vw, 112px) 0 clamp(64px, 8.5vw, 120px);
}
.cf-canvas-handles-hero.has-peek{ padding-bottom: 0; }
.cf-canvas-handles-hero .chh-inner{
position: relative; z-index: 1; box-sizing: border-box;
max-width: calc(62rem + 2 * var(--chh-gutter)); margin: 0 auto; padding: 0 var(--chh-gutter);
display: flex; flex-direction: column; align-items: center; text-align: center;
container-type: inline-size;
}
.cf-canvas-handles-hero .chh-h1{
margin: 0; max-width: 100%;
display: flex; flex-direction: column; align-items: center; gap: 0.04em;
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.25rem, 1.05rem + 4.9vw, 4.875rem);
font-size: clamp(1.75rem, 8.6cqi, 4.875rem);
line-height: 1.06;
color: var(--band-ink, oklch(1 0 0));
}
.cf-canvas-handles-hero .chh-line{ display: block; max-width: 100%; text-wrap: balance; }
.cf-canvas-handles-hero .is-dim{ color: var(--chh-dim); }
.cf-canvas-handles-hero .chh-stop{
position: relative; isolation: isolate; display: inline-block;
padding: 0.04em 0.1em 0.08em; margin-inline: -0.04em;
}
.cf-canvas-handles-hero .chh-sel{
position: absolute; inset: 0; z-index: -1; box-sizing: border-box;
border: 1.5px solid var(--chh-sel); border-radius: 2px;
background: oklch(from var(--chh-sel) l c h / 0.08);
pointer-events: none;
}
.cf-canvas-handles-hero .chh-handle{
position: absolute; box-sizing: border-box; width: 10px; height: 10px;
border: 1.5px solid var(--chh-sel); border-radius: 2px;
background: var(--band, oklch(0.27 0.067 256));
}
.cf-canvas-handles-hero .chh-handle--tl{ top: -5.75px; left: -5.75px; }
.cf-canvas-handles-hero .chh-handle--tr{ top: -5.75px; right: -5.75px; }
.cf-canvas-handles-hero .chh-handle--bl{ bottom: -5.75px; left: -5.75px; }
.cf-canvas-handles-hero .chh-handle--br{ bottom: -5.75px; right: -5.75px; }
.cf-canvas-handles-hero .chh-lead{
margin: clamp(18px, 1.8vw, 24px) 0 0; max-width: 40rem;
font-size: clamp(1.125rem, 1.5vw, 1.375rem); line-height: 1.4; font-weight: 500;
color: var(--chh-soft); text-wrap: pretty;
}
.cf-canvas-handles-hero .chh-aside{
margin: 20px 0 0; max-width: 36rem;
display: flex; align-items: center; justify-content: center; gap: 12px; text-align: left;
}
.cf-canvas-handles-hero .chh-aside-img{
flex: none; width: 56px; height: 56px; border-radius: 50%;
object-fit: cover; object-position: 50% 18%;
background: oklch(from var(--band-ink, oklch(1 0 0)) l c h / 0.12);
filter: drop-shadow(0 1px 2px oklch(from var(--chh-shadow) l c h / 0.45)) drop-shadow(0 6px 10px oklch(from var(--chh-shadow) l c h / 0.3));
}
.cf-canvas-handles-hero .chh-aside-text{ margin: 0; color: var(--chh-soft); }
.cf-canvas-handles-hero .chh-aside-quote{
display: block; font-style: italic; font-size: clamp(1.0625rem, 1.25vw, 1.125rem); line-height: 1.45; text-wrap: pretty;
}
.cf-canvas-handles-hero .chh-aside-name{
display: block; margin-top: 4px; font-style: normal; font-size: 0.9375rem; line-height: 1.4; font-weight: 600;
}
.cf-canvas-handles-hero .chh-actions{
margin-top: clamp(28px, 3vw, 36px); width: 100%;
display: flex; flex-direction: column; align-items: center;
}
.cf-canvas-handles-hero .chh-btn{
--chh-bg: var(--button-bg, var(--cta, oklch(0.58 0.21 29)));
--chh-bg2: var(--button-bg-2, var(--cta-2, var(--button-bg, var(--cta, oklch(0.51 0.21 29)))));
--chh-dl: 0;
position: relative; box-sizing: border-box;
display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
min-height: 72px; min-width: min(100%, 320px); padding: 12px 32px; margin: 0;
border: 0; border-radius: var(--button-radius, var(--radius, 12px));
background: linear-gradient(oklch(from var(--chh-bg) calc(l + 0.04 + var(--chh-dl)) c h), oklch(from var(--chh-bg2) calc(l - 0.02 + var(--chh-dl)) c h));
color: var(--button-ink, var(--cta-ink, oklch(1 0 0)));
text-shadow: var(--button-text-shadow, none);
text-decoration: none; text-align: center; cursor: pointer;
box-shadow: var(--button-shadow, inset 0 1px 0 oklch(from var(--chh-bg) calc(l + 0.14) c h / 0.7), inset 0 -3px 0 oklch(from var(--chh-bg) calc(l - 0.16) c h), 0 1px 2px oklch(from var(--chh-shadow) l c h / 0.45), 0 8px 16px -6px oklch(from var(--chh-shadow) l c h / 0.6));
transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.cf-canvas-handles-hero .chh-btn-label{
font-family: var(--button-font, var(--font-display));
font-weight: var(--button-weight, 800);
text-transform: var(--button-case, none);
font-size: clamp(1.125rem, 1.55vw, 1.375rem); line-height: 1.15;
}
.cf-canvas-handles-hero .chh-btn-sub{
font-family: var(--font-body); font-weight: 600; font-size: 0.9375rem; line-height: 1.25; text-wrap: pretty;
}
.cf-canvas-handles-hero .chh-btn:hover:not(:disabled),
.cf-canvas-handles-hero .chh-btn.is-hover:not(:disabled){
--chh-dl: -0.05;
transform: translateY(-1px);
box-shadow: var(--button-shadow, inset 0 1px 0 oklch(from var(--chh-bg) calc(l + 0.1) c h / 0.7), inset 0 -3px 0 oklch(from var(--chh-bg) calc(l - 0.2) c h), 0 1px 2px oklch(from var(--chh-shadow) l c h / 0.5), 0 10px 18px -6px oklch(from var(--chh-shadow) l c h / 0.7));
}
.cf-canvas-handles-hero .chh-btn:active:not(:disabled),
.cf-canvas-handles-hero .chh-btn.is-active:not(:disabled){
--chh-dl: -0.08;
transform: translateY(1px);
box-shadow: inset 0 2px 4px oklch(from var(--chh-bg) calc(l - 0.22) c h / 0.5), inset 0 -2px 0 oklch(from var(--chh-bg) calc(l - 0.16) c h), 0 1px 1px oklch(from var(--chh-shadow) l c h / 0.4);
}
.cf-canvas-handles-hero .chh-btn:focus-visible{ outline: 3px solid var(--band-ink, oklch(1 0 0)); outline-offset: 4px; }
.cf-canvas-handles-hero .chh-btn:disabled{
cursor: not-allowed; transform: none; text-shadow: none; box-shadow: none;
background: color-mix(in oklch, var(--band-ink, oklch(1 0 0)) 16%, var(--band, oklch(0.27 0.067 256)));
color: color-mix(in oklch, var(--band-ink, oklch(1 0 0)) 82%, var(--band, oklch(0.27 0.067 256)));
}
.cf-canvas-handles-hero .chh-link{
display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 4px; margin: 8px 0 0;
border: 0; background: none; border-radius: 6px; cursor: pointer;
font-family: var(--font-body); font-size: clamp(1.0625rem, 1.25vw, 1.125rem); font-weight: 700; line-height: 1.3;
color: var(--band-ink, oklch(1 0 0));
text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.22em;
text-decoration-color: oklch(from var(--band-ink, oklch(1 0 0)) l c h / 0.45);
transition: text-decoration-color .16s ease;
}
.cf-canvas-handles-hero .chh-link:hover,
.cf-canvas-handles-hero .chh-link.is-hover{ text-decoration-color: var(--band-ink, oklch(1 0 0)); }
.cf-canvas-handles-hero .chh-link:focus-visible{ outline: 3px solid var(--band-ink, oklch(1 0 0)); outline-offset: 3px; }
.cf-canvas-handles-hero .chh-price{
margin: 16px 0 0; max-width: 32rem;
font-size: clamp(1.0625rem, 1.25vw, 1.125rem); line-height: 1.45;
color: var(--chh-soft); text-wrap: balance;
}
.cf-canvas-handles-hero .chh-price strong{ color: var(--band-ink, oklch(1 0 0)); font-weight: 800; }
.cf-canvas-handles-hero .chh-peek{
position: relative; z-index: 1; box-sizing: border-box; overflow: hidden;
max-width: calc(1120px + 2 * var(--chh-gutter));
height: clamp(200px, 28vw, 380px);
margin: clamp(48px, 7vw, 88px) auto 0; padding: 8px var(--chh-gutter) 0;
}
.cf-canvas-handles-hero .chh-win{
box-sizing: border-box; padding: 8px 10px 10px;
background: var(--card, oklch(1 0 0)); color: var(--ink, oklch(0.21 0.034 263));
border: 1px solid var(--card-border, oklch(from var(--ink, oklch(0.21 0.034 263)) l c h / 0.12));
border-radius: var(--card-radius, var(--radius, 14px));
box-shadow: var(--card-shadow, 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-canvas-handles-hero .chh-bar{ display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 6px 8px; }
.cf-canvas-handles-hero .chh-title{
flex: 1 1 0; min-width: 0; display: inline-flex; align-items: center; gap: 8px;
font-family: var(--font-body); font-size: 0.875rem; font-weight: 800; line-height: 1.2;
color: var(--ink, oklch(0.21 0.034 263));
}
.cf-canvas-handles-hero .chh-title svg{ flex: none; color: var(--accent, oklch(0.5 0.17 257)); }
.cf-canvas-handles-hero .chh-title-text{ min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cf-canvas-handles-hero .chh-tabs{
flex: none; display: flex; gap: 4px; padding: 4px; border-radius: 999px;
background: color-mix(in oklch, var(--ink, oklch(0.21 0.034 263)) 5%, var(--card, oklch(1 0 0)));
}
.cf-canvas-handles-hero .chh-tab{
padding: 4px 12px; border-radius: 999px;
font-family: var(--font-body); font-size: 0.875rem; font-weight: 700; line-height: 1.2;
color: var(--muted, oklch(0.45 0.03 258));
}
.cf-canvas-handles-hero .chh-tab.is-on{
background: color-mix(in oklch, var(--accent, oklch(0.5 0.17 257)) 12%, var(--card, oklch(1 0 0)));
color: var(--ink, oklch(0.21 0.034 263)); font-weight: 800;
}
.cf-canvas-handles-hero .chh-bar-end{ flex: 1 1 0; min-width: 0; display: flex; justify-content: flex-end; }
.cf-canvas-handles-hero .chh-status{
display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
font-family: var(--font-body); font-size: 0.875rem; font-weight: 600; line-height: 1.2;
color: var(--muted, oklch(0.45 0.03 258));
}
.cf-canvas-handles-hero .chh-status svg{ flex: none; color: var(--accent, oklch(0.5 0.17 257)); }
.cf-canvas-handles-hero .chh-shot{
overflow: hidden; border-radius: 8px; aspect-ratio: 16 / 10;
background: color-mix(in oklch, var(--ink, oklch(0.21 0.034 263)) 4%, var(--card, oklch(1 0 0)));
}
.cf-canvas-handles-hero .chh-shot img{ display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
@keyframes cf-chh-rise{ from{ opacity: .82; transform: translateY(8px); } to{ opacity: 1; transform: none; } }
.cf-canvas-handles-hero .chh-in{ animation: cf-chh-rise .45s cubic-bezier(.2,.7,.2,1) both; animation-delay: var(--d, 0s); }
@media (max-width: 720px){
.cf-canvas-handles-hero .chh-tabs{ display: none; }
}
@media (max-width: 560px){
.cf-canvas-handles-hero .chh-actions{ align-items: stretch; }
.cf-canvas-handles-hero .chh-btn{ width: 100%; min-width: 0; padding: 12px 20px; }
.cf-canvas-handles-hero .chh-price,
.cf-canvas-handles-hero .chh-link{ align-self: center; }
.cf-canvas-handles-hero .chh-aside{ flex-direction: column; gap: 8px; text-align: center; }
.cf-canvas-handles-hero .chh-aside-img{ width: 52px; height: 52px; }
}
@media (max-width: 480px){
.cf-canvas-handles-hero .chh-bar-end{ display: none; }
}
@media (prefers-reduced-motion: reduce){
.cf-canvas-handles-hero .chh-in{ animation: none; }
.cf-canvas-handles-hero .chh-btn,
.cf-canvas-handles-hero .chh-link{ transition: none; }
.cf-canvas-handles-hero .chh-btn:hover:not(:disabled),
.cf-canvas-handles-hero .chh-btn.is-hover:not(:disabled){ transform: none; }
}
`;
pieces/hero/canvas-handles-hero/specimen.tsx 46 lines
import __studioImage3cf6f4aa from "../assets/036d9d89ea5f3397.webp";
import __studioImage83ba6129 from "../assets/0126cced05ab1c44.webp";
import React from "react";
import defaults from "../../studio-defaults.json";
import { slot } from "../../slots";
import { CanvasHandlesHero, type CanvasHandlesHeroProps } from "../canvas-handles-hero";
export const states = ["default", "hover", "active", "disabled"];
export default function CanvasHandlesHeroSpecimen({ state = "default" }: { state?: CanvasHandlesHeroProps["state"] }) {
const price = defaults.sample.price;
return (
<CanvasHandlesHero
state={state}
lines={[
[{ text: "Your", dim: true }, { text: "rough notes", stop: true }, { text: "in.", dim: true }],
[{ text: "A", dim: true }, { text: "pitch-ready deck", promise: true }, { text: "out.", dim: true }],
]}
lead="Paste your notes. Brightdeck writes the story, designs every slide and keeps your look consistent from cover to ask."
aside="(I know. I didn't believe it either.)"
asideName="Maya Ortiz, founder of Brightdeck"
presenterCutoutImage={slot(
"presenter-cutout",
__studioImage3cf6f4aa,
)}
presenterAlt="Portrait of Maya Ortiz"
actionLabel="Start my free trial"
actionSublabel="Build your first deck tonight"
linkLabel="See a finished deck"
priceLine={
<>
<strong>Just {price} a month</strong> after your trial, less than one hour with a designer.
</>
}
productImage={slot(
"product",
__studioImage83ba6129,
)}
productAlt="The Brightdeck workspace with slide thumbnails and a pitch slide being built"
canvasTitle="Seed round deck"
canvasTabs={["Story", "Slides", "Present"]}
canvasActiveTab={1}
canvasStatus="Drafting slide 4 of 12"
/>
);
}
| Name | Type | Details |
|---|---|---|
lines OptionalCanvasHandlesHero |
CanvasHandlesHeroSegment[][] |
|
lead OptionalCanvasHandlesHero |
React.ReactNode |
|
aside OptionalCanvasHandlesHero |
React.ReactNode |
|
asideName OptionalCanvasHandlesHero |
string |
|
presenterCutoutImage OptionalCanvasHandlesHero |
string |
|
presenterAlt OptionalCanvasHandlesHero |
string |
|
actionLabel OptionalCanvasHandlesHero |
string |
|
actionSublabel OptionalCanvasHandlesHero |
string |
|
href OptionalCanvasHandlesHero |
string |
|
onAction OptionalCanvasHandlesHero |
() => void |
|
linkLabel OptionalCanvasHandlesHero |
string |
|
linkHref OptionalCanvasHandlesHero |
string |
|
onLink OptionalCanvasHandlesHero |
() => void |
|
priceLine OptionalCanvasHandlesHero |
React.ReactNode |
|
productImage OptionalCanvasHandlesHero |
string |
|
productAlt OptionalCanvasHandlesHero |
string |
|
canvasTitle OptionalCanvasHandlesHero |
string |
|
canvasTabs OptionalCanvasHandlesHero |
string[] |
|
canvasActiveTab OptionalCanvasHandlesHero |
number |
|
canvasStatus OptionalCanvasHandlesHero |
string |
|
state OptionalCanvasHandlesHero |
"default" | "hover" | "active" | "disabled" |
|
className OptionalCanvasHandlesHero |
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.
--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.
presenter-cutout- The presenter on a transparent background.
product- The main product shot or cover (ebook, kit, bottle).
-
0126cced05ab1c44.webp
image/webp · 32.3 KB
-
036d9d89ea5f3397.webp
image/webp · 71.2 KB
-
b77916eca54aa689.webp
image/webp · 8.32 KB
-
d435db6662febfcf.webp
image/webp · 10 KB
-
f0a5d3e1e61804ba.webp
image/webp · 11.6 KB