Property Listing 1
Property listing bento: unequal photo tiles sell the house, a hang-tag price and bold specs answer the facts, and the neighbourhood and agent tiles close on 'Book a viewing'. Any photo opens a full-screen gallery.
Use it in a prompt
Use offer/property-listing 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/offer/property-listing.tsx. - Import it and pass your copy and images (Props tab):
import { PropertyListing } from "@/components/funneldna/offer/property-listing"
It restyles from the theme tokens on any wrapper (Theme tab). The specimen source is a complete working example.
pieces/offer/property-listing/component.tsx 726 lines
// layout: bento-grid
// Property listing bento: unequal photo tiles sell the house, a hang-tag price and bold specs answer the facts, and the neighbourhood and agent tiles close on 'Book a viewing'. Any photo opens a full-screen gallery.
import * as React from 'react';
import { Bath, BedDouble, CalendarCheck, Car, Check, ChevronLeft, ChevronRight, Coffee, Expand, Images, MapPin, Phone, Ruler, School, ShoppingBasket, TrainFront, Trees, UtensilsCrossed, X } from 'lucide-react';
import type { LucideIcon } from 'lucide-react';
export type PropertyListingPhoto = {
src: string;
alt: string;
// Shown under the photo in the full-screen gallery.
caption?: string;
// CSS object-position for the tile crop, e.g. '50% 60%'.
position?: string;
};
export type PropertyListingSpec = {
// Supplied figure only, e.g. '3' or '1,480'.
value: string;
label: string;
icon?: 'bed' | 'bath' | 'area' | 'car' | 'garden';
};
export type PropertyListingPlace = {
name: string;
// e.g. '4 min walk'.
detail?: string;
icon?: 'park' | 'coffee' | 'school' | 'transit' | 'shop' | 'food' | 'place';
};
export type PropertyListingCopy = {
// Placeholders: {count}.
viewAll: string;
// Placeholders: {caption}.
openPhoto: string;
galleryLabel: string;
close: string;
prev: string;
next: string;
// Placeholders: {index}, {count}.
counter: string;
// Placeholders: {index}.
thumb: string;
// Screen-reader words before the struck and current price.
was: string;
now: string;
};
export type PropertyListingProps = {
// Future-pacing headline (h2).
headline?: string;
// Phrase inside the headline set in the accent colour.
highlight?: string;
address?: string;
propertyType?: string;
// One-sentence future-pacing lines.
story?: string[];
// The single-word line that lands the story, e.g. 'Home.'
punch?: string;
// photos[0] is the dominant tile; photos[1] and [2] fill the smaller tiles; the rest live in the gallery.
photos?: PropertyListingPhoto[];
priceLabel?: string;
price?: string;
// Earlier asking price, struck through on the tag. Only when supplied.
wasPrice?: string;
specs?: PropertyListingSpec[];
availability?: string;
areaTitle?: string;
// Supplied neighbourhood illustration; the themed map drawing shows when absent.
areaImage?: string;
areaImageAlt?: string;
nearby?: PropertyListingPlace[];
agentName?: string;
agentRole?: string;
// presenter slot.
agentImage?: string;
agentNote?: string;
agentPhone?: string;
// What the viewing covers.
viewingPoints?: string[];
actionLabel?: string;
actionNote?: string;
href?: string;
onAction?: () => void;
disabled?: boolean;
state?: 'default' | 'hover' | 'active' | 'disabled';
copy?: Partial<PropertyListingCopy>;
className?: string;
};
const DEFAULT_COPY: PropertyListingCopy = {
viewAll: 'View all {count} photos',
openPhoto: 'Open photo: {caption}',
galleryLabel: 'Photo gallery',
close: 'Close gallery',
prev: 'Previous photo',
next: 'Next photo',
counter: '{index} of {count}',
thumb: 'Show photo {index}',
was: 'Was',
now: 'Now',
};
const SPEC_ICONS: Record<NonNullable<PropertyListingSpec['icon']>, LucideIcon> = {
bed: BedDouble,
bath: Bath,
area: Ruler,
car: Car,
garden: Trees,
};
const PLACE_ICONS: Record<NonNullable<PropertyListingPlace['icon']>, LucideIcon> = {
park: Trees,
coffee: Coffee,
school: School,
transit: TrainFront,
shop: ShoppingBasket,
food: UtensilsCrossed,
place: MapPin,
};
export function PropertyListing(props: PropertyListingProps) {
const {
headline = 'Picture your first Saturday here.',
highlight,
address,
propertyType,
story = [],
punch,
photos = [],
priceLabel = 'Asking price',
price,
wasPrice,
specs = [],
availability,
areaTitle = 'Everything you need, a short walk away',
areaImage,
areaImageAlt = '',
nearby = [],
agentName,
agentRole,
agentImage,
agentNote,
agentPhone,
viewingPoints = [],
actionLabel = 'Book a viewing',
actionNote = 'Pick a time that suits you.',
href,
onAction,
disabled,
state = 'default',
copy: copyIn,
className,
} = props;
const copy = { ...DEFAULT_COPY, ...copyIn };
const isDisabled = Boolean(disabled) || state === 'disabled';
const shown = Math.min(photos.length, 3);
const headingId = React.useId();
const [open, setOpen] = React.useState<number | null>(null);
const isOpen = open !== null;
const dialogRef = React.useRef<HTMLDivElement>(null);
const closeRef = React.useRef<HTMLButtonElement>(null);
const prevRef = React.useRef<HTMLButtonElement>(null);
const nextRef = React.useRef<HTMLButtonElement>(null);
const triggerRef = React.useRef<HTMLElement | null>(null);
const countRef = React.useRef(photos.length);
countRef.current = photos.length;
const swipe = React.useRef<{ x: number; y: number } | null>(null);
const go = React.useCallback((step: number) => {
setOpen((i) => (i === null ? i : Math.max(0, Math.min(countRef.current - 1, i + step))));
}, []);
const close = React.useCallback(() => setOpen(null), []);
const openAt = (i: number, el: HTMLElement) => {
triggerRef.current = el;
setOpen(i);
};
// Keyboard, focus trap and scroll lock while the gallery is open.
React.useEffect(() => {
if (!isOpen) return;
const root = dialogRef.current;
const html = document.documentElement;
const prevOverflow = html.style.overflow;
html.style.overflow = 'hidden';
closeRef.current?.focus();
const onKey = (e: KeyboardEvent) => {
if (e.key === 'Escape') {
e.preventDefault();
close();
} else if (e.key === 'ArrowRight') {
e.preventDefault();
go(1);
} else if (e.key === 'ArrowLeft') {
e.preventDefault();
go(-1);
} else if (e.key === 'Tab' && root) {
const items = Array.from(root.querySelectorAll<HTMLElement>('button:not([disabled]), [href]'));
if (!items.length) return;
const first = items[0];
const last = items[items.length - 1];
const active = document.activeElement;
if (e.shiftKey && (active === first || !root.contains(active))) {
e.preventDefault();
last.focus();
} else if (!e.shiftKey && (active === last || !root.contains(active))) {
e.preventDefault();
first.focus();
}
}
};
document.addEventListener('keydown', onKey);
return () => {
document.removeEventListener('keydown', onKey);
html.style.overflow = prevOverflow;
triggerRef.current?.focus();
};
}, [isOpen, close, go]);
// Keep focus inside when a nav button disables at either end.
React.useEffect(() => {
if (open === null) return;
const root = dialogRef.current;
if (!root) return;
const active = document.activeElement as HTMLButtonElement | null;
if (active && root.contains(active) && !active.disabled) return;
const target = open === 0 ? nextRef.current : prevRef.current;
if (target && !target.disabled) target.focus();
else closeRef.current?.focus();
}, [open]);
const onPointerDown = (e: React.PointerEvent) => {
swipe.current = { x: e.clientX, y: e.clientY };
};
const onPointerUp = (e: React.PointerEvent) => {
const start = swipe.current;
swipe.current = null;
if (!start) return;
const dx = e.clientX - start.x;
const dy = e.clientY - start.y;
if (Math.abs(dx) > 48 && Math.abs(dx) > Math.abs(dy) * 1.2) go(dx < 0 ? 1 : -1);
};
const hoverCls = state === 'hover' ? 'is-hover' : '';
const actionCls = (extra: string) =>
['pl-btn', extra, hoverCls, state === 'active' ? 'is-active' : ''].filter(Boolean).join(' ');
const renderAction = (extra: string) =>
href && !isDisabled ? (
<a className={actionCls(extra)} href={href} onClick={onAction ? () => onAction() : undefined}>
{actionLabel}
</a>
) : (
<button type='button' className={actionCls(extra)} disabled={isDisabled} onClick={() => onAction?.()}>
{actionLabel}
</button>
);
const photoTile = (i: number, cls: string, delay: number) => {
const p = photos[i];
if (!p) return null;
const hero = i === 0;
return (
<button
key={i}
type='button'
className={['pl-tile', 'pl-photo', cls, hoverCls].filter(Boolean).join(' ')}
style={{ '--i': delay } as React.CSSProperties}
aria-haspopup='dialog'
aria-label={fill(copy.openPhoto, { caption: p.caption || p.alt })}
onClick={(e) => openAt(i, e.currentTarget)}
>
<img
src={p.src}
alt={p.alt}
width={1024}
height={1024}
loading={hero ? 'eager' : 'lazy'}
decoding='async'
draggable={false}
style={p.position ? { objectPosition: p.position } : undefined}
/>
{hero && photos.length > 1 ? (
<span className='pl-pill'>
<Images size={16} strokeWidth={2.5} aria-hidden='true' />
{fill(copy.viewAll, { count: photos.length })}
</span>
) : (
<span className='pl-expand' aria-hidden='true'>
<Expand size={18} strokeWidth={2.5} />
</span>
)}
</button>
);
};
const current = open !== null ? photos[open] : undefined;
const hasWho = Boolean(agentName || agentNote || agentPhone || viewingPoints.length);
return (
<section className={['cf-property-listing', className].filter(Boolean).join(' ')} aria-labelledby={headingId}>
<style>{CSS}</style>
<div className='pl-wrap'>
<div className={'pl-grid n' + shown}>
<div className='pl-tile pl-promise' style={{ '--i': 0 } as React.CSSProperties}>
<h2 id={headingId} className='pl-h2'>
<Emphasis text={headline} phrase={highlight} />
</h2>
{address || propertyType ? (
<p className='pl-address'>
<MapPin className='pl-addr-ico' size={18} strokeWidth={2.5} aria-hidden='true' />
<span className='pl-addr-text'>
{address ? <span className='pl-addr-line'>{address}</span> : null}
{propertyType ? <span className='pl-type'>{propertyType}</span> : null}
</span>
</p>
) : null}
{story.length ? (
<div className='pl-story'>
{story.map((line, i) => (
<p key={i}>{line}</p>
))}
</div>
) : null}
{punch ? <p className='pl-punch'>{punch}</p> : null}
</div>
{photoTile(0, 'pl-hero', 1)}
<div className={'pl-tile pl-specs' + (price ? ' has-tag' : '')} style={{ '--i': 2 } as React.CSSProperties}>
{price ? (
<div className='pl-tag-wrap'>
<div className='pl-tag'>
<span className='pl-tag-hole' aria-hidden='true' />
<p className='pl-tag-label'>{priceLabel}</p>
{wasPrice ? (
<p className='pl-was'>
<span className='pl-sr'>{copy.was} </span>
<s>{wasPrice}</s>
</p>
) : null}
<p className='pl-price'>
{wasPrice ? <span className='pl-sr'>{copy.now} </span> : null}
{price}
</p>
</div>
</div>
) : null}
{specs.length ? (
<ul className='pl-stats'>
{specs.map((s, i) => {
const Icon = s.icon ? SPEC_ICONS[s.icon] : null;
return (
<li key={i}>
{Icon ? <Icon className='pl-stat-ico' size={20} strokeWidth={2.5} aria-hidden='true' /> : null}
<span className='pl-stat-v'>{s.value}</span>
<span className='pl-stat-l'>{s.label}</span>
</li>
);
})}
</ul>
) : null}
{availability ? (
<p className='pl-avail'>
<CalendarCheck className='pl-i' size={18} strokeWidth={2.5} aria-hidden='true' />
{availability}
</p>
) : null}
</div>
{photoTile(1, 'pl-p2', 3)}
{photoTile(2, 'pl-p3', 3)}
<div className='pl-tile pl-area' style={{ '--i': 4 } as React.CSSProperties}>
<div className='pl-area-in'>
<div className='pl-map'>
{areaImage ? <img src={areaImage} alt={areaImageAlt} loading='lazy' decoding='async' /> : <AreaMap />}
</div>
<div>
<h3 className='pl-h3'>{areaTitle}</h3>
{nearby.length ? (
<ul className='pl-places'>
{nearby.map((p, i) => {
const Icon = PLACE_ICONS[p.icon ?? 'place'];
return (
<li key={i}>
<span className='pl-disc' aria-hidden='true'>
<Icon size={20} strokeWidth={2.5} />
</span>
<span>
<span className='pl-place-n'>{p.name}</span>
{p.detail ? <span className='pl-place-d'>{p.detail}</span> : null}
</span>
</li>
);
})}
</ul>
) : null}
</div>
</div>
</div>
<div className='pl-tile pl-agent' style={{ '--i': 4 } as React.CSSProperties}>
<div className='pl-agent-in'>
{hasWho ? (
<div className='pl-who'>
{agentName ? (
<div className='pl-person'>
{agentImage ? (
<img className='pl-avatar' src={agentImage} alt={agentName} width={72} height={72} loading='lazy' />
) : (
<span className='pl-avatar pl-mono' aria-hidden='true'>
{initials(agentName)}
</span>
)}
<div>
<h3 className='pl-h3'>{agentName}</h3>
{agentRole ? <p className='pl-role'>{agentRole}</p> : null}
</div>
</div>
) : null}
{agentNote ? <p className='pl-note'>{agentNote}</p> : null}
{agentPhone ? (
<a className='pl-link' href={'tel:' + agentPhone.replace(/[^0-9+]/g, '')}>
<Phone className='pl-i' size={16} strokeWidth={2.5} aria-hidden='true' />
{agentPhone}
</a>
) : null}
{viewingPoints.length ? (
<ul className='pl-points'>
{viewingPoints.map((pt, i) => (
<li key={i}>
<Check className='pl-tick' size={18} strokeWidth={2.5} aria-hidden='true' />
<span>{pt}</span>
</li>
))}
</ul>
) : null}
</div>
) : null}
<div className='pl-action'>
{renderAction('')}
{actionNote ? <p className='pl-action-note'>{actionNote}</p> : null}
</div>
</div>
</div>
</div>
<div className='pl-bar'>
{price || address ? (
<div className='pl-bar-info'>
{price ? <span className='pl-bar-price'>{price}</span> : null}
{address ? <span className='pl-bar-sub'>{address}</span> : null}
</div>
) : null}
{renderAction('pl-btn-bar')}
</div>
</div>
{open !== null && current ? (
<div className='pl-gallery' role='dialog' aria-modal='true' aria-label={copy.galleryLabel} ref={dialogRef}>
<div className='pl-g-top'>
<p className='pl-g-count' aria-live='polite'>
{fill(copy.counter, { index: open + 1, count: photos.length })}
</p>
<button ref={closeRef} type='button' className='pl-g-btn' onClick={close} aria-label={copy.close}>
<X size={20} strokeWidth={2.5} aria-hidden='true' />
</button>
</div>
<div className='pl-g-stage'>
<button ref={prevRef} type='button' className='pl-g-btn pl-g-prev' disabled={open === 0} aria-label={copy.prev} onClick={() => go(-1)}>
<ChevronLeft size={24} strokeWidth={2.5} aria-hidden='true' />
</button>
<figure className='pl-g-fig' onPointerDown={onPointerDown} onPointerUp={onPointerUp} onPointerCancel={() => (swipe.current = null)}>
<img key={open} className='pl-g-img' src={current.src} alt={current.alt} draggable={false} />
{current.caption ? <figcaption className='pl-g-cap'>{current.caption}</figcaption> : null}
</figure>
<button ref={nextRef} type='button' className='pl-g-btn pl-g-next' disabled={open === photos.length - 1} aria-label={copy.next} onClick={() => go(1)}>
<ChevronRight size={24} strokeWidth={2.5} aria-hidden='true' />
</button>
</div>
{photos.length > 1 ? (
<div className='pl-g-thumbs'>
{photos.map((p, i) => (
<button
key={i}
type='button'
className='pl-g-thumb'
aria-label={fill(copy.thumb, { index: i + 1 })}
aria-current={i === open ? 'true' : undefined}
onClick={() => setOpen(i)}
>
<img src={p.src} alt='' draggable={false} />
</button>
))}
</div>
) : null}
</div>
) : null}
</section>
);
}
export default PropertyListing;
function fill(template: string, vars: Record<string, string | number>) {
return template.replace(/[{]([a-zA-Z]+)[}]/g, (m, k: string) => (k in vars ? String(vars[k]) : m));
}
function initials(name: string) {
return name
.split(' ')
.filter(Boolean)
.slice(0, 2)
.map((w) => w.charAt(0).toUpperCase())
.join('');
}
function Emphasis({ text, phrase }: { text: string; phrase?: string }) {
if (!phrase) return <>{text}</>;
const at = text.indexOf(phrase);
if (at < 0) return <>{text}</>;
return (
<>
{text.slice(0, at)}
<span className='pl-em'>{phrase}</span>
{text.slice(at + phrase.length)}
</>
);
}
// Themed neighbourhood drawing (streets, a common, a river); no pins, the list beside it names the places.
function AreaMap() {
const cols = [8, 80, 152, 224, 296, 368];
const rows = [6, 60, 114, 178, 232, 286];
const inPark = (c: number, r: number) => (c === 2 || c === 3) && (r === 1 || r === 2);
const trees: [number, number][] = [
[172, 80], [196, 94], [220, 78], [248, 90], [270, 76], [178, 124], [204, 140], [236, 126], [264, 142], [228, 104],
];
return (
<svg viewBox='0 0 400 300' preserveAspectRatio='xMidYMid slice' aria-hidden='true' focusable='false'>
<rect className='m-ground' width='400' height='300' />
{rows.map((y, r) =>
cols.map((x, c) =>
inPark(c, r) ? null : (
<rect key={r + '-' + c} className={(r + c) % 3 === 0 ? 'm-block m-block-2' : 'm-block'} x={x} y={y} width='64' height='46' rx='6' />
),
),
)}
<rect className='m-park' x='152' y='60' width='136' height='100' rx='14' />
{trees.map(([cx, cy], i) => (
<circle key={i} className='m-tree' cx={cx} cy={cy} r='7' />
))}
<path className='m-river' d='M-10 242 C 70 212, 140 288, 220 256 C 300 224, 350 218, 410 246 L 410 268 C 350 240, 300 246, 220 278 C 140 310, 70 234, -10 264 Z' />
</svg>
);
}
const CSS = `
.cf-property-listing{--pl-radius:var(--card-radius,var(--radius,14px));--pl-gap:clamp(10px,1.1vw,14px);--pl-pad:clamp(20px,3vw,32px);--pl-focus:var(--field-focus,var(--accent));--pl-shadow:var(--shadow,oklch(0.22 0.03 260));--pl-sh-sm:var(--shadow-sm,0 1px 1px oklch(from var(--pl-shadow) l c h / .18),0 1px 3px oklch(from var(--pl-shadow) l c h / .14));--pl-sh-md:var(--shadow-md,0 1px 2px oklch(from var(--pl-shadow) l c h / .22),0 4px 10px -2px oklch(from var(--pl-shadow) l c h / .2));--pl-sh-lg:var(--shadow-lg,0 2px 4px oklch(from var(--pl-shadow) l c h / .22),0 12px 24px -8px oklch(from var(--pl-shadow) l c h / .32));position:relative;background:var(--surface);color:var(--ink);font-family:var(--font-body);font-size:clamp(1.0625rem,1.25vw,1.125rem);line-height:1.5;padding:clamp(56px,8vw,112px) clamp(16px,5vw,48px) clamp(64px,8.5vw,120px)}
.cf-property-listing *,.cf-property-listing *::before,.cf-property-listing *::after{box-sizing:border-box}
.cf-property-listing .pl-wrap{max-width:1120px;margin:0 auto}
.cf-property-listing .pl-sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.cf-property-listing .pl-i{display:inline-block;vertical-align:-.15em;margin-inline-end:.4em;flex:none}
.cf-property-listing .pl-grid{display:grid;gap:var(--pl-gap);grid-template-columns:repeat(6,minmax(0,1fr))}
.cf-property-listing .pl-grid.n3{grid-template-areas:'promise promise hero hero hero hero' 'specs specs hero hero hero hero' 'p2 p2 p3 p3 agent agent' 'area area area area agent agent'}
.cf-property-listing .pl-grid.n2{grid-template-areas:'promise promise hero hero hero hero' 'specs specs hero hero hero hero' 'p2 p2 p2 p2 agent agent' 'area area area area agent agent'}
.cf-property-listing .pl-grid.n1{grid-template-areas:'promise promise hero hero hero hero' 'specs specs hero hero hero hero' 'area area area area agent agent'}
.cf-property-listing .pl-grid.n0{grid-template-areas:'promise promise promise specs specs specs' 'area area area area agent agent'}
.cf-property-listing .pl-promise{grid-area:promise}
.cf-property-listing .pl-hero{grid-area:hero;min-height:520px}
.cf-property-listing .pl-specs{grid-area:specs}
.cf-property-listing .pl-p2{grid-area:p2}
.cf-property-listing .pl-p3{grid-area:p3}
.cf-property-listing .pl-area{grid-area:area}
.cf-property-listing .pl-agent{grid-area:agent}
.cf-property-listing .pl-tile{position:relative;min-width:0;border-radius:var(--pl-radius);animation:pl-rise .45s cubic-bezier(.2,.7,.2,1) both;animation-delay:calc(var(--i,0) * .07s)}
.cf-property-listing .pl-promise{display:flex;flex-direction:column;padding:var(--pl-pad);background:color-mix(in oklch,var(--ink) 4%,var(--surface));border:1px solid oklch(from var(--ink) l c h / .06)}
.cf-property-listing .pl-h2{margin:0 0 14px;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(2rem,2.6vw,2.5rem);line-height:1.06;text-wrap:balance;color:var(--ink)}
.cf-property-listing .pl-em{color:var(--accent)}
.cf-property-listing .pl-address{margin:0;display:grid;grid-template-columns:18px minmax(0,1fr);gap:0 8px;align-items:start;font-weight:700;line-height:1.4}
.cf-property-listing .pl-addr-ico{margin-top:.2em;color:var(--accent)}
.cf-property-listing .pl-addr-text{display:grid;gap:2px;min-width:0}
.cf-property-listing .pl-addr-line{text-wrap:pretty}
.cf-property-listing .pl-type{display:block;font-size:.9375rem;font-weight:500;color:var(--muted);text-wrap:pretty}
.cf-property-listing .pl-story{margin-top:24px;display:grid;gap:8px}
.cf-property-listing .pl-story p{margin:0;line-height:1.45;text-wrap:pretty}
.cf-property-listing .pl-punch{margin:auto 0 0;padding-top:20px;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(2rem,3vw,2.75rem);line-height:1;color:var(--ink)}
.cf-property-listing .pl-photo{display:block;width:100%;min-height:240px;margin:0;padding:0;border:0;overflow:hidden;cursor:zoom-in;background:color-mix(in oklch,var(--ink) 8%,var(--surface));color:var(--ink);font:inherit;text-align:left;isolation:isolate;-webkit-tap-highlight-color:transparent;transition:transform .16s ease}
.cf-property-listing .pl-photo img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:50% 50%;transition:transform .5s cubic-bezier(.2,.7,.2,1)}
.cf-property-listing .pl-photo:hover img,.cf-property-listing .pl-photo.is-hover img{transform:scale(1.035)}
.cf-property-listing .pl-photo:active{transform:scale(.992)}
.cf-property-listing .pl-photo:focus-visible{outline:3px solid var(--pl-focus);outline-offset:3px}
.cf-property-listing .pl-pill{position:absolute;z-index:1;top:14px;right:14px;display:inline-flex;align-items:center;gap:8px;min-height:32px;padding:4px 12px;border-radius:999px;background:var(--card);color:var(--ink);font-size:.875rem;line-height:1.2;font-weight:800;white-space:nowrap;box-shadow:var(--pl-sh-sm);transition:transform .16s ease}
.cf-property-listing .pl-photo:hover .pl-pill,.cf-property-listing .pl-photo.is-hover .pl-pill{transform:translateY(-1px)}
.cf-property-listing .pl-expand{position:absolute;z-index:1;top:12px;right:12px;width:40px;height:40px;display:grid;place-items:center;border-radius:999px;background:var(--card);color:var(--ink);box-shadow:var(--pl-sh-sm);opacity:0;transform:translateY(-4px);transition:opacity .16s ease,transform .16s ease}
.cf-property-listing .pl-photo:hover .pl-expand,.cf-property-listing .pl-photo:focus-visible .pl-expand,.cf-property-listing .pl-photo.is-hover .pl-expand{opacity:1;transform:none}
@media (hover:none){.cf-property-listing .pl-expand{opacity:1;transform:none}}
.cf-property-listing .pl-specs{display:flex;flex-direction:column;padding:var(--pl-pad);overflow:hidden;background:var(--band);color:var(--band-ink);box-shadow:var(--pl-sh-md)}
.cf-property-listing .pl-specs.has-tag{padding-top:0}
.cf-property-listing .pl-tag-wrap{position:relative;align-self:flex-start;padding-top:28px;margin-inline-start:6px;filter:drop-shadow(0 2px 2px oklch(from var(--pl-shadow) calc(l - .05) c h / .4)) drop-shadow(0 10px 12px oklch(from var(--pl-shadow) l c h / .3))}
.cf-property-listing .pl-tag-wrap::before{content:'';position:absolute;z-index:2;left:50%;top:0;width:2px;height:46px;margin-left:-1px;border-radius:2px;background:color-mix(in oklch,var(--band-ink) 70%,var(--band))}
.cf-property-listing .pl-tag{position:relative;z-index:1;min-width:212px;padding:34px 24px 20px;text-align:center;background:var(--card);color:var(--ink);border-radius:0 0 12px 12px;clip-path:polygon(24px 0,calc(100% - 24px) 0,100% 24px,100% 100%,0 100%,0 24px);transform:rotate(-2.5deg);transform-origin:50% 18px}
.cf-property-listing .pl-tag-hole{position:absolute;top:12px;left:50%;width:12px;height:12px;margin-left:-6px;border-radius:50%;background:var(--band);box-shadow:inset 0 1px 2px oklch(from var(--pl-shadow) l c h / .55)}
.cf-property-listing .pl-tag-label{margin:0 0 8px;font-size:.875rem;line-height:1.2;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.cf-property-listing .pl-was{margin:0 0 12px;font-size:1.0625rem;line-height:1.2;font-weight:700;color:var(--muted);font-variant-numeric:tabular-nums}
.cf-property-listing .pl-was s{position:relative;display:inline-block;padding:0 4px;text-decoration:none}
.cf-property-listing .pl-was s::after{content:'';position:absolute;left:-2px;right:-2px;top:50%;height:.2em;margin-top:-.1em;border-radius:.2em;background:var(--danger);opacity:.88;transform:rotate(-7deg)}
.cf-property-listing .pl-price{margin:0;font-family:var(--font-display);font-weight:var(--display-weight,800);letter-spacing:-.03em;font-size:clamp(2.25rem,3.3vw,3.125rem);line-height:1;font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--ink)}
.cf-property-listing .pl-stats{list-style:none;margin:28px 0 24px;padding:0;display:flex;flex-wrap:wrap;justify-content:space-between;gap:20px 24px}
.cf-property-listing .pl-stats li{display:flex;flex-direction:column;gap:0;min-width:0}
.cf-property-listing .pl-stat-ico{margin-bottom:12px;color:color-mix(in oklch,var(--band-ink) 80%,var(--band))}
.cf-property-listing .pl-stat-v{margin-bottom:12px;font-family:var(--font-display);font-weight:var(--display-weight,800);letter-spacing:-.03em;font-size:clamp(2rem,2.6vw,2.5rem);line-height:1;font-variant-numeric:tabular-nums}
.cf-property-listing .pl-stat-l{font-size:.9375rem;line-height:1.4;font-weight:600;color:color-mix(in oklch,var(--band-ink) 84%,var(--band))}
.cf-property-listing .pl-avail{margin:auto 0 0;padding-top:16px;border-top:1px solid oklch(from var(--band-ink) l c h / .16);font-size:.9375rem;line-height:1.4;font-weight:600;text-wrap:pretty}
.cf-property-listing .pl-area{padding:var(--pl-pad);background:var(--card);color:var(--ink);border:1px solid var(--card-border,oklch(from var(--ink) l c h / .12));box-shadow:var(--card-shadow,var(--pl-sh-md));container-type:inline-size}
.cf-property-listing .pl-area-in{display:grid;gap:20px}
@container (min-width:560px){.cf-property-listing .pl-area-in{grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:32px;align-items:stretch}.cf-property-listing .pl-area-in .pl-map{aspect-ratio:auto;min-height:240px}}
.cf-property-listing .pl-map{position:relative;aspect-ratio:3/2;border-radius:10px;overflow:hidden;background:color-mix(in oklch,var(--ink) 5%,var(--card))}
.cf-property-listing .pl-map svg,.cf-property-listing .pl-map img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover}
.cf-property-listing .pl-map .m-ground{fill:var(--card)}
.cf-property-listing .pl-map .m-block{fill:color-mix(in oklch,var(--ink) 9%,var(--card))}
.cf-property-listing .pl-map .m-block-2{fill:color-mix(in oklch,var(--ink) 14%,var(--card))}
.cf-property-listing .pl-map .m-park{fill:color-mix(in oklch,var(--success) 24%,var(--card))}
.cf-property-listing .pl-map .m-tree{fill:color-mix(in oklch,var(--success) 52%,var(--card))}
.cf-property-listing .pl-map .m-river{fill:color-mix(in oklch,var(--accent-fill,var(--accent)) 34%,var(--card))}
.cf-property-listing .pl-h3{margin:0 0 16px;font-family:var(--font-display);font-weight:var(--display-weight,800);letter-spacing:-.01em;text-transform:var(--display-case,none);font-size:clamp(1.3125rem,1.8vw,1.625rem);line-height:1.15;text-wrap:balance;color:var(--ink)}
.cf-property-listing .pl-places{list-style:none;margin:0;padding:0;display:grid;gap:12px}
.cf-property-listing .pl-places li{display:grid;grid-template-columns:40px minmax(0,1fr);gap:12px;align-items:center}
.cf-property-listing .pl-disc{width:40px;height:40px;display:grid;place-items:center;border-radius:999px;background:color-mix(in oklch,var(--ink) 6%,var(--card));color:var(--accent)}
.cf-property-listing .pl-place-n{display:block;font-weight:700;line-height:1.3}
.cf-property-listing .pl-place-d{display:block;font-size:.9375rem;line-height:1.4;color:var(--muted)}
.cf-property-listing .pl-agent{padding:var(--pl-pad);background:var(--card);color:var(--ink);border:1px solid color-mix(in oklch,var(--accent) 34%,var(--card));box-shadow:var(--pl-sh-lg);container-type:inline-size}
.cf-property-listing .pl-agent-in{display:flex;flex-direction:column;gap:24px;height:100%}
@container (min-width:600px){.cf-property-listing .pl-agent-in{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,320px);gap:32px;align-items:end}}
.cf-property-listing .pl-person{display:grid;grid-template-columns:auto minmax(0,1fr);gap:16px;align-items:center}
.cf-property-listing .pl-person .pl-h3{margin:0 0 4px}
.cf-property-listing .pl-avatar{display:block;width:72px;height:72px;border-radius:999px;object-fit:cover;object-position:50% 30%}
.cf-property-listing .pl-mono{display:grid;place-items:center;background:var(--accent-fill,var(--accent));color:var(--accent-fill-ink,var(--card));font-family:var(--font-display);font-weight:800;font-size:1.5rem;letter-spacing:-.02em}
.cf-property-listing .pl-role{margin:0;font-size:.9375rem;line-height:1.4;font-weight:500;color:var(--muted)}
.cf-property-listing .pl-note{margin:16px 0 0;line-height:1.5;text-wrap:pretty}
.cf-property-listing .pl-link{display:inline-block;margin-top:12px;font-weight:700;color:var(--link,var(--accent));text-decoration:underline;text-decoration-color:oklch(from var(--link,var(--accent)) l c h / .45);text-underline-offset:.18em}
.cf-property-listing .pl-link:hover{color:oklch(from var(--link,var(--accent)) calc(l - .08) c h);text-decoration-color:currentColor}
.cf-property-listing .pl-link:focus-visible{outline:3px solid var(--pl-focus);outline-offset:2px;border-radius:4px}
.cf-property-listing .pl-points{list-style:none;margin:20px 0 0;padding:20px 0 0;border-top:1px solid oklch(from var(--ink) l c h / .1);display:grid;gap:10px}
.cf-property-listing .pl-points li{display:grid;grid-template-columns:18px minmax(0,1fr);gap:10px;align-items:start;font-size:1rem;line-height:1.4;font-weight:500;text-wrap:pretty}
.cf-property-listing .pl-tick{margin-top:2px;color:var(--success)}
.cf-property-listing .pl-action{margin-top:auto}
.cf-property-listing .pl-action-note{margin:12px 0 0;text-align:center;font-size:.9375rem;line-height:1.4;font-weight:500;color:var(--muted);text-wrap:pretty}
.cf-property-listing .pl-btn{--pl-b:var(--button-bg,var(--cta));--pl-b2:var(--button-bg-2,var(--cta-2));display:inline-flex;align-items:center;justify-content:center;width:100%;min-height:64px;margin:0;padding:0 28px;border:0;border-radius:var(--button-radius,var(--radius,12px));cursor:pointer;text-decoration:none;white-space:nowrap;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;color:var(--button-ink,var(--cta-ink));text-shadow:var(--button-text-shadow,none);background:linear-gradient(oklch(from var(--pl-b) calc(l + .04) c h),oklch(from var(--pl-b2) calc(l - .02) c h));box-shadow:var(--button-shadow,inset 0 1px 0 oklch(from var(--pl-b) calc(l + .14) c h / .7),inset 0 -3px 0 oklch(from var(--pl-b) calc(l - .16) c h),0 1px 2px oklch(from var(--pl-shadow) l c h / .3),0 8px 16px -6px oklch(from var(--pl-shadow) l c h / .45));transition:transform .16s ease,box-shadow .16s ease,background .16s ease}
.cf-property-listing .pl-btn:hover:not(:disabled),.cf-property-listing .pl-btn.is-hover:not(:disabled){background:linear-gradient(oklch(from var(--pl-b) calc(l - .01) c h),oklch(from var(--pl-b2) calc(l - .07) c h));box-shadow:var(--button-shadow,inset 0 1px 0 oklch(from var(--pl-b) calc(l + .1) c h / .6),inset 0 -3px 0 oklch(from var(--pl-b) calc(l - .2) c h),0 1px 2px oklch(from var(--pl-shadow) l c h / .34),0 10px 18px -6px oklch(from var(--pl-shadow) l c h / .52))}
.cf-property-listing .pl-btn:active:not(:disabled),.cf-property-listing .pl-btn.is-active:not(:disabled){transform:translateY(1px);background:linear-gradient(oklch(from var(--pl-b) calc(l - .05) c h),oklch(from var(--pl-b2) calc(l - .09) c h));box-shadow:inset 0 2px 4px oklch(from var(--pl-b) calc(l - .24) c h / .55),inset 0 -2px 0 oklch(from var(--pl-b) calc(l - .16) c h),0 1px 1px oklch(from var(--pl-shadow) l c h / .3)}
.cf-property-listing .pl-btn:focus-visible{outline:3px solid var(--pl-focus);outline-offset:3px}
.cf-property-listing .pl-btn:disabled{cursor:not-allowed;color:var(--secondary-ink);background:var(--secondary);text-shadow:none;box-shadow:none}
.cf-property-listing .pl-btn.pl-btn-bar{width:auto;flex:none;min-height:56px;padding:0 20px;font-size:1.125rem}
.cf-property-listing .pl-bar{display:none}
.cf-property-listing .pl-bar-info{display:grid;min-width:0}
.cf-property-listing .pl-bar-price{font-family:var(--font-display);font-weight:var(--display-weight,800);font-size:1.375rem;line-height:1.15;letter-spacing:-.02em;font-variant-numeric:tabular-nums;color:var(--ink)}
.cf-property-listing .pl-bar-sub{font-size:.875rem;line-height:1.3;font-weight:600;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cf-property-listing .pl-gallery{position:fixed;inset:0;z-index:1000;display:grid;grid-template-rows:auto minmax(0,1fr) auto;gap:12px;padding:max(14px,env(safe-area-inset-top)) clamp(14px,4vw,40px) max(18px,env(safe-area-inset-bottom));background:oklch(from var(--band) calc(l - .1) c h / .97);color:var(--band-ink);font-family:var(--font-body);animation:pl-fade .24s ease both}
.cf-property-listing .pl-g-top{display:flex;align-items:center;justify-content:space-between;gap:16px}
.cf-property-listing .pl-g-count{margin:0;font-size:.9375rem;line-height:1.4;font-weight:700;font-variant-numeric:tabular-nums}
.cf-property-listing .pl-g-btn{flex:none;width:52px;height:52px;display:grid;place-items:center;padding:0;border-radius:999px;border:1px solid oklch(from var(--band-ink) l c h / .22);background:oklch(from var(--band-ink) l c h / .1);color:var(--band-ink);cursor:pointer;transition:background .16s ease,transform .16s ease,opacity .16s ease}
.cf-property-listing .pl-g-btn:hover:not(:disabled){background:oklch(from var(--band-ink) l c h / .2)}
.cf-property-listing .pl-g-btn:active:not(:disabled){transform:scale(.95)}
.cf-property-listing .pl-g-btn:focus-visible{outline:3px solid var(--band-ink);outline-offset:3px}
.cf-property-listing .pl-g-btn:disabled{opacity:.34;cursor:not-allowed}
.cf-property-listing .pl-g-stage{display:grid;grid-template-columns:52px minmax(0,1fr) 52px;grid-template-rows:minmax(0,1fr);grid-template-areas:'prev fig next';align-items:center;gap:16px;min-height:0}
.cf-property-listing .pl-g-prev{grid-area:prev}
.cf-property-listing .pl-g-next{grid-area:next}
.cf-property-listing .pl-g-fig{grid-area:fig;margin:0;height:100%;min-height:0;display:grid;grid-template-rows:minmax(0,1fr) auto;gap:12px;justify-items:center;touch-action:pan-y;user-select:none}
.cf-property-listing .pl-g-img{display:block;max-width:100%;max-height:100%;min-height:0;align-self:center;object-fit:contain;border-radius:12px;animation:pl-fade .28s ease both}
.cf-property-listing .pl-g-cap{margin:0;font-size:1.0625rem;line-height:1.4;font-weight:600;text-align:center;text-wrap:pretty}
.cf-property-listing .pl-g-thumbs{display:flex;gap:8px;justify-content:center;overflow-x:auto;padding:4px;scrollbar-width:none}
.cf-property-listing .pl-g-thumb{flex:none;width:68px;height:50px;padding:0;border-radius:8px;overflow:hidden;border:2px solid transparent;background:none;opacity:.55;cursor:pointer;transition:opacity .16s ease,border-color .16s ease}
.cf-property-listing .pl-g-thumb img{display:block;width:100%;height:100%;object-fit:cover}
.cf-property-listing .pl-g-thumb:hover{opacity:.85}
.cf-property-listing .pl-g-thumb[aria-current='true']{opacity:1;border-color:var(--band-ink)}
.cf-property-listing .pl-g-thumb:focus-visible{outline:3px solid var(--band-ink);outline-offset:2px}
@media (max-width:1000px){
.cf-property-listing .pl-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.cf-property-listing .pl-grid.n3{grid-template-areas:'hero hero' 'promise specs' 'p2 p3' 'area area' 'agent agent'}
.cf-property-listing .pl-grid.n2{grid-template-areas:'hero hero' 'promise specs' 'p2 p2' 'area area' 'agent agent'}
.cf-property-listing .pl-grid.n1{grid-template-areas:'hero hero' 'promise specs' 'area area' 'agent agent'}
.cf-property-listing .pl-grid.n0{grid-template-areas:'promise specs' 'area area' 'agent agent'}
.cf-property-listing .pl-hero{min-height:0;aspect-ratio:16/10}
.cf-property-listing .pl-p2,.cf-property-listing .pl-p3{min-height:0;aspect-ratio:4/3}
.cf-property-listing .pl-grid.n2 .pl-p2{aspect-ratio:16/9}
}
@media (max-width:640px){
.cf-property-listing .pl-grid.n3{grid-template-areas:'hero hero' 'specs specs' 'p2 p3' 'promise promise' 'area area' 'agent agent'}
.cf-property-listing .pl-grid.n2{grid-template-areas:'hero hero' 'specs specs' 'p2 p2' 'promise promise' 'area area' 'agent agent'}
.cf-property-listing .pl-grid.n1{grid-template-areas:'hero hero' 'specs specs' 'promise promise' 'area area' 'agent agent'}
.cf-property-listing .pl-grid.n0{grid-template-areas:'specs specs' 'promise promise' 'area area' 'agent agent'}
.cf-property-listing .pl-hero{aspect-ratio:5/4}
.cf-property-listing .pl-p2,.cf-property-listing .pl-p3{aspect-ratio:4/5}
.cf-property-listing .pl-grid.n2 .pl-p2{aspect-ratio:4/3}
.cf-property-listing .pl-agent .pl-action{display:none}
.cf-property-listing .pl-bar{display:flex;position:sticky;bottom:max(10px,env(safe-area-inset-bottom));z-index:5;margin-top:10px;align-items:center;justify-content:space-between;gap:12px;padding:10px 10px 10px 16px;background:var(--card);color:var(--ink);border:1px solid var(--card-border,oklch(from var(--ink) l c h / .12));border-radius:var(--pl-radius);box-shadow:var(--pl-sh-lg)}
.cf-property-listing .pl-g-stage{grid-template-columns:1fr 1fr;grid-template-rows:minmax(0,1fr) auto;grid-template-areas:'fig fig' 'prev next'}
.cf-property-listing .pl-g-prev{justify-self:start}
.cf-property-listing .pl-g-next{justify-self:end}
.cf-property-listing .pl-g-thumb{width:56px;height:42px}
}
@keyframes pl-rise{from{opacity:.82;translate:0 8px}to{opacity:1;translate:0 0}}
@keyframes pl-fade{from{opacity:0}to{opacity:1}}
@media (prefers-reduced-motion:reduce){
.cf-property-listing .pl-tile,.cf-property-listing .pl-gallery,.cf-property-listing .pl-g-img{animation:none}
.cf-property-listing .pl-photo,.cf-property-listing .pl-photo img,.cf-property-listing .pl-pill,.cf-property-listing .pl-expand,.cf-property-listing .pl-btn,.cf-property-listing .pl-g-btn,.cf-property-listing .pl-g-thumb{transition:none}
.cf-property-listing .pl-photo:hover img,.cf-property-listing .pl-photo.is-hover img{transform:none}
}
`;
pieces/offer/property-listing/specimen.tsx 67 lines
import __studioImage003723c6 from "../assets/8f2f64869cde1605.webp";
import __studioImage6a6ccad1 from "../assets/e5e8015ac4c73b51.webp";
import __studioImage1da79ba5 from "../assets/2dfb105bc2a3ad1f.webp";
// Specimen: 14 Alder Row, a fictional 3-bed townhouse in Fernhill, as a bento walk-through listing.
import * as React from 'react';
import { PropertyListing } from '../property-listing';
import { slot } from '../../slots';
export const states = ['default', 'hover', 'active', 'disabled'];
type SpecimenState = 'default' | 'hover' | 'active' | 'disabled';
export default function PropertyListingSpecimen({ state }: { state?: SpecimenState }) {
return (
<PropertyListing
state={state}
headline='Saturday coffee on the back deck.'
highlight='the back deck'
address='14 Alder Row, Fernhill'
propertyType='3-bedroom townhouse'
story={['Sun on the kitchen table by nine.', 'Bikes parked in the hall.', 'The common at the end of the road.']}
punch='Home.'
photos={[
{
src: slot('product', __studioImage003723c6),
alt: 'Front of 14 Alder Row: a three-storey brick townhouse with a black front door and a planted front garden',
caption: 'The front of the house, on a quiet tree-lined street',
position: '50% 55%',
},
{
src: slot('item-1', __studioImage6a6ccad1),
alt: 'Open-plan kitchen with oak cabinets and glass doors onto the back deck',
caption: 'Kitchen and dining, opening onto the deck',
},
{
src: slot('item-2', __studioImage1da79ba5),
alt: 'Two coffee cups on a small table on the wooden back deck, garden beyond',
caption: 'The back deck, Saturday morning',
},
]}
priceLabel='Asking price'
price='$685,000'
wasPrice='$710,000'
specs={[
{ value: '3', label: 'Bedrooms', icon: 'bed' },
{ value: '2.5', label: 'Bathrooms', icon: 'bath' },
{ value: '1,480', label: 'Sq ft', icon: 'area' },
]}
availability='Available now · Freehold'
areaTitle='Coffee, school and the common, all on foot'
nearby={[
{ name: 'Fernhill Common', detail: '3 min walk', icon: 'park' },
{ name: 'Alder & Oak Coffee', detail: '5 min walk', icon: 'coffee' },
{ name: 'Fernhill Primary School', detail: '6 min walk', icon: 'school' },
{ name: 'Fernhill Station', detail: '9 min walk', icon: 'transit' },
]}
agentName='Maya Okafor'
agentRole='Listing agent, Fernhill Homes'
agentImage={slot('presenter', '')}
agentNote='I’ll show you round myself. We start on the deck.'
agentPhone='(555) 014-2290'
viewingPoints={['Every room, the deck and the garden', 'Straight answers on bills and the street', 'Stay as long as you like']}
actionLabel='Book a viewing'
actionNote='Pick a time that suits you. About 30 minutes.'
/>
);
}
| Name | Type | Details |
|---|---|---|
headline OptionalPropertyListing |
string |
|
highlight OptionalPropertyListing |
string |
|
address OptionalPropertyListing |
string |
|
propertyType OptionalPropertyListing |
string |
|
story OptionalPropertyListing |
string[] |
|
punch OptionalPropertyListing |
string |
|
photos OptionalPropertyListing |
PropertyListingPhoto[] |
|
priceLabel OptionalPropertyListing |
string |
|
price OptionalPropertyListing |
string |
|
wasPrice OptionalPropertyListing |
string |
|
specs OptionalPropertyListing |
PropertyListingSpec[] |
|
availability OptionalPropertyListing |
string |
|
areaTitle OptionalPropertyListing |
string |
|
areaImage OptionalPropertyListing |
string |
|
areaImageAlt OptionalPropertyListing |
string |
|
nearby OptionalPropertyListing |
PropertyListingPlace[] |
|
agentName OptionalPropertyListing |
string |
|
agentRole OptionalPropertyListing |
string |
|
agentImage OptionalPropertyListing |
string |
|
agentNote OptionalPropertyListing |
string |
|
agentPhone OptionalPropertyListing |
string |
|
viewingPoints OptionalPropertyListing |
string[] |
|
actionLabel OptionalPropertyListing |
string |
|
actionNote OptionalPropertyListing |
string |
|
href OptionalPropertyListing |
string |
|
onAction OptionalPropertyListing |
() => void |
|
disabled OptionalPropertyListing |
boolean |
|
state OptionalPropertyListing |
'default' | 'hover' | 'active' | 'disabled' |
|
copy OptionalPropertyListing |
Partial<PropertyListingCopy> |
|
className OptionalPropertyListing |
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.
--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.
item-1- One image per offer item (item-1, item-2…), shown in stacks and lists.
item-2- One image per offer item (item-1, item-2…), shown in stacks and lists.
presenter- A photo of the host, coach or founder.
product- The main product shot or cover (ebook, kit, bottle).
-
2dfb105bc2a3ad1f.webp
image/webp · 79.4 KB
-
8f2f64869cde1605.webp
image/webp · 292 KB
-
e5e8015ac4c73b51.webp
image/webp · 108 KB