Neon Quiz Bedtime Tiles 1
A quiz card with a question headline, three lettered answer tiles and a product cut-out; a cold curiosity ad driving to a quiz funnel.
The sample's post copy
Sample brand, fictional copy: the pattern to follow, written for the person's real offer.
- Platform 4 characters
- meta
- Primary text 332 characters
- Every dog has a bedtime habit: some circle five times before settling, some sprawl flat on cool tile, and some claim half your pillow. Our 30-second quiz matches the way your dog sleeps to the bed shape built for it — bolster, flat mat or deep nest. Beds start at $89 with free shipping. Take the 30-second quiz to see your match.
- Headline 27 characters
- Find your dog's bedtime bed
- Description 29 characters
- Beds from $89 · free shipping
- Button 10 characters
- Learn More
What it is for
- Angle
- curiosity
- Temperature
- cold
- Archetype
- quiz options
- Sends people to
- quiz funnel
- Words on the image
- At most 34
Use it in a prompt
Make the ads/neon-quiz-bedtime-tiles ad from the FunnelDNA library in my brand, at every size (square, portrait, story, landscape), with post copy written the way the sample's is. Follow the ads skill. Ask me for the offer, images and facts 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/ads/neon-quiz-bedtime-tiles.tsx. - Import it and pass your copy and images (Props tab):
import { NeonQuizBedtimeTiles } from "@/components/funneldna/ads/neon-quiz-bedtime-tiles"
It restyles from the theme tokens on any wrapper (Theme tab). The specimen source is a complete working example.
pieces/ads/neon-quiz-bedtime-tiles/component.tsx 186 lines
// archetype: quiz-options
// When to use: A quiz card with a question headline, three lettered answer tiles and a product cut-out; a cold curiosity ad driving to a quiz funnel.
import * as React from "react"
import { AdFrame, AdHeadline, Cue, LogoMark, type AdFormat } from "../fx/ad-kit"
import { Pattern } from "../fx/fx"
/**
* Quiz options card: the question sits bold at the top over a subtle corner-faded dots pattern, followed by three
* equal flat answer tiles with solid square A/B/C badges (none pre-selected or ticked), a grounded product cut-out
* with a contact shadow at the foot of the tiles, one plain offer/support line and one action cue naming the quiz.
* Cold · curiosity → quiz funnel.
*/
export type NeonQuizBedtimeTilesProps = {
format?: AdFormat
/** The quiz question, 12 words or fewer. A "\n" forces a balanced line break. */
headline?: string
/** One phrase inside `headline` tinted with the highlight ink. Empty: none. */
highlight?: string
/** Three short answer choices (four words or fewer each), paired with badges A, B and C. */
options?: readonly string[]
/** Plain offer or terms line (price, shipping, trial). Empty by default so nothing unverified renders. */
support?: string
/** Action cue label naming the quiz or next step. */
cue?: string
/** Transparent product cut-out (slot "product"), grounded with a contact shadow. */
product?: string
/** Accessible description for the product cut-out. */
productAlt?: string
/** Brand logo mark (slot "logo"). */
logo?: string
/** Brand name fallback and logo alt text. */
brand?: string
className?: string
}
export const formats: AdFormat[] = ["square", "portrait", "story", "landscape"]
export const lead = "portrait" satisfies AdFormat
/** Raised from 20 to cover the question, three lettered quiz answer tiles (A/B/C), offer line and cue. */
export const wordCap = 34
const LETTERS = ["A", "B", "C"] as const
const DEFAULT_OPTIONS = ["First answer choice", "Second answer choice", "Third answer choice"] as const
export function NeonQuizBedtimeTiles({
format = "portrait",
headline = "Which one sounds most like your routine?",
highlight = "",
options = DEFAULT_OPTIONS,
support = "",
cue = "Take the quick quiz",
product = "",
productAlt = "",
logo = "",
brand = "",
className = "",
}: NeonQuizBedtimeTilesProps) {
const items = options.filter((item) => item && item.trim().length > 0).slice(0, 3)
return (
<AdFrame format={format} className={`fd-quiz ${className}`.trim()}>
<style href="fd-quiz" precedence="default">{CSS}</style>
<EdgeFilter />
<Pattern name="dots" tone="band-ink" opacity={0.16} fade="corner" />
<LogoMark src={logo} brand={brand} className="fd-quiz__logo" />
<div className="fd-quiz__stage">
<AdHeadline
as="h1"
text={headline}
highlight={highlight}
mark="ink"
className="fd-quiz__headline"
/>
{items.length > 0 ? (
<div className="fd-quiz__tiles">
{items.map((label, idx) => (
<div key={LETTERS[idx]} className="fd-quiz__tile">
<span className="fd-quiz__badge">{LETTERS[idx]}</span>
<span className="fd-quiz__option">{label}</span>
</div>
))}
</div>
) : null}
{product ? (
<div className="fd-quiz__product-wrap">
<div className="fd-quiz__shadow" aria-hidden />
<img className="fd-quiz__product" src={product} alt={productAlt} decoding="async" />
</div>
) : null}
<div className="fd-quiz__action">
<Cue className="fd-quiz__cue">{cue}</Cue>
{support ? <p className="fd-quiz__support">{support}</p> : null}
</div>
</div>
</AdFrame>
)
}
/** Tight alpha choke and dark rim tinted from --shadow so the cut-out sits cleanly on dark and light bands. */
function EdgeFilter() {
return (
<svg className="fd-quiz__defs" aria-hidden focusable="false" width="0" height="0">
<filter id="fd-quiz-edge" x="-2%" y="-2%" width="104%" height="104%" colorInterpolationFilters="sRGB">
<feMorphology in="SourceAlpha" operator="erode" radius="1.2" result="core" />
<feGaussianBlur in="core" stdDeviation="0.4" result="coreSoft" />
<feComposite in="SourceGraphic" in2="coreSoft" operator="in" result="choked" />
<feMorphology in="core" operator="erode" radius="2.5" result="inner" />
<feComposite in="coreSoft" in2="inner" operator="out" result="rim" />
<feGaussianBlur in="rim" stdDeviation="0.8" result="rimSoft" />
<feFlood style={{ floodColor: "var(--shadow, oklch(0.2 0.03 260))", floodOpacity: 0.45 }} result="shade" />
<feComposite in="shade" in2="rimSoft" operator="in" result="rimShade" />
<feComposite in="rimShade" in2="choked" operator="in" result="edge" />
<feMerge>
<feMergeNode in="choked" />
<feMergeNode in="edge" />
</feMerge>
</filter>
</svg>
)
}
const CSS = `
.fd-quiz{background:var(--band);color:var(--band-ink)}
.fd-quiz__defs{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none}
.fd-quiz__logo{position:absolute;z-index:3;color:var(--band-ink)}
.fd-quiz__stage{position:relative;z-index:2;width:100%;height:100%;display:grid}
.fd-quiz__headline{color:var(--band-ink);line-height:1.14}
.fd-quiz__tiles{display:flex;flex-direction:column}
.fd-quiz__tile{display:flex;align-items:center;background:var(--card);color:var(--ink);border:1px solid var(--card-border,oklch(from var(--ink) l c h / 0.14));border-radius:calc(var(--card-radius,var(--radius,12px)) * 1.15);box-shadow:var(--card-shadow,var(--shadow-md))}
.fd-quiz__badge{flex:none;display:inline-flex;align-items:center;justify-content:center;background:var(--accent-fill,var(--accent));color:var(--accent-fill-ink,var(--card));font-family:var(--font-display);font-weight:var(--display-weight,800);line-height:1;border-radius:calc(var(--radius,10px) * 0.85)}
.fd-quiz__option{font-family:var(--font-body);font-weight:700;color:var(--ink);line-height:1.15;letter-spacing:-0.01em;text-wrap:pretty}
.fd-quiz__product-wrap{position:relative;display:flex;align-items:flex-end;justify-content:center;pointer-events:none}
.fd-quiz__shadow{position:absolute;left:8%;right:8%;bottom:4%;height:18%;border-radius:50%;background:radial-gradient(ellipse 50% 50% at 50% 50%,oklch(from var(--shadow,oklch(0.18 0.03 260)) l c h / 0.62) 0%,oklch(from var(--shadow,oklch(0.18 0.03 260)) l c h / 0.24) 54%,transparent 76%)}
.fd-quiz__product{position:relative;z-index:1;width:100%;height:100%;object-fit:contain;object-position:bottom center;filter:url(#fd-quiz-edge) drop-shadow(0 12px 18px oklch(from var(--shadow,oklch(0.18 0.03 260)) l c h / 0.42))}
.fd-quiz__action{display:flex;flex-direction:column;align-items:flex-start}
.fd-quiz__support{margin:0;font-family:var(--font-body);font-weight:600;color:var(--band-ink);line-height:1.25;text-wrap:pretty}
.fd-quiz[data-format="square"] .fd-quiz__logo{top:56px;right:64px}
.fd-quiz[data-format="square"] .fd-quiz__stage{padding:134px 64px 64px;grid-template-columns:544px 1fr;grid-template-rows:auto auto 1fr;column-gap:28px}
.fd-quiz[data-format="square"] .fd-quiz__headline{grid-column:1 / 3;grid-row:1;font-size:72px;margin-bottom:36px}
.fd-quiz[data-format="square"] .fd-quiz__tiles{grid-column:1;grid-row:2;gap:20px;align-self:start}
.fd-quiz[data-format="square"] .fd-quiz__tile{height:108px;padding:16px 22px 16px 16px;gap:20px}
.fd-quiz[data-format="square"] .fd-quiz__badge{width:70px;height:70px;font-size:38px}
.fd-quiz[data-format="square"] .fd-quiz__option{font-size:33px}
.fd-quiz[data-format="square"] .fd-quiz__product-wrap{grid-column:2;grid-row:2 / 4;align-self:end;justify-self:center;width:400px;height:400px;margin-right:-16px;margin-bottom:6px}
.fd-quiz[data-format="square"] .fd-quiz__action{grid-column:1;grid-row:3;align-self:end;gap:18px;padding-top:24px}
.fd-quiz[data-format="square"] .fd-quiz__cue{--cue-fs:32px;padding:.58em .92em}
.fd-quiz[data-format="square"] .fd-quiz__support{font-size:28px}
.fd-quiz[data-format="portrait"] .fd-quiz__logo{top:56px;right:64px}
.fd-quiz[data-format="portrait"] .fd-quiz__stage{padding:136px 64px 64px;grid-template-columns:1fr;grid-template-rows:auto auto 1fr auto}
.fd-quiz[data-format="portrait"] .fd-quiz__headline{grid-row:1;font-size:76px;margin-bottom:36px}
.fd-quiz[data-format="portrait"] .fd-quiz__tiles{grid-row:2;gap:20px}
.fd-quiz[data-format="portrait"] .fd-quiz__tile{height:116px;padding:18px 28px 18px 20px;gap:26px}
.fd-quiz[data-format="portrait"] .fd-quiz__badge{width:78px;height:78px;font-size:42px}
.fd-quiz[data-format="portrait"] .fd-quiz__option{font-size:42px}
.fd-quiz[data-format="portrait"] .fd-quiz__product-wrap{grid-row:3;align-self:center;justify-self:center;width:480px;height:324px;margin:10px 0}
.fd-quiz[data-format="portrait"] .fd-quiz__action{grid-row:4;align-self:end;justify-self:center;align-items:center;gap:18px}
.fd-quiz[data-format="portrait"] .fd-quiz__cue{--cue-fs:42px;padding:.6em 1.15em}
.fd-quiz[data-format="portrait"] .fd-quiz__support{font-size:30px;text-align:center}
.fd-quiz[data-format="story"] .fd-quiz__logo{top:260px;right:64px}
.fd-quiz[data-format="story"] .fd-quiz__stage{padding:334px 64px 360px;grid-template-columns:524px 1fr;grid-template-rows:auto auto 1fr;column-gap:24px}
.fd-quiz[data-format="story"] .fd-quiz__headline{grid-column:1 / 3;grid-row:1;font-size:76px;margin-bottom:38px}
.fd-quiz[data-format="story"] .fd-quiz__tiles{grid-column:1 / 3;grid-row:2;gap:28px}
.fd-quiz[data-format="story"] .fd-quiz__tile{height:170px;padding:24px 34px 24px 26px;gap:30px}
.fd-quiz[data-format="story"] .fd-quiz__badge{width:98px;height:98px;font-size:52px}
.fd-quiz[data-format="story"] .fd-quiz__option{font-size:44px}
.fd-quiz[data-format="story"] .fd-quiz__action{grid-column:1;grid-row:3;align-self:end;flex-direction:column-reverse;gap:22px}
.fd-quiz[data-format="story"] .fd-quiz__cue{--cue-fs:31px;padding:.6em .84em}
.fd-quiz[data-format="story"] .fd-quiz__support{font-size:30px;max-width:480px}
.fd-quiz[data-format="story"] .fd-quiz__product-wrap{grid-column:2;grid-row:3;align-self:end;justify-self:end;width:456px;height:520px;margin-bottom:-240px;margin-right:-28px}
.fd-quiz[data-format="landscape"] .fd-quiz__logo{top:40px;right:48px}
.fd-quiz[data-format="landscape"] .fd-quiz__stage{padding:44px 48px;grid-template-columns:536px 520px;grid-template-rows:74px 250px 1fr;column-gap:48px}
.fd-quiz[data-format="landscape"] .fd-quiz__headline{grid-column:1;grid-row:1 / 3;align-self:end;font-size:60px;line-height:1.12;padding-bottom:26px}
.fd-quiz[data-format="landscape"] .fd-quiz__action{grid-column:1;grid-row:3;align-self:start;padding-top:8px;gap:16px}
.fd-quiz[data-format="landscape"] .fd-quiz__cue{--cue-fs:31px;padding:.58em .96em}
.fd-quiz[data-format="landscape"] .fd-quiz__support{font-size:24px}
.fd-quiz[data-format="landscape"] .fd-quiz__tiles{grid-column:2;grid-row:2;gap:14px;align-self:start}
.fd-quiz[data-format="landscape"] .fd-quiz__tile{height:74px;padding:10px 18px 10px 12px;gap:18px}
.fd-quiz[data-format="landscape"] .fd-quiz__badge{width:52px;height:52px;font-size:28px}
.fd-quiz[data-format="landscape"] .fd-quiz__option{font-size:28px}
.fd-quiz[data-format="landscape"] .fd-quiz__product-wrap{grid-column:2;grid-row:3;align-self:end;justify-self:center;width:296px;height:212px;margin-bottom:-18px}
`
export default NeonQuizBedtimeTiles
pieces/ads/neon-quiz-bedtime-tiles/specimen.tsx 50 lines
import __studioImage9fe3799e from "../assets/1b9bad109b3b6e05.webp";
import * as React from "react"
import { slot } from "../../slots"
import { NeonQuizBedtimeTiles, formats } from "../neon-quiz-bedtime-tiles"
import type { AdFormat } from "../../fx/ad-kit"
// Sample brand (fictional): Mossgrove Pet Co., tailored dog beds matched by sleeping style.
const mossgroveLogo = "data:image/svg+xml," + encodeURIComponent(
`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 248 56"><path d="M16 40c0-6.8 4.4-11.5 10-11.5S36 33.2 36 40c0 4.6-3.2 7-10 7s-10-2.4-10-7z" fill="currentColor"/><ellipse cx="12" cy="23" rx="4.2" ry="5.6" transform="rotate(-18 12 23)" fill="currentColor"/><ellipse cx="26" cy="16" rx="4.4" ry="5.8" fill="currentColor"/><ellipse cx="40" cy="23" rx="4.2" ry="5.6" transform="rotate(18 40 23)" fill="currentColor"/><text x="56" y="39" fill="currentColor" font-family="Helvetica, Arial, sans-serif" font-size="31" font-weight="700" letter-spacing="-0.6">mossgrove</text></svg>`,
)
const dogBedImage = __studioImage9fe3799e
export const states = ["square", "portrait", "story", "landscape"]
export const copy = {
platform: "meta",
primary_text: "Every dog has a bedtime habit: some circle five times before settling, some sprawl flat on cool tile, and some claim half your pillow.\n\nOur 30-second quiz matches the way your dog sleeps to the bed shape built for it — bolster, flat mat or deep nest.\n\nBeds start at $89 with free shipping. Take the 30-second quiz to see your match.",
headline: "Find your dog's bedtime bed",
description: "Beds from $89 · free shipping",
cta: "Learn More",
}
// Sample brand (coral-cobalt palette, invented): previews, the pack and the site show this ad in it by default.
export const sampleBrand = {
name: "Mossgrove Pet Co.",
theme: "light",
background: "#f5f7fc",
colors: ["#2c4bdb", "#f0623f"],
fonts: ["Lexend", "Public Sans"],
button: "square",
}
export default function NeonQuizBedtimeTilesSpecimen({ state = "portrait" }: { state?: string }) {
return (
<NeonQuizBedtimeTiles
format={(formats.includes(state as AdFormat) ? state : "portrait") as AdFormat}
headline={"Dog owners at bedtime:\nwhich one is yours?"}
highlight="which one is yours?"
options={["Circles five times", "Steals your pillow", "Sleeps on cold tiles"]}
support="Beds from $89 · free shipping"
cue="Take the 30-second quiz"
product={slot("product", dogBedImage)}
productAlt="Mossgrove bolster dog bed"
logo={slot("logo", mossgroveLogo)}
brand="Mossgrove Pet Co."
/>
)
}
| Name | Type | Details |
|---|---|---|
format OptionalNeonQuizBedtimeTiles |
AdFormat |
Default "portrait"
|
headline OptionalNeonQuizBedtimeTiles |
string |
Default "Which one sounds most like your routine?"
|
highlight OptionalNeonQuizBedtimeTiles |
string |
Default ""
|
options OptionalNeonQuizBedtimeTiles |
readonly string[] |
Default DEFAULT_OPTIONS
|
support OptionalNeonQuizBedtimeTiles |
string |
Default ""
|
cue OptionalNeonQuizBedtimeTiles |
string |
Default "Take the quick quiz"
|
product OptionalNeonQuizBedtimeTiles |
string |
Default ""
|
productAlt OptionalNeonQuizBedtimeTiles |
string |
Default ""
|
logo OptionalNeonQuizBedtimeTiles |
string |
Default ""
|
brand OptionalNeonQuizBedtimeTiles |
string |
Default ""
|
className OptionalNeonQuizBedtimeTiles |
string |
Default ""
|
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.
--card-border--card-radius--card-shadow- Cards and panels: radius, border and shadow.
--display-weight- Headlines: weight, letter case and tracking.
Image slots
Filled from the brand’s images; the specimen ships its own defaults.
logo- The brand’s logo mark.
product- The main product shot or cover (ebook, kit, bottle).
-
1b9bad109b3b6e05.webp
image/webp · 122 KB