Quiz Bedtime Tiles 1
A cold curiosity quiz card. The question names the audience and the moment, three answer tiles invite a silent pick, and the cue sends the reader to a short 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 265 characters
- Circles five times. Steals your pillow. Sleeps on the cold tiles. Every dog has a bedtime habit, and each one suits a different bed shape. Take our 30-second quiz and we'll suggest the shape that fits how your dog likes to sleep. Beds from $89 with free shipping.
- Headline 25 characters
- Find your dog's bed shape
- 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 32
Use it in a prompt
Make the ads/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/quiz-bedtime-tiles.tsx. - Import it and pass your copy and images (Props tab):
import { QuizBedtimeTiles } from "@/components/funneldna/ads/quiz-bedtime-tiles"
It restyles from the theme tokens on any wrapper (Theme tab). The specimen source is a complete working example.
pieces/ads/quiz-bedtime-tiles/component.tsx 182 lines
// archetype: quiz-options
// When to use: A cold curiosity quiz card. The question names the audience and the moment, three answer tiles invite a silent pick, and the cue sends the reader to a short quiz funnel.
import * as React from "react"
import { AdFrame, AdHeadline, Cue, LogoMark, type AdFormat } from "../fx/ad-kit"
import { Pattern } from "../fx/fx"
/**
* Quiz card: the question is the headline, then three big flat answer tiles. Each tile has a solid square letter badge
* and a few words. No tile is pre-selected, so the reader picks one in their head and clicks to find out. The product
* cut-out stands on the ground at the foot of the tiles with a contact shadow, over a dots pattern that fades out of
* the bottom-right corner. Cold · curiosity → quiz funnel.
* Truth: the answers are everyday situations, never a diagnosis or a behaviour claim. The quiz the cue opens must
* exist, and it recommends only what the page says it recommends (here, a bed shape).
* Finish: the cut-out runs through a 1px alpha choke so no matte fringe shows on dark themes. It sits on a tight
* contact shadow, so it rests on the ground instead of floating. The swipe is an opaque light marker (its L is
* clamped high), and its phrase uses a dark version of --ink, so it holds 4.5:1 on light and dark themes alike.
* Tiles have fixed heights per format, so they never balloon into empty boxes. Every format is re-composed. Square
* and portrait set the product beside tiles B and C, above the cue. Story stacks the tiles, puts the product beside
* the offer line and runs the cue full width. Landscape puts the question and cue left, the tiles in the centre and
* the product right, with columns sized so an uppercase cue never reaches the tiles.
*/
export type QuizBedtimeTilesProps = {
format?: AdFormat
/** The quiz question, 12 words or fewer. It names who the quiz is for and the moment. */
question?: string
/** One phrase inside `question` that gets the marker swipe. Empty: none. */
highlight?: string
/** The answer tiles, four words or fewer each. Designed for three. */
options?: string[]
/** Badge letters, one per option. */
letters?: string[]
/** The offer terms line above the cue (price, shipping). Empty: none. */
support?: string
/** The page button's words, naming the quiz length. */
cue?: string
/** One short line under the cue label. Empty: none. */
cueNote?: string
/** Transparent product cut-out (slot "product"). Empty: none. */
product?: string
productAlt?: string
logo?: string
brand?: string
}
export const formats: AdFormat[] = ["square", "portrait", "story", "landscape"]
export const lead = "portrait" satisfies AdFormat
// A quiz card must show its answers on the image: the question, three short answers, their letters, the offer line
// and the cue land near 30 words, so the cap is raised from 20 for this archetype.
export const wordCap = 32
export function QuizBedtimeTiles({
format = "portrait",
question = "Which one sounds like you?",
highlight = "",
options = ["The first answer", "The second answer", "The third answer"],
letters = ["A", "B", "C"],
support = "",
cue = "Take the quiz",
cueNote = "",
product = "",
productAlt = "The product",
logo = "",
brand = "",
}: QuizBedtimeTilesProps) {
return (
<AdFrame format={format} className="fd-quizbed">
<style href="fd-quizbed" precedence="default">{CSS}</style>
<EdgeFilter />
<div className="fd-quizbed__dots" aria-hidden>
<Pattern name="dots" />
</div>
{product ? (
<div className="fd-quizbed__stage">
<span className="fd-quizbed__floor" aria-hidden />
<img className="fd-quizbed__product" src={product} alt={productAlt} />
</div>
) : null}
<LogoMark src={logo} brand={brand} className="fd-quizbed__logo" />
<div className="fd-quizbed__body">
<AdHeadline as="h1" text={question} highlight={highlight} mark="swipe" className="fd-quizbed__q" />
<ol className="fd-quizbed__tiles">
{options.map((option, i) => (
<li key={i} className="fd-quizbed__tile">
<span className="fd-quizbed__key">{letters[i] ?? String.fromCharCode(65 + i)}</span>
<span className="fd-quizbed__answer">{option}</span>
</li>
))}
</ol>
</div>
<div className="fd-quizbed__foot">
{support ? <p className="fd-quizbed__support">{support}</p> : null}
<Cue note={cueNote} className="fd-quizbed__cue">{cue}</Cue>
</div>
</AdFrame>
)
}
/** A 1px alpha choke on the cut-out removes the light matte fringe a generated cut-out leaves around fur and fabric. */
function EdgeFilter() {
return (
<svg className="fd-quizbed__defs" aria-hidden focusable="false" width="0" height="0">
<filter id="fd-quizbed-edge" x="-2%" y="-2%" width="104%" height="104%" colorInterpolationFilters="sRGB">
<feMorphology in="SourceAlpha" operator="erode" radius="1" result="core" />
<feGaussianBlur in="core" stdDeviation="0.6" result="soft" />
<feComposite in="SourceGraphic" in2="soft" operator="in" />
</filter>
</svg>
)
}
const CSS = `
.fd-ad.fd-quizbed{background:var(--surface);color:var(--ink)}
.fd-quizbed .fd-quizbed__defs{position:absolute;width:0;height:0;overflow:hidden;pointer-events:none}
.fd-quizbed .fd-quizbed__dots{position:absolute;right:0;bottom:0;z-index:0;pointer-events:none;-webkit-mask-image:radial-gradient(circle at 100% 100%,black 0,black 18%,transparent 74%);mask-image:radial-gradient(circle at 100% 100%,black 0,black 18%,transparent 74%)}
.fd-quizbed .fd-quizbed__stage{position:absolute;z-index:1;aspect-ratio:1}
.fd-quizbed .fd-quizbed__floor{position:absolute;left:14%;right:14%;bottom:1.5%;height:6%;border-radius:50%;background:radial-gradient(closest-side,oklch(from var(--shadow,oklch(0.22 0.03 260)) l c h / 0.4),oklch(from var(--shadow,oklch(0.22 0.03 260)) l c h / 0.12) 62%,oklch(from var(--shadow,oklch(0.22 0.03 260)) l c h / 0))}
.fd-quizbed .fd-quizbed__product{position:relative;display:block;width:100%;height:100%;object-fit:contain;object-position:50% 100%;filter:url(#fd-quizbed-edge) drop-shadow(0 2px 2px oklch(from var(--shadow,oklch(0.22 0.03 260)) l c h / 0.34)) drop-shadow(0 10px 12px oklch(from var(--shadow,oklch(0.22 0.03 260)) l c h / 0.18))}
.fd-quizbed .fd-quizbed__logo{position:absolute;z-index:3;color:var(--ink)}
.fd-quizbed .fd-quizbed__body{position:absolute;z-index:2;display:flex;flex-direction:column}
.fd-quizbed .fd-quizbed__q{color:var(--ink);line-height:1.12}
.fd-quizbed .fd-quizbed__q .fd-ad-mark[data-style="swipe"]{color:oklch(from var(--ink) min(l, 0.24) c h);background:linear-gradient(177deg,transparent 0 24%,oklch(from var(--marker,#fae37c) max(l, 0.86) c h / 1) 24% 94%,transparent 94%)}
.fd-quizbed .fd-quizbed__tiles{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;flex:none}
.fd-quizbed .fd-quizbed__tile{flex:none;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:var(--card-radius,var(--radius,14px));box-shadow:var(--card-shadow,var(--shadow-sm,0 1px 2px oklch(from var(--shadow,oklch(0.22 0.03 260)) l c h / 0.25)))}
.fd-quizbed .fd-quizbed__key{flex:none;display: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:min(var(--radius,8px),10px)}
.fd-quizbed .fd-quizbed__answer{min-width:0;font-family:var(--font-display);font-weight:600;line-height:1.15;letter-spacing:-0.01em;text-wrap:balance}
.fd-quizbed .fd-quizbed__foot{position:absolute;z-index:2;display:flex;flex-direction:column;align-items:flex-start}
.fd-quizbed .fd-quizbed__support{margin:0;font-family:var(--font-body);font-weight:600;line-height:1.25;color:var(--ink);text-wrap:pretty}
.fd-quizbed[data-format="square"] .fd-quizbed__logo{top:64px;right:64px}
.fd-quizbed[data-format="square"] .fd-quizbed__body{left:64px;top:64px;width:640px}
.fd-quizbed[data-format="square"] .fd-quizbed__q{font-size:76px}
.fd-quizbed[data-format="square"] .fd-quizbed__tiles{width:556px;margin-top:36px;gap:16px}
.fd-quizbed[data-format="square"] .fd-quizbed__tile{height:140px;padding:0 28px 0 18px;gap:26px}
.fd-quizbed[data-format="square"] .fd-quizbed__key{width:76px;height:76px;font-size:38px}
.fd-quizbed[data-format="square"] .fd-quizbed__answer{font-size:38px}
.fd-quizbed[data-format="square"] .fd-quizbed__foot{left:64px;bottom:64px;gap:18px}
.fd-quizbed[data-format="square"] .fd-quizbed__support{font-size:30px}
.fd-quizbed[data-format="square"] .fd-quizbed__cue{--cue-fs:38px}
.fd-quizbed[data-format="square"] .fd-quizbed__stage{width:440px;right:-24px;bottom:160px}
.fd-quizbed[data-format="square"] .fd-quizbed__dots{width:64%;height:62%}
.fd-quizbed[data-format="portrait"] .fd-quizbed__logo{top:72px;right:72px}
.fd-quizbed[data-format="portrait"] .fd-quizbed__body{left:72px;top:72px;width:650px}
.fd-quizbed[data-format="portrait"] .fd-quizbed__q{font-size:88px}
.fd-quizbed[data-format="portrait"] .fd-quizbed__tiles{width:552px;margin-top:44px;gap:22px}
.fd-quizbed[data-format="portrait"] .fd-quizbed__tile{height:170px;padding:0 30px 0 22px;gap:28px}
.fd-quizbed[data-format="portrait"] .fd-quizbed__key{width:92px;height:92px;font-size:46px}
.fd-quizbed[data-format="portrait"] .fd-quizbed__answer{font-size:42px}
.fd-quizbed[data-format="portrait"] .fd-quizbed__foot{left:72px;bottom:72px;gap:22px}
.fd-quizbed[data-format="portrait"] .fd-quizbed__support{font-size:32px}
.fd-quizbed[data-format="portrait"] .fd-quizbed__cue{--cue-fs:42px}
.fd-quizbed[data-format="portrait"] .fd-quizbed__stage{width:530px;right:-56px;bottom:196px}
.fd-quizbed[data-format="portrait"] .fd-quizbed__dots{width:64%;height:56%}
.fd-quizbed[data-format="story"] .fd-quizbed__logo{top:266px;right:64px}
.fd-quizbed[data-format="story"] .fd-quizbed__body{left:64px;right:64px;top:356px}
.fd-quizbed[data-format="story"] .fd-quizbed__q{font-size:96px}
.fd-quizbed[data-format="story"] .fd-quizbed__tiles{margin-top:44px;gap:18px}
.fd-quizbed[data-format="story"] .fd-quizbed__tile{height:132px;padding:0 36px 0 24px;gap:32px}
.fd-quizbed[data-format="story"] .fd-quizbed__key{width:100px;height:100px;font-size:50px}
.fd-quizbed[data-format="story"] .fd-quizbed__answer{font-size:50px}
.fd-quizbed[data-format="story"] .fd-quizbed__foot{left:64px;right:64px;bottom:364px;gap:26px}
.fd-quizbed[data-format="story"] .fd-quizbed__support{font-size:38px;max-width:520px;text-wrap:balance}
.fd-quizbed[data-format="story"] .fd-quizbed__cue{--cue-fs:44px;align-self:stretch;width:auto}
.fd-quizbed[data-format="story"] .fd-quizbed__stage{width:400px;right:-20px;bottom:484px}
.fd-quizbed[data-format="story"] .fd-quizbed__dots{width:72%;height:46%}
.fd-quizbed[data-format="landscape"] .fd-quizbed__logo{top:44px;right:48px}
.fd-quizbed[data-format="landscape"] .fd-quizbed__body{left:48px;top:48px;bottom:48px;width:830px;display:grid;grid-template-columns:442px 360px;grid-template-rows:minmax(0,1fr);column-gap:28px;align-items:start}
.fd-quizbed[data-format="landscape"] .fd-quizbed__q{font-size:56px}
.fd-quizbed[data-format="landscape"] .fd-quizbed__tiles{align-self:center;gap:14px}
.fd-quizbed[data-format="landscape"] .fd-quizbed__tile{height:136px;padding:0 20px 0 14px;gap:16px}
.fd-quizbed[data-format="landscape"] .fd-quizbed__key{width:58px;height:58px;font-size:29px}
.fd-quizbed[data-format="landscape"] .fd-quizbed__answer{font-size:28px}
.fd-quizbed[data-format="landscape"] .fd-quizbed__foot{left:48px;bottom:48px;gap:14px}
.fd-quizbed[data-format="landscape"] .fd-quizbed__support{font-size:24px}
.fd-quizbed[data-format="landscape"] .fd-quizbed__cue{--cue-fs:27px;padding-inline:.75em}
.fd-quizbed[data-format="landscape"] .fd-quizbed__stage{width:300px;right:0;bottom:36px}
.fd-quizbed[data-format="landscape"] .fd-quizbed__dots{width:40%;height:100%}
`
export default QuizBedtimeTiles
pieces/ads/quiz-bedtime-tiles/specimen.tsx 50 lines
import __studioImage95c48e92 from "../assets/ef4d464194adb4cd.webp";
import * as React from "react"
import { slot } from "../../slots"
import { QuizBedtimeTiles, formats } from "../quiz-bedtime-tiles"
import type { AdFormat } from "../../fx/ad-kit"
// Sample brand (fictional): Mossgrove Pet Co., a maker of dog beds with a 30-second bed-shape quiz. The product
// cut-out is a generated illustration.
const mossgroveLogo = "data:image/svg+xml," + encodeURIComponent(
`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 240 56"><path d="M18 52c-12-9-14-27-1-42 12 14 12 31 1 42z" fill="currentColor"/><path d="M22 52c4-14 14-22 26-22-2 13-12 21-26 22z" fill="currentColor"/><text x="54" y="38" font-family="Helvetica, Arial, sans-serif" font-size="30" font-weight="700" letter-spacing="-.4" fill="currentColor">mossgrove</text></svg>`,
)
export const states = ["square", "portrait", "story", "landscape"]
export const copy = {
platform: "meta",
primary_text: "Circles five times. Steals your pillow. Sleeps on the cold tiles.\n\nEvery dog has a bedtime habit, and each one suits a different bed shape. Take our 30-second quiz and we'll suggest the shape that fits how your dog likes to sleep.\n\nBeds from $89 with free shipping.",
headline: "Find your dog's bed shape",
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 QuizBedtimeTilesSpecimen({ state = "portrait" }: { state?: string }) {
return (
<QuizBedtimeTiles
format={(formats.includes(state as AdFormat) ? state : "portrait") as AdFormat}
question="Dog owners at bedtime: which one is yours?"
highlight="which one is yours?"
options={["Circles five times", "Steals your pillow", "Sleeps on cold tiles"]}
letters={["A", "B", "C"]}
support="Beds from $89 · free shipping"
cue="Take the 30-second quiz"
product={slot("product", __studioImage95c48e92)}
productAlt="A round grey bolster dog bed with a small terrier asleep in it"
logo={slot("logo", mossgroveLogo)}
brand="Mossgrove Pet Co."
/>
)
}
| Name | Type | Details |
|---|---|---|
format OptionalQuizBedtimeTiles |
AdFormat |
Default "portrait"
|
question OptionalQuizBedtimeTiles |
string |
Default "Which one sounds like you?"
|
highlight OptionalQuizBedtimeTiles |
string |
Default ""
|
options OptionalQuizBedtimeTiles |
string[] |
Default ["The first answer", "The second answer", "The third answer"]
|
letters OptionalQuizBedtimeTiles |
string[] |
Default ["A", "B", "C"]
|
support OptionalQuizBedtimeTiles |
string |
Default ""
|
cue OptionalQuizBedtimeTiles |
string |
Default "Take the quiz"
|
cueNote OptionalQuizBedtimeTiles |
string |
Default ""
|
product OptionalQuizBedtimeTiles |
string |
Default ""
|
productAlt OptionalQuizBedtimeTiles |
string |
Default "The product"
|
logo OptionalQuizBedtimeTiles |
string |
Default ""
|
brand OptionalQuizBedtimeTiles |
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.
--marker- The highlighter colour behind key phrases.
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).
-
ef4d464194adb4cd.webp
image/webp · 280 KB