Join Community 1
Invites new buyers into the community from the thank-you page, so joining reads as the obvious next step.
Use it in a prompt
Use checkout/join-community 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/checkout/join-community.tsx. - Import it and pass your copy and images (Props tab):
import { JoinCommunity } from "@/components/funneldna/checkout/join-community"
It restyles from the theme tokens on any wrapper (Theme tab). The specimen source is a complete working example.
pieces/checkout/join-community/component.tsx 371 lines
// Invites new buyers into the community from the thank-you page, so joining reads as the obvious next step.
// layout: comparison-columns
// Thank-you page community invite: "on your own" versus "inside the community", with the one join button in the winning column so joining reads as the obvious next step.
import * as React from "react"
import { AlertCircle, Check, Loader2, Lock, MessageCircleQuestion, MessagesSquare, ShieldCheck, UserRound, X } from "lucide-react"
export type JoinCommunityRow = {
/** The struggle when working alone (shown with a cross). */
alone: string
/** What members get inside the group instead (shown with a tick). */
together: string
}
export type JoinCommunityProps = {
/** Headline before the highlighted phrase. */
headline?: string
/** Phrase that closes the headline, set on one marker stroke. */
headlineMark?: string
lead?: string
/** Title badge on the left column. */
aloneLabel?: string
aloneTitle?: string
/** Short line under the left title, mirroring the group's type line. */
aloneKind?: string
/** Quiet closing line under the crossed list. */
aloneFootnote?: string
/** Title badge on the winning column. */
groupLabel?: string
/** The supplied group or community name. */
groupName?: string
/** Platform or type line under the name, e.g. "Private Discord". */
groupKind?: string
/** Paired rows: the struggle alone and what the group gives instead. */
rows?: JoinCommunityRow[]
label?: string
/** One reassurance line under the button. */
sublabel?: string
loadingLabel?: string
errorMessage?: string
/** Screen-reader note added when the invite opens in a new tab. */
newTabLabel?: string
/** Transparent community illustration (slot: product). */
communityImage?: string
communityImageAlt?: string
/** Invite link destination. */
href?: string
target?: "_self" | "_blank"
/** Click handler; return a promise to show loading, reject it to show the error line. */
onAction?: () => void | PromiseLike<unknown>
disabled?: boolean
state?: "default" | "hover" | "active" | "disabled" | "error"
className?: string
}
const DEFAULT_ROWS: JoinCommunityRow[] = [
{ alone: "You guess at your offer and hope it lands.", together: "Plan your funnel with people mapping theirs." },
{ alone: "Your page copy sits in a draft no one reads.", together: "Share your headline and page copy for a second look." },
{ alone: "Launch questions pile up with no one to ask.", together: "Ask your launch questions before you go live." },
]
export function JoinCommunity(props: JoinCommunityProps) {
const {
headline = "Don't build your first funnel",
headlineMark = "on your own.",
lead = "Your kit is ready. Bring your plan, page copy and launch questions into the private group and build alongside people on the same steps.",
aloneLabel = "On your own",
aloneTitle = "Just you and a blank page",
aloneKind = "No one to check your work",
aloneFootnote = "Every question waits until you solve it alone.",
groupLabel = "Your next step",
groupName = "The Private Community",
groupKind = "Members-only group",
rows = DEFAULT_ROWS,
label = "Join the Community",
sublabel = "Private group \u00b7 Opens your invite",
loadingLabel = "Opening your invite\u2026",
errorMessage = "We couldn't open the invite. Please try again.",
newTabLabel = "(opens in a new tab)",
communityImage,
communityImageAlt = "",
href,
target = "_self",
onAction,
disabled = false,
state = "default",
className,
} = props
const uid = React.useId().replace(/:/g, "")
const titleId = `cfjc-${uid}-title`
const aloneId = `cfjc-${uid}-alone`
const nameId = `cfjc-${uid}-name`
const subId = `cfjc-${uid}-sub`
const errId = `cfjc-${uid}-err`
const [busy, setBusy] = React.useState(false)
const [failed, setFailed] = React.useState(false)
const alive = React.useRef(true)
React.useEffect(() => {
alive.current = true
return () => {
alive.current = false
}
}, [])
const isDisabled = disabled || state === "disabled"
const showError = !busy && (failed || state === "error")
const handleClick = (event: React.MouseEvent<HTMLElement>) => {
if (isDisabled || busy) {
event.preventDefault()
return
}
setFailed(false)
if (!onAction) return
let result: unknown
try {
result = onAction()
} catch {
event.preventDefault()
setFailed(true)
return
}
if (isThenable(result)) {
setBusy(true)
Promise.resolve(result).then(
() => {
if (alive.current) setBusy(false)
},
() => {
if (!alive.current) return
setBusy(false)
setFailed(true)
},
)
}
}
const describedBy = [sublabel ? subId : "", showError ? errId : ""].filter(Boolean).join(" ") || undefined
const inner = (
<>
{busy ? <Loader2 className="cf-jc__spin" aria-hidden="true" /> : null}
<span>{busy ? loadingLabel : label}</span>
{href && target === "_blank" && !busy ? <span className="cf-jc__sr">{newTabLabel}</span> : null}
</>
)
const action =
href && !isDisabled ? (
<a
className="cf-jc__btn"
href={href}
target={target}
rel={target === "_blank" ? "noopener noreferrer" : undefined}
onClick={handleClick}
aria-busy={busy || undefined}
aria-describedby={describedBy}
>
{inner}
</a>
) : (
<button
type="button"
className="cf-jc__btn"
onClick={handleClick}
disabled={isDisabled}
aria-busy={busy || undefined}
aria-describedby={describedBy}
>
{inner}
</button>
)
return (
<div
className={["cf-join-community", className].filter(Boolean).join(" ")}
data-state={state}
role="region"
aria-labelledby={titleId}
style={{ "--jc-rows": rows.length } as React.CSSProperties}
>
<style>{CSS}</style>
<div className="cf-jc__head">
<h2 id={titleId} className="cf-jc__title">
{headline} <span className="cf-jc__mark">{headlineMark}</span>
</h2>
{lead ? <p className="cf-jc__lead">{lead}</p> : null}
</div>
<div className="cf-jc__cols">
<div className="cf-jc__card cf-jc__card--alone" role="group" aria-labelledby={aloneId}>
<span id={aloneId} className="cf-jc__badge cf-jc__badge--alone">
{aloneLabel}
</span>
<div className="cf-jc__cardhead">
<MessageCircleQuestion className="cf-jc__aloneicon" aria-hidden="true" />
<h3 className="cf-jc__alonetitle">{aloneTitle}</h3>
{aloneKind ? (
<p className="cf-jc__kind">
<UserRound aria-hidden="true" />
<span>{aloneKind}</span>
</p>
) : null}
</div>
<ul className="cf-jc__list">
{rows.map((row, i) => (
<li key={`a-${i}`} className="cf-jc__row cf-jc__row--alone" style={{ "--i": i } as React.CSSProperties}>
<span className="cf-jc__tick cf-jc__tick--no" aria-hidden="true">
<X />
</span>
<span>{row.alone}</span>
</li>
))}
</ul>
<div className="cf-jc__foot cf-jc__foot--alone">
{aloneFootnote ? <p className="cf-jc__footnote">{aloneFootnote}</p> : null}
</div>
</div>
<div className="cf-jc__card cf-jc__card--win" role="group" aria-labelledby={nameId}>
<span className="cf-jc__badge cf-jc__badge--win">{groupLabel}</span>
<div className="cf-jc__cardhead">
{communityImage ? (
<img
className="cf-jc__art"
src={communityImage}
alt={communityImageAlt}
width={272}
height={272}
loading="lazy"
decoding="async"
/>
) : (
<MessagesSquare className="cf-jc__art cf-jc__art--icon" aria-hidden="true" />
)}
<h3 id={nameId} className="cf-jc__name">
{groupName}
</h3>
{groupKind ? (
<p className="cf-jc__kind">
<Lock aria-hidden="true" />
<span>{groupKind}</span>
</p>
) : null}
</div>
<ul className="cf-jc__list">
{rows.map((row, i) => (
<li key={`w-${i}`} className="cf-jc__row cf-jc__row--win" style={{ "--i": i } as React.CSSProperties}>
<span className="cf-jc__tick cf-jc__tick--yes" aria-hidden="true">
<Check />
</span>
<span>{row.together}</span>
</li>
))}
</ul>
<div className="cf-jc__foot">
{action}
{showError ? (
<p id={errId} className="cf-jc__error" role="alert">
<AlertCircle aria-hidden="true" />
<span>{errorMessage}</span>
</p>
) : null}
{sublabel ? (
<p id={subId} className="cf-jc__sub">
<ShieldCheck aria-hidden="true" />
<span>{sublabel}</span>
</p>
) : null}
</div>
</div>
</div>
</div>
)
}
export default JoinCommunity
function isThenable(value: unknown): value is PromiseLike<unknown> {
return typeof value === "object" && value !== null && typeof (value as { then?: unknown }).then === "function"
}
const CSS = `
.cf-join-community{--jc-shadow:var(--shadow, oklch(0.22 0.03 260));--jc-line:oklch(from var(--ink, #101828) l c h / 0.12);--jc-marker:var(--marker, #fae37c);--jc-marker-ink:var(--marker-ink, var(--field-ink, #101828));--jc-cta:var(--button-bg, var(--cta, #dc2626));--jc-cta-2:var(--button-bg-2, var(--cta-2, #b91c1c));container:cfjc / inline-size;box-sizing:border-box;width:100%;max-width:66rem;margin-inline:auto;color:var(--ink, #101828);font-family:var(--font-body, system-ui, sans-serif);-webkit-font-smoothing:antialiased}
.cf-join-community *,.cf-join-community *::before,.cf-join-community *::after{box-sizing:border-box}
.cf-jc__head{margin:0 0 2.5rem;text-align:center}
.cf-jc__title{margin:0 0 .3em;color:var(--ink, #101828);font-family:var(--font-display, inherit);font-weight:var(--display-weight, 900);font-size:clamp(2rem, 1.25rem + 3.6cqi, 3.5rem);line-height:1.04;letter-spacing:var(--display-tracking, -0.03em);text-transform:var(--display-case, none);text-wrap:balance}
.cf-jc__mark{color:var(--jc-marker-ink);background:linear-gradient(177deg, transparent 0 26%, color-mix(in oklch, var(--jc-marker) 90%, transparent) 26% 94%, transparent 94%);padding:0 .14em;margin:0 -.06em;border-radius:.2em .36em .24em .4em;-webkit-box-decoration-break:clone;box-decoration-break:clone}
.cf-jc__lead{margin:0 auto;max-width:40rem;color:var(--muted, #475467);font-size:clamp(1.0625rem, 1rem + .45cqi, 1.25rem);font-weight:500;line-height:1.5;text-wrap:pretty}
.cf-jc__cols{display:flex;flex-direction:column;gap:2.75rem;padding-top:.9rem}
.cf-jc__card{position:relative;display:flex;flex-direction:column;min-width:0;background:var(--card, #fff);color:var(--ink, #101828);border-radius:var(--card-radius, var(--radius, 16px))}
.cf-jc__card--alone{padding:2.5rem 1.5rem 1.5rem;border:1px solid var(--card-border, color-mix(in oklch, var(--ink, #101828) 12%, transparent));box-shadow:var(--shadow-sm, 0 1px 1px oklch(from var(--jc-shadow) l c h / .16), 0 1px 3px oklch(from var(--jc-shadow) l c h / .12))}
.cf-jc__card--win{padding:2.75rem 1.5rem 1.75rem;border:2px solid color-mix(in oklch, var(--accent-fill, var(--accent, #2563eb)) 55%, var(--card, #fff));box-shadow:var(--card-shadow, var(--shadow-lg, 0 2px 4px oklch(from var(--jc-shadow) l c h / .22), 0 12px 24px -8px oklch(from var(--jc-shadow) l c h / .32)))}
.cf-jc__badge{position:absolute;top:0;left:50%;transform:translate(-50%,-50%);display:inline-flex;align-items:center;justify-content:center;width:max-content;max-width:calc(100% - 2rem);padding:.45rem 1rem;border-radius:999px;font-family:var(--font-display, inherit);font-size:.875rem;font-weight:800;line-height:1.2;letter-spacing:.01em;text-align:center;text-wrap:balance}
.cf-jc__badge--alone{background:var(--secondary, #eceff4);color:var(--secondary-ink, #101828);border:1px solid oklch(from var(--secondary, #eceff4) calc(l - .12) c h)}
.cf-jc__badge--win{background:var(--band, #13213d);color:var(--band-ink, #fff);border:1px solid oklch(from var(--band, #13213d) calc(l - .06) c h);box-shadow:var(--shadow-sm, 0 1px 3px oklch(from var(--jc-shadow) l c h / .2))}
.cf-jc__cardhead{display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:.5rem;padding-bottom:1.25rem;text-align:center}
.cf-jc__aloneicon{width:4.5rem;height:4.5rem;margin-block:.5rem;color:var(--muted, #475467);stroke-width:1.5}
.cf-jc__alonetitle{margin:.25rem 0 0;color:var(--ink, #101828);font-family:var(--font-display, inherit);font-weight:var(--display-weight, 800);font-size:clamp(1.375rem, 1.2rem + .8cqi, 1.625rem);line-height:1.12;letter-spacing:var(--display-tracking, -0.015em);text-transform:var(--display-case, none);text-wrap:balance}
.cf-jc__art{display:block;width:8.5rem;height:8.5rem;object-fit:contain;filter:drop-shadow(0 2px 2px oklch(from var(--jc-shadow) l c h / .22)) drop-shadow(0 8px 10px oklch(from var(--jc-shadow) l c h / .16))}
.cf-jc__art--icon{width:4.5rem;height:4.5rem;margin-block:.5rem;color:var(--accent, #2563eb);stroke-width:1.6;filter:none}
.cf-jc__name{margin:.25rem 0 0;color:var(--ink, #101828);font-family:var(--font-display, inherit);font-weight:var(--display-weight, 900);font-size:clamp(1.5rem, 1.15rem + 1.5cqi, 2.125rem);line-height:1.08;letter-spacing:var(--display-tracking, -0.025em);text-transform:var(--display-case, none);text-wrap:balance}
.cf-jc__kind{margin:0;display:inline-flex;align-items:center;gap:.4rem;color:var(--muted, #475467);font-size:1.0625rem;font-weight:600;line-height:1.3;text-wrap:balance}
.cf-jc__kind svg{width:1rem;height:1rem;flex:none}
.cf-jc__list{display:flex;flex-direction:column;margin:0;padding:0;list-style:none}
.cf-jc__row{display:flex;align-items:flex-start;gap:.75rem;padding:.875rem .125rem;border-top:1px solid var(--jc-line);font-size:1.0625rem;line-height:1.45;text-wrap:pretty}
.cf-jc__row--alone{color:var(--muted, #475467)}
.cf-jc__row--win{color:var(--ink, #101828);font-weight:600}
.cf-jc__tick{flex:none;display:grid;place-items:center;width:1.75rem;height:1.75rem;margin-top:-.1rem;border-radius:999px}
.cf-jc__tick svg{width:1rem;height:1rem;stroke-width:3}
.cf-jc__tick--no{background:var(--danger-soft, #fde8e8);color:var(--danger, #b42318)}
.cf-jc__tick--yes{background:var(--success-soft, #e3f5e9);color:var(--success, #067647)}
.cf-jc__foot{display:flex;flex-direction:column;gap:.75rem;margin-top:auto;padding-top:1.25rem;border-top:1px solid var(--jc-line)}
.cf-jc__foot--alone{justify-content:flex-start}
.cf-jc__footnote{margin:0;display:flex;align-items:center;justify-content:center;min-height:3.75rem;padding:.75rem 1rem;border-radius:var(--button-radius, var(--radius, 12px));background:color-mix(in oklch, var(--ink, #101828) 4%, var(--card, #fff));color:var(--muted, #475467);font-size:1rem;font-style:italic;font-weight:500;line-height:1.4;text-align:center;text-wrap:pretty}
.cf-jc__btn{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:.6rem;width:100%;min-height:3.75rem;margin:0;padding:.9rem 1.25rem;border:1px solid oklch(from var(--jc-cta) calc(l - .14) c h);border-radius:var(--button-radius, var(--radius, 12px));background:linear-gradient(180deg, oklch(from var(--jc-cta) calc(l + .05) c h), var(--jc-cta-2));color:var(--button-ink, var(--cta-ink, #fff));font-family:var(--button-font, var(--font-display, inherit));font-size:clamp(1.125rem, 1rem + .5cqi, 1.3125rem);font-weight:var(--button-weight, 800);line-height:1.15;letter-spacing:-.005em;text-align:center;text-decoration:none;text-transform:var(--button-case, none);text-shadow:var(--button-text-shadow, none);text-wrap:balance;cursor:pointer;-webkit-tap-highlight-color:transparent;box-shadow:var(--button-shadow, inset 0 1px 0 oklch(from var(--jc-cta) calc(l + .14) c h / .6), inset 0 -3px 0 oklch(from var(--jc-cta) calc(l - .16) c h), 0 1px 2px oklch(from var(--jc-shadow) l c h / .3), 0 6px 12px -4px oklch(from var(--jc-shadow) l c h / .36))}
.cf-jc__btn:hover:not(:disabled),.cf-join-community[data-state="hover"] .cf-jc__btn{background:linear-gradient(180deg, oklch(from var(--jc-cta) calc(l + .02) c h), oklch(from var(--jc-cta-2) calc(l - .04) c h));transform:translateY(-1px);box-shadow:inset 0 1px 0 oklch(from var(--jc-cta) calc(l + .12) c h / .6), inset 0 -3px 0 oklch(from var(--jc-cta) calc(l - .2) c h), 0 2px 3px oklch(from var(--jc-shadow) l c h / .32), 0 10px 18px -6px oklch(from var(--jc-shadow) l c h / .42)}
.cf-jc__btn:active:not(:disabled),.cf-join-community[data-state="active"] .cf-jc__btn{background:linear-gradient(180deg, oklch(from var(--jc-cta-2) calc(l - .02) c h), oklch(from var(--jc-cta-2) calc(l - .06) c h));transform:translateY(1px);box-shadow:inset 0 2px 3px oklch(from var(--jc-shadow) l c h / .3), inset 0 -1px 0 oklch(from var(--jc-cta) calc(l - .18) c h), 0 1px 1px oklch(from var(--jc-shadow) l c h / .3)}
.cf-jc__btn:focus-visible{outline:3px solid var(--field-focus, var(--accent, #2563eb));outline-offset:3px}
.cf-jc__btn:disabled{cursor:not-allowed;background:var(--secondary, #eceff4);color:var(--secondary-ink, #101828);border-color:oklch(from var(--secondary, #eceff4) calc(l - .1) c h);text-shadow:none;transform:none;box-shadow:var(--button-2-shadow, var(--shadow-sm))}
.cf-jc__btn[aria-busy="true"]{cursor:progress}
.cf-jc__btn svg{width:1.25rem;height:1.25rem;flex:none}
.cf-jc__sub{margin:0;display:flex;align-items:center;justify-content:center;gap:.4rem;color:var(--muted, #475467);font-size:.9375rem;font-weight:500;line-height:1.4;text-align:center;text-wrap:pretty}
.cf-jc__sub svg{width:1rem;height:1rem;flex:none;color:var(--success, #067647)}
.cf-jc__error{margin:0;display:flex;align-items:flex-start;gap:.5rem;padding:.7rem .875rem;border-radius:calc(var(--radius, 12px) * .75);background:var(--danger-soft, #fde8e8);color:var(--danger, #b42318);font-size:.9375rem;font-weight:600;line-height:1.4;text-wrap:pretty}
.cf-jc__error svg{width:1.125rem;height:1.125rem;flex:none;margin-top:.05rem}
.cf-jc__sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
@container cfjc (min-width: 46rem){
.cf-jc__cols{flex-direction:row;align-items:stretch;gap:1.5rem}
.cf-jc__card--alone{flex:1 1 0;padding-inline:1.75rem}
.cf-jc__card--win{flex:1.22 1 0;padding-inline:2rem}
.cf-jc__aloneicon{width:5.5rem;height:5.5rem}
}
@supports (grid-template-rows: subgrid){
@container cfjc (min-width: 46rem){
.cf-jc__cols{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.22fr);grid-template-rows:auto repeat(var(--jc-rows, 3), auto) auto;column-gap:1.5rem;row-gap:0}
.cf-jc__card{display:grid;grid-row:1 / -1;grid-template-rows:subgrid;row-gap:0}
.cf-jc__cardhead{grid-row:1}
.cf-jc__list{display:grid;grid-row:2 / span var(--jc-rows, 3);grid-template-rows:subgrid;row-gap:0}
.cf-jc__foot{grid-row:-2 / -1;margin-top:0}
}
}
@container cfjc (max-width: 26rem){
.cf-jc__card--alone{padding:2.25rem 1.125rem 1.25rem}
.cf-jc__card--win{padding:2.5rem 1.125rem 1.5rem}
.cf-jc__row{gap:.65rem;font-size:1rem}
.cf-jc__kind{font-size:1rem}
.cf-jc__art{width:7rem;height:7rem}
.cf-jc__art--icon{width:3.75rem;height:3.75rem}
.cf-jc__aloneicon{width:3.75rem;height:3.75rem}
}
@media (prefers-reduced-motion: no-preference){
.cf-jc__btn{transition:transform .16s ease, box-shadow .16s ease, background .16s ease}
.cf-jc__row{animation:cfjc-in .45s cubic-bezier(.2,.7,.2,1) both;animation-delay:calc(var(--i, 0) * 70ms + 60ms)}
.cf-jc__row--win{animation-delay:calc(var(--i, 0) * 70ms + 160ms)}
.cf-jc__tick--yes svg{animation:cfjc-pop .42s cubic-bezier(.3,1.5,.5,1) both;animation-delay:calc(var(--i, 0) * 70ms + 300ms)}
.cf-jc__art{animation:cfjc-rise .55s cubic-bezier(.2,.7,.2,1) both}
.cf-jc__spin{animation:cfjc-spin .8s linear infinite}
@keyframes cfjc-in{from{opacity:.82;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes cfjc-pop{from{opacity:0;transform:scale(.4)}to{opacity:1;transform:none}}
@keyframes cfjc-rise{from{opacity:.6;transform:translateY(10px) scale(.96)}to{opacity:1;transform:none}}
@keyframes cfjc-spin{to{transform:rotate(360deg)}}
}
@media (forced-colors: active){
.cf-jc__card{border:1px solid CanvasText}
.cf-jc__btn{border:2px solid ButtonText}
.cf-jc__footnote{border:1px solid CanvasText}
.cf-jc__mark{background:Mark;color:MarkText}
}
`
pieces/checkout/join-community/specimen.tsx 27 lines
import __studioImageb1eb67b3 from "../assets/5f7f60b453cd5c05.webp";
import * as React from "react"
import { JoinCommunity } from "../join-community"
import defaults from "../../studio-defaults.json"
import { slot } from "../../slots"
type SpecimenState = "default" | "hover" | "active" | "disabled" | "error"
export const states = ["default", "hover", "active", "disabled", "error"]
export default function JoinCommunitySpecimen({ state = "default" }: { state?: SpecimenState }) {
const sample = defaults.sample
return (
<JoinCommunity
state={state}
lead={`${sample.name} is ready. Bring your plan, page copy and launch questions into the private group and build alongside people on the same steps.`}
groupName={sample.name}
groupKind="Private community"
communityImage={slot(
"product",
__studioImageb1eb67b3,
)}
communityImageAlt=""
href="#join-community"
/>
)
}
| Name | Type | Details |
|---|---|---|
headline OptionalJoinCommunity |
string |
|
headlineMark OptionalJoinCommunity |
string |
|
lead OptionalJoinCommunity |
string |
|
aloneLabel OptionalJoinCommunity |
string |
|
aloneTitle OptionalJoinCommunity |
string |
|
aloneKind OptionalJoinCommunity |
string |
|
aloneFootnote OptionalJoinCommunity |
string |
|
groupLabel OptionalJoinCommunity |
string |
|
groupName OptionalJoinCommunity |
string |
|
groupKind OptionalJoinCommunity |
string |
|
rows OptionalJoinCommunity |
JoinCommunityRow[] |
|
label OptionalJoinCommunity |
string |
|
sublabel OptionalJoinCommunity |
string |
|
loadingLabel OptionalJoinCommunity |
string |
|
errorMessage OptionalJoinCommunity |
string |
|
newTabLabel OptionalJoinCommunity |
string |
|
communityImage OptionalJoinCommunity |
string |
|
communityImageAlt OptionalJoinCommunity |
string |
|
href OptionalJoinCommunity |
string |
|
target OptionalJoinCommunity |
"_self" | "_blank" |
|
onAction OptionalJoinCommunity |
() => void | PromiseLike<unknown> |
|
disabled OptionalJoinCommunity |
boolean |
|
state OptionalJoinCommunity |
"default" | "hover" | "active" | "disabled" | "error" |
|
className OptionalJoinCommunity |
string |
Theme roles it reads
Set by the theme bar, a preset or your brand. Colours come from the base tokens (--surface, --ink, --cta…) every piece uses.
--button-bg--button-bg-2--button-case--button-font--button-ink--button-radius--button-shadow--button-text-shadow--button-weight- Main CTA button: background, ink, font, weight, case, radius and shadow.
--button-2-shadow- Secondary button.
--card-border--card-radius--card-shadow- Cards and panels: radius, border and shadow.
--display-case--display-tracking--display-weight- Headlines: weight, letter case and tracking.
--field-focus--field-ink- Form inputs: background, ink, border, radius and focus colour.
--marker- The highlighter colour behind key phrases.
Image slots
Filled from the brand’s images; the specimen ships its own defaults.
product- The main product shot or cover (ebook, kit, bottle).
-
5f7f60b453cd5c05.webp
image/webp · 69.8 KB
-
b77916eca54aa689.webp
image/webp · 8.32 KB
-
d435db6662febfcf.webp
image/webp · 10 KB
-
f0a5d3e1e61804ba.webp
image/webp · 11.6 KB