Contract backed
Schemas, manifest metadata, editor fields, accessibility, and i18n remain attached to the block type.
- 1 registered contract
- Ensemble schema id
- editor metadata pending
Explore html_embed as a composable block: contract metadata, multiple configuration defaults, and every theme recipe rendered against the same sample content.
Schemas, manifest metadata, editor fields, accessibility, and i18n remain attached to the block type.
The documentation route renders through native, alias, wrapped, or nonvisual runtime support without generic fallback UI.
Default, media, background, gradient, colorway, dense, and editorial configurations are all visible.
Every Theme Studio recipe has a focused page and an inline preview for this block.
CMS authors can lift structured payload recipes for default, media, operator, and stress contexts.
Default, empty, pending, active, invalid, and disabled states are documented for every cloneable block recipe.
Media replacement, long copy, and awkward content tolerance are represented in the documented defaults.
Baseline contract props with the selected recipe and standard system preset.
Shows the block alongside Cloud Elephants placeholder media so image, card, and media spacing are visible.

Places the component on a Cloud Elephants image-backed documentation frame for hero, CTA, and overlay-style review.
Uses a strong gradient shell to prove contrast, buttons, and panels in energetic brand treatments.
Electric blue, coral, and deep navy for launch and high-contrast hero treatments.
Aqua, white, ink, and operator blue for service, contact, and listing pages.

Coral, magenta, electric blue, and warm white for announcements and campaign pages.

Mist, ink, slate, blue, and coral for editorial and proof-heavy surfaces.
Compact operator layout with dashboard-style controls and tighter spacing.
Roomier narrative treatment for content, FAQ, testimonials, and feature blocks.
Smallest useful CMS payload with the block type, stable id, editable props, and recipe-aware appearance.
html_embed uses recipe surface tokens to keep the outer frame styled and composable.
background, panel, panelElevated, borderCopy fields map to primary and muted text roles so editors can change words without restyling the block.
text, textMutedAction regions use recipe button and accent tokens while preserving href or event payloads.
button, buttonText, signal, uplinkFeedback regions tie state-readiness evidence to visible recipe status treatments.
badge, badgeText, signalUse when a html_embed block should land quickly with balanced Polished SaaS defaults.
Minimal Default is a low-complexity quick-start recipe with 4 documented composition slots.
3 required regions, 1 optional regions.
html_embed is best composed into blog, event-promotion, partnership-announcement, and related pages.
4 page types mapped for html_embed.Choose the first matching page type before editing copy, media, or actions so the recipe starts in the right narrative context.html_embed can act as media, content within a composed page.
4 anatomy regions produce 2 section roles.Place the block where its required anatomy regions have enough room before compressing it into dense page slots.Minimal Default composition passport is copy-led, cta-led for CMS composition.
2/3 fields are editable across 2 content models.Keep the content model stable when replacing defaults; do not turn a repeatable or media-led recipe into unrelated ad hoc content.html_embed is compatible with noninteractive content sections.
0 action surfaces and 0 control surfaces mapped.Review href, event, input, required, and disabled-state evidence before publishing an interactive recipe.html_embed uses quick-start authoring with low complexity.
3 default provenance items with 1 high-care replacement.Use the default provenance map before cloning the recipe into CMS content or agent-generated page data.html_embed has explicit phone, tablet, and desktop compatibility evidence for composed pages.
3 responsive behavior maps cover phone, tablet, and desktop composition.Review phone wrapping, tablet mid-width balance, and desktop density before adding nested content, longer labels, or extra media.html_embed keeps a stable recipe surface with panel, border, and spacing roles instead of ad hoc wrappers.
default treatment uses comfortable density and 14px radius base.background, panel, panelElevated, borderPrimary, muted, and badge text roles stay distinct enough for headings, body copy, metadata, and helper text.
6/6 contrast checks pass the AA target.text, textMuted, badgeTextNo unexpected interactive surface is introduced for this noninteractive recipe.
0 action surfaces and 0 control surfaces mapped.button, buttonText, control, controlText, signal, uplinkThe recipe remains polished without requiring placeholder media or visual assets inside this block.
No media region is required for this recipe.panelElevated, border, textMutedFeedback, selected, loading, invalid, and disabled treatments use visible state evidence instead of color-only meaning.
6 state-readiness entries include default, empty, pending, active, invalid, disabled.badge, badgeText, signalPhone, tablet, and desktop defaults have explicit stack, wrap, media, and overflow policies for the recipe.
single-column stack phone behavior, wide single-column composition tablet behavior, and contained composition row desktop behavior documented.panel, border, controlKeep visual styling aligned to Polished SaaS recipe tokens unless the recipe itself changes.
Polished SaaS recipe tokensCopy can be edited directly when text remains trimmed, localizable, and safe to wrap at phone widths.
cloneable block recipe payloadKeep the label paired with a valid href or canonical postEvent event name before publishing.
CMS route, URL, or canonical postEvent pathCopy bundle groups 1 field so CMS edits preserve the recipe shape and default polish.
cloneable block recipe payloadCopy can be edited directly when text remains trimmed, localizable, and safe to wrap at phone widths.Action bundle groups 1 field so CMS edits preserve the recipe shape and default polish.
CMS route, URL, or canonical postEvent pathKeep the label paired with a valid href or canonical postEvent event name before publishing.Style bundle groups 1 field so CMS edits preserve the recipe shape and default polish.
Polished SaaS recipe tokensKeep visual styling aligned to Polished SaaS recipe tokens unless the recipe itself changes.Text should be editable, trimmed, localizable, and safe to wrap at mobile widths.
cloneable block recipe payloadActions should resolve to a URL or event name with a human-readable label.
CMS route, URL, or canonical postEvent pathStyle fields should prefer recipe or appearance tokens over one-off inline values.
Polished SaaS recipe tokensPolished SaaS tokens with default documentation treatment
The Polished SaaS recipe renders a contract-safe primary state for html_embed.Reserved panel space with fallback copy or placeholder media
Optional content stays inside the documented block shape when omitted.Neutral reserved frame with status copy and no layout shift
Async-capable props are mapped through controls, events, or provider placeholders.Signal/uplink emphasis with visible selected-state chips
Recipe and block selection evidence is rendered in the documentation chrome.Warning/danger status treatment while preserving the block frame
Contract validation rejects unsupported block payloads instead of rendering unknown UI.Muted affordance with preserved label, spacing, and hit-area rhythm
Noninteractive blocks retain evidence labels without pretending to be clickable.No public action surface is needed for this payload.
No input control is needed for this payload.
html_embed keeps semantic wrappers and readable heading/copy structure in the runtime preview.
runtime block sections, cards, lists, and headingsThe payload is static content, so the accessibility contract is to avoid hidden or misleading interactive affordances.
static content has no hidden focus trapMedia-ready recipes expose replaceable alt text or accessible labels for images, logos, embeds, and placeholders.
media fields include alt/label/title fallbacksNo input controls are present, so there are no unlabeled fields to remediate.
no input controls in this payloadRecipe defaults avoid motion-only meaning and keep status text inspectable when state is present.
runtime evidence avoids hidden status-only contentPolished SaaS stacks html_embed into one phone column with comfortable spacing and bounded content.
min-width:0 surfaces, wrapping copy, and no horizontal overflow in the static catalog phone smoke.Polished SaaS adapts html_embed to 1 tablet column before expanding to the desktop layout.
tablet preview frames keep mid-width composition, wrap controls, and avoid horizontal overflow in the static catalog smoke.Polished SaaS gives html_embed up to 1 desktop column while preserving recipe spacing.
desktop preview frames keep constrained widths, stable cards, and no horizontal overflow in the static catalog smoke.{
"id": "block-doc-html-embed-data-minimal-default",
"block_type": "html_embed",
"props": {
"appearance": {
"preset": "shadcn"
},
"title": "Html Embed embed",
"url": "https://example.com/embed"
},
"block_order": 1,
"metadata": {
"composition_recipe": {
"id": "minimal-default",
"intent": "default",
"label": "Minimal Default",
"recipe": "polished-saas",
"source": "block-explorer",
"quality_proof": [
"composition"
],
"composition_passport": {
"id": "minimal-default",
"label": "Minimal Default composition passport",
"intent": "default",
"recipe": "polished-saas",
"authoring_mode": "quick-start",
"complexity": "low",
"fit": "Use when a html_embed block should land quickly with balanced Polished SaaS defaults.",
"required_regions": [
"surface",
"copy",
"feedback"
],
"optional_regions": [
"actions"
],
"slots": [
{
"id": "surface",
"label": "Surface",
"required": true,
"field_count": 1,
"editable_count": 0,
"token_roles": [
"background",
"panel",
"panelElevated",
"border"
],
"summary": "html_embed uses recipe surface tokens to keep the outer frame styled and composable."
},
{
"id": "copy",
"label": "Copy",
"required": true,
"field_count": 1,
"editable_count": 1,
"token_roles": [
"text",
"textMuted"
],
"summary": "Copy fields map to primary and muted text roles so editors can change words without restyling the block."
},
{
"id": "actions",
"label": "Actions",
"required": false,
"field_count": 1,
"editable_count": 1,
"token_roles": [
"button",
"buttonText",
"signal",
"uplink"
],
"summary": "Action regions use recipe button and accent tokens while preserving href or event payloads."
},
{
"id": "feedback",
"label": "Feedback",
"required": true,
"field_count": 0,
"editable_count": 0,
"token_roles": [
"badge",
"badgeText",
"signal"
],
"summary": "Feedback regions tie state-readiness evidence to visible recipe status treatments."
}
],
"builder_field_count": 3,
"editable_field_count": 2,
"action_count": 0,
"control_count": 0,
"replacement_guidance": [
"Keep Polished SaaS recipe tokens as the source of visual styling for the surface, text, controls, and actions.",
"No media replacement is required; keep the layout rhythm stable when optional visual fields are omitted.",
"No action wiring is required for this recipe; avoid inventing clickable surfaces in content.",
"No input controls are required; keep the recipe focused on its documented display regions.",
"The recipe does not require repeatable collection editing."
],
"publish_checklist": [
"Validate html_embed against its block contract before publishing.",
"3 required anatomy regions remain present: surface, copy, feedback.",
"2/3 builder fields are CMS-editable or intentionally locked.",
"Noninteractive presentation has no unexpected action or control surfaces.",
"Phone, tablet, and desktop responsive behavior maps have been reviewed for wrapping and overflow.",
"Contrast checks meet the AA recipe target."
],
"agent_notes": [
"Prefer editing props fields described by the builder field map; metadata is evidence, not primary content.",
"Preserve recipe_alignment token roles unless the page theme or recipe changes intentionally.",
"Use the anatomy slots to compose or replace content without changing the block type."
],
"summary": "Minimal Default is a low-complexity quick-start recipe with 4 documented composition slots."
},
"composition_passport_complexity": "low",
"composition_passport_authoring_mode": "quick-start",
"composition_passport_slots": [
"surface",
"copy",
"actions",
"feedback"
],
"composition_passport_check_count": 6,
"visual_polish_check_count": 6,
"visual_polish_pass_count": 6,
"visual_polish_checks": [
{
"id": "surface-rhythm",
"label": "Surface rhythm",
"axis": "layout",
"status": "ready",
"token_roles": [
"background",
"panel",
"panelElevated",
"border"
],
"evidence": "default treatment uses comfortable density and 14px radius base.",
"summary": "html_embed keeps a stable recipe surface with panel, border, and spacing roles instead of ad hoc wrappers."
},
{
"id": "type-hierarchy",
"label": "Type hierarchy",
"axis": "typography",
"status": "ready",
"token_roles": [
"text",
"textMuted",
"badgeText"
],
"evidence": "6/6 contrast checks pass the AA target.",
"summary": "Primary, muted, and badge text roles stay distinct enough for headings, body copy, metadata, and helper text."
},
{
"id": "action-clarity",
"label": "Action clarity",
"axis": "interaction",
"status": "ready",
"token_roles": [
"button",
"buttonText",
"control",
"controlText",
"signal",
"uplink"
],
"evidence": "0 action surfaces and 0 control surfaces mapped.",
"summary": "No unexpected interactive surface is introduced for this noninteractive recipe."
},
{
"id": "media-treatment",
"label": "Media treatment",
"axis": "media",
"status": "ready",
"token_roles": [
"panelElevated",
"border",
"textMuted"
],
"evidence": "No media region is required for this recipe.",
"summary": "The recipe remains polished without requiring placeholder media or visual assets inside this block."
},
{
"id": "state-feedback",
"label": "State feedback",
"axis": "state",
"status": "ready",
"token_roles": [
"badge",
"badgeText",
"signal"
],
"evidence": "6 state-readiness entries include default, empty, pending, active, invalid, disabled.",
"summary": "Feedback, selected, loading, invalid, and disabled treatments use visible state evidence instead of color-only meaning."
},
{
"id": "responsive-balance",
"label": "Responsive balance",
"axis": "responsive",
"status": "ready",
"token_roles": [
"panel",
"border",
"control"
],
"evidence": "single-column stack phone behavior, wide single-column composition tablet behavior, and contained composition row desktop behavior documented.",
"summary": "Phone, tablet, and desktop defaults have explicit stack, wrap, media, and overflow policies for the recipe."
}
],
"visual_polish_axes": [
"layout",
"typography",
"interaction",
"media",
"state",
"responsive"
],
"default_provenance_count": 3,
"default_provenance_map": [
{
"path": "appearance",
"label": "Appearance",
"field_role": "style",
"value_type": "object",
"editable": false,
"repeated": false,
"default_source": "Polished SaaS recipe tokens",
"replacement_policy": "locked-token",
"replacement_risk": "medium",
"guardrail": "Keep visual styling aligned to Polished SaaS recipe tokens unless the recipe itself changes.",
"validation": "Style fields should prefer recipe or appearance tokens over one-off inline values.",
"summary": "Appearance defaults from Polished SaaS recipe tokens; replacement is medium risk with locked-token policy."
},
{
"path": "title",
"label": "Title",
"field_role": "copy",
"value_type": "string",
"editable": true,
"repeated": false,
"default_source": "cloneable block recipe payload",
"replacement_policy": "safe-to-edit",
"replacement_risk": "low",
"guardrail": "Copy can be edited directly when text remains trimmed, localizable, and safe to wrap at phone widths.",
"validation": "Text should be editable, trimmed, localizable, and safe to wrap at mobile widths.",
"summary": "Title defaults from cloneable block recipe payload; replacement is low risk with safe-to-edit policy."
},
{
"path": "url",
"label": "Url",
"field_role": "action",
"value_type": "string",
"editable": true,
"repeated": false,
"default_source": "CMS route, URL, or canonical postEvent path",
"replacement_policy": "requires-action-target",
"replacement_risk": "high",
"guardrail": "Keep the label paired with a valid href or canonical postEvent event name before publishing.",
"validation": "Actions should resolve to a URL or event name with a human-readable label.",
"summary": "Url defaults from CMS route, URL, or canonical postEvent path; replacement is high risk with requires-action-target policy."
}
],
"default_replacement_policies": [
"locked-token",
"requires-action-target",
"safe-to-edit"
],
"default_replacement_risks": [
"high",
"low",
"medium"
],
"default_replacement_high_risk_count": 1,
"content_edit_bundle_count": 3,
"content_edit_bundles": [
{
"id": "copy",
"label": "Copy bundle",
"intent": "required",
"edit_mode": "single-field",
"field_paths": [
"title"
],
"default_sources": [
"cloneable block recipe payload"
],
"guardrails": [
"Copy can be edited directly when text remains trimmed, localizable, and safe to wrap at phone widths."
],
"depends_on": [
"type hierarchy",
"mobile wrapping"
],
"summary": "Copy bundle groups 1 field so CMS edits preserve the recipe shape and default polish."
},
{
"id": "actions",
"label": "Action bundle",
"intent": "recommended",
"edit_mode": "single-field",
"field_paths": [
"url"
],
"default_sources": [
"CMS route, URL, or canonical postEvent path"
],
"guardrails": [
"Keep the label paired with a valid href or canonical postEvent event name before publishing."
],
"depends_on": [
"copy labels"
],
"summary": "Action bundle groups 1 field so CMS edits preserve the recipe shape and default polish."
},
{
"id": "style",
"label": "Style bundle",
"intent": "guarded",
"edit_mode": "guarded-system",
"field_paths": [
"appearance"
],
"default_sources": [
"Polished SaaS recipe tokens"
],
"guardrails": [
"Keep visual styling aligned to Polished SaaS recipe tokens unless the recipe itself changes."
],
"depends_on": [
"theme recipe tokens",
"contrast proof"
],
"summary": "Style bundle groups 1 field so CMS edits preserve the recipe shape and default polish."
}
],
"content_edit_bundle_ids": [
"copy",
"actions",
"style"
],
"content_edit_bundle_modes": [
"guarded-system",
"single-field"
],
"content_edit_bundle_required_count": 1,
"content_edit_bundle_guarded_count": 1,
"recipe_compatibility_count": 6,
"recipe_compatibility_map": [
{
"id": "page-context",
"label": "Page context",
"axis": "page",
"fit": "primary",
"values": [
"blog",
"event-promotion",
"partnership-announcement",
"press-release"
],
"evidence": "4 page types mapped for html_embed.",
"guardrail": "Choose the first matching page type before editing copy, media, or actions so the recipe starts in the right narrative context.",
"summary": "html_embed is best composed into blog, event-promotion, partnership-announcement, and related pages."
},
{
"id": "section-role",
"label": "Section role",
"axis": "layout",
"fit": "supporting",
"values": [
"media",
"content"
],
"evidence": "4 anatomy regions produce 2 section roles.",
"guardrail": "Place the block where its required anatomy regions have enough room before compressing it into dense page slots.",
"summary": "html_embed can act as media, content within a composed page."
},
{
"id": "content-model",
"label": "Content model",
"axis": "content",
"fit": "supporting",
"values": [
"copy-led",
"cta-led"
],
"evidence": "2/3 fields are editable across 2 content models.",
"guardrail": "Keep the content model stable when replacing defaults; do not turn a repeatable or media-led recipe into unrelated ad hoc content.",
"summary": "Minimal Default composition passport is copy-led, cta-led for CMS composition."
},
{
"id": "interaction-model",
"label": "Interaction model",
"axis": "interaction",
"fit": "supporting",
"values": [
"noninteractive"
],
"evidence": "0 action surfaces and 0 control surfaces mapped.",
"guardrail": "Review href, event, input, required, and disabled-state evidence before publishing an interactive recipe.",
"summary": "html_embed is compatible with noninteractive content sections."
},
{
"id": "authoring-fit",
"label": "Authoring fit",
"axis": "authoring",
"fit": "specialized",
"values": [
"quick-start",
"low-complexity",
"1-high-care-replacements"
],
"evidence": "3 default provenance items with 1 high-care replacement.",
"guardrail": "Use the default provenance map before cloning the recipe into CMS content or agent-generated page data.",
"summary": "html_embed uses quick-start authoring with low complexity."
},
{
"id": "responsive-fit",
"label": "Responsive fit",
"axis": "responsive",
"fit": "primary",
"values": [
"single-column stack",
"wide single-column composition",
"contained composition row",
"min-width:0 surfaces, wrapping copy, and no horizontal overflow in the static catalog phone smoke."
],
"evidence": "3 responsive behavior maps cover phone, tablet, and desktop composition.",
"guardrail": "Review phone wrapping, tablet mid-width balance, and desktop density before adding nested content, longer labels, or extra media.",
"summary": "html_embed has explicit phone, tablet, and desktop compatibility evidence for composed pages."
}
],
"recipe_compatibility_axes": [
"page",
"layout",
"content",
"interaction",
"authoring",
"responsive"
],
"recipe_compatibility_page_types": [
"blog",
"event-promotion",
"partnership-announcement",
"press-release"
],
"recipe_compatibility_section_roles": [
"media",
"content"
],
"recipe_compatibility_fits": [
"primary",
"specialized",
"supporting"
],
"builder_field_count": 3,
"builder_field_map": [
{
"path": "appearance",
"label": "Appearance",
"value_type": "object",
"role": "style",
"editable": false,
"repeated": false,
"summary": "Appearance is a object field used for style."
},
{
"path": "title",
"label": "Title",
"value_type": "string",
"role": "copy",
"editable": true,
"repeated": false,
"summary": "Title is a string field used for copy."
},
{
"path": "url",
"label": "Url",
"value_type": "string",
"role": "action",
"editable": true,
"repeated": false,
"summary": "Url is a string field used for action."
}
],
"editor_guidance_count": 3,
"editor_guidance_map": [
{
"id": "copy",
"label": "Copy",
"field_role": "copy",
"field_count": 1,
"editable_count": 1,
"editor_widget": "text/rich-text editor",
"validation": "Text should be editable, trimmed, localizable, and safe to wrap at mobile widths.",
"default_source": "cloneable block recipe payload",
"summary": "Copy fields use the text/rich-text editor across 1/1 editable field."
},
{
"id": "action",
"label": "Action",
"field_role": "action",
"field_count": 1,
"editable_count": 1,
"editor_widget": "link or event action editor",
"validation": "Actions should resolve to a URL or event name with a human-readable label.",
"default_source": "CMS route, URL, or canonical postEvent path",
"summary": "Action fields use the link or event action editor across 1/1 editable field."
},
{
"id": "style",
"label": "Style",
"field_role": "style",
"field_count": 1,
"editable_count": 0,
"editor_widget": "appearance preset selector",
"validation": "Style fields should prefer recipe or appearance tokens over one-off inline values.",
"default_source": "Polished SaaS recipe tokens",
"summary": "Style fields use the appearance preset selector across 0/1 editable field."
}
],
"editor_field_roles": [
"copy",
"action",
"style"
],
"editor_editable_field_count": 2,
"state_readiness_count": 6,
"state_readiness_map": [
{
"id": "default",
"label": "Default",
"status": "covered",
"trigger": "Initial render with the cloneable recipe payload",
"visual_treatment": "Polished SaaS tokens with default documentation treatment",
"token_roles": [
"surface",
"panel",
"text",
"button"
],
"proof": "The Polished SaaS recipe renders a contract-safe primary state for html_embed.",
"summary": "Default state uses the recipe surface, text, and action tokens without one-off styling."
},
{
"id": "empty",
"label": "Empty",
"status": "covered",
"trigger": "Optional content is omitted",
"visual_treatment": "Reserved panel space with fallback copy or placeholder media",
"token_roles": [
"panel",
"textMuted",
"badge",
"border"
],
"proof": "Optional content stays inside the documented block shape when omitted.",
"summary": "Empty-state guidance preserves layout rhythm instead of collapsing the block surface."
},
{
"id": "pending",
"label": "Pending",
"status": "covered",
"trigger": "Async assignment, embed load, or form submission is in flight",
"visual_treatment": "Neutral reserved frame with status copy and no layout shift",
"token_roles": [
"control",
"textMuted",
"progressTrack",
"border"
],
"proof": "Async-capable props are mapped through controls, events, or provider placeholders.",
"summary": "Pending state keeps dimensions stable while using muted control/status tokens."
},
{
"id": "active",
"label": "Active",
"status": "covered",
"trigger": "Current block and recipe preview are selected",
"visual_treatment": "Signal/uplink emphasis with visible selected-state chips",
"token_roles": [
"signal",
"uplink",
"button",
"badge"
],
"proof": "Recipe and block selection evidence is rendered in the documentation chrome.",
"summary": "Active state is represented with recipe accent tokens and visible state labels."
},
{
"id": "invalid",
"label": "Invalid",
"status": "covered",
"trigger": "Payload fails the block contract",
"visual_treatment": "Warning/danger status treatment while preserving the block frame",
"token_roles": [
"warning",
"danger",
"border",
"text"
],
"proof": "Contract validation rejects unsupported block payloads instead of rendering unknown UI.",
"summary": "Invalid state guidance favors explicit status evidence over ambiguous visual collapse."
},
{
"id": "disabled",
"label": "Disabled",
"status": "covered",
"trigger": "Noninteractive metadata or held preview state",
"visual_treatment": "Muted affordance with preserved label, spacing, and hit-area rhythm",
"token_roles": [
"control",
"textMuted",
"border",
"panel"
],
"proof": "Noninteractive blocks retain evidence labels without pretending to be clickable.",
"summary": "Disabled state keeps the block readable and spatially stable when interaction is unavailable."
}
],
"state_readiness_states": [
"default",
"empty",
"pending",
"active",
"invalid",
"disabled"
],
"state_readiness_statuses": [
"covered",
"covered",
"covered",
"covered",
"covered",
"covered"
],
"anatomy_region_count": 4,
"anatomy_map": [
{
"id": "surface",
"label": "Surface",
"region_role": "outer layout and background",
"field_paths": [
"appearance"
],
"token_roles": [
"background",
"panel",
"panelElevated",
"border"
],
"state_ids": [
"default",
"empty",
"pending",
"active",
"invalid",
"disabled"
],
"required": true,
"summary": "html_embed uses recipe surface tokens to keep the outer frame styled and composable."
},
{
"id": "copy",
"label": "Copy",
"region_role": "headings, body copy, labels, and supporting text",
"field_paths": [
"title"
],
"token_roles": [
"text",
"textMuted"
],
"state_ids": [
"default",
"empty",
"pending",
"active",
"invalid",
"disabled"
],
"required": true,
"summary": "Copy fields map to primary and muted text roles so editors can change words without restyling the block."
},
{
"id": "actions",
"label": "Actions",
"region_role": "CTA, link, event, and navigation affordances",
"field_paths": [
"url"
],
"token_roles": [
"button",
"buttonText",
"signal",
"uplink"
],
"state_ids": [
"default",
"empty",
"pending",
"active",
"invalid",
"disabled"
],
"required": false,
"summary": "Action regions use recipe button and accent tokens while preserving href or event payloads."
},
{
"id": "feedback",
"label": "Feedback",
"region_role": "status, validation, selected, loading, and disabled evidence",
"field_paths": [],
"token_roles": [
"badge",
"badgeText",
"signal"
],
"state_ids": [
"default",
"empty",
"pending",
"active",
"invalid",
"disabled"
],
"required": true,
"summary": "Feedback regions tie state-readiness evidence to visible recipe status treatments."
}
],
"anatomy_regions": [
"surface",
"copy",
"actions",
"feedback"
],
"anatomy_token_roles": [
"background",
"badge",
"badgeText",
"border",
"button",
"buttonText",
"panel",
"panelElevated",
"signal",
"text",
"textMuted",
"uplink"
],
"action_count": 0,
"action_map": [],
"control_count": 0,
"control_map": [],
"style_token_count": 15,
"style_token_map": [
{
"role": "background",
"label": "Page background",
"value": "#f7fbff",
"token_type": "color",
"summary": "Page background uses the background recipe token."
},
{
"role": "panel",
"label": "Panel surface",
"value": "#ffffff",
"token_type": "color",
"summary": "Panel surface uses the panel recipe token."
},
{
"role": "panelElevated",
"label": "Elevated surface",
"value": "#ffffff",
"token_type": "color",
"summary": "Elevated surface uses the panelElevated recipe token."
},
{
"role": "text",
"label": "Primary text",
"value": "#142033",
"token_type": "color",
"summary": "Primary text uses the text recipe token."
},
{
"role": "textMuted",
"label": "Muted text",
"value": "#526174",
"token_type": "color",
"summary": "Muted text uses the textMuted recipe token."
},
{
"role": "signal",
"label": "Signal accent",
"value": "#166bff",
"token_type": "color",
"summary": "Signal accent uses the signal recipe token."
},
{
"role": "uplink",
"label": "Secondary accent",
"value": "#00a6a6",
"token_type": "color",
"summary": "Secondary accent uses the uplink recipe token."
},
{
"role": "border",
"label": "Border",
"value": "#d6dee8",
"token_type": "color",
"summary": "Border uses the border recipe token."
},
{
"role": "control",
"label": "Control surface",
"value": "#ffffff",
"token_type": "color",
"summary": "Control surface uses the control recipe token."
},
{
"role": "controlText",
"label": "Control text",
"value": "#142033",
"token_type": "color",
"summary": "Control text uses the controlText recipe token."
},
{
"role": "button",
"label": "Button surface",
"value": "#166bff",
"token_type": "color",
"summary": "Button surface uses the button recipe token."
},
{
"role": "buttonText",
"label": "Button text",
"value": "#ffffff",
"token_type": "color",
"summary": "Button text uses the buttonText recipe token."
},
{
"role": "badge",
"label": "Badge surface",
"value": "#eef5ff",
"token_type": "color",
"summary": "Badge surface uses the badge recipe token."
},
{
"role": "badgeText",
"label": "Badge text",
"value": "#174ea6",
"token_type": "color",
"summary": "Badge text uses the badgeText recipe token."
},
{
"role": "fontFamily",
"label": "Font family",
"value": "Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
"token_type": "font",
"summary": "Font family comes from the active recipe theme tokens."
}
],
"style_token_roles": [
"background",
"panel",
"panelElevated",
"text",
"textMuted",
"signal",
"uplink",
"border",
"control",
"controlText",
"button",
"buttonText",
"badge",
"badgeText",
"fontFamily"
],
"contrast_check_count": 6,
"contrast_pass_count": 6,
"contrast_checks": [
{
"id": "text-on-background",
"label": "Text on background",
"foreground_role": "text",
"background_role": "background",
"foreground": "#142033",
"background": "#f7fbff",
"ratio": 15.73,
"required_ratio": 4.5,
"passes": true,
"level": "AAA",
"summary": "Text on background is AAA at 15.73:1 against a 4.5:1 requirement."
},
{
"id": "text-on-panel",
"label": "Text on panel",
"foreground_role": "text",
"background_role": "panel",
"foreground": "#142033",
"background": "#ffffff",
"ratio": 16.35,
"required_ratio": 4.5,
"passes": true,
"level": "AAA",
"summary": "Text on panel is AAA at 16.35:1 against a 4.5:1 requirement."
},
{
"id": "muted-text-on-panel",
"label": "Muted text on panel",
"foreground_role": "textMuted",
"background_role": "panel",
"foreground": "#526174",
"background": "#ffffff",
"ratio": 6.32,
"required_ratio": 4.5,
"passes": true,
"level": "AA",
"summary": "Muted text on panel is AA at 6.32:1 against a 4.5:1 requirement."
},
{
"id": "button-text-on-button",
"label": "Button text on button",
"foreground_role": "buttonText",
"background_role": "button",
"foreground": "#ffffff",
"background": "#166bff",
"ratio": 4.58,
"required_ratio": 4.5,
"passes": true,
"level": "AA",
"summary": "Button text on button is AA at 4.58:1 against a 4.5:1 requirement."
},
{
"id": "control-text-on-control",
"label": "Control text on control",
"foreground_role": "controlText",
"background_role": "control",
"foreground": "#142033",
"background": "#ffffff",
"ratio": 16.35,
"required_ratio": 4.5,
"passes": true,
"level": "AAA",
"summary": "Control text on control is AAA at 16.35:1 against a 4.5:1 requirement."
},
{
"id": "badge-text-on-badge",
"label": "Badge text on badge",
"foreground_role": "badgeText",
"background_role": "badge",
"foreground": "#174ea6",
"background": "#eef5ff",
"ratio": 7.15,
"required_ratio": 4.5,
"passes": true,
"level": "AAA",
"summary": "Badge text on badge is AAA at 7.15:1 against a 4.5:1 requirement."
}
],
"contrast_target": "AA",
"accessibility_standard": "WCAG_2_2_AA",
"accessibility_check_count": 5,
"accessibility_checks": [
{
"id": "semantic-structure",
"label": "Semantic structure",
"category": "semantics",
"status": "covered",
"required": true,
"proof": "runtime block sections, cards, lists, and headings",
"summary": "html_embed keeps semantic wrappers and readable heading/copy structure in the runtime preview."
},
{
"id": "keyboard-and-tap-targets",
"label": "Keyboard and tap targets",
"category": "keyboard",
"status": "covered",
"required": false,
"proof": "static content has no hidden focus trap",
"summary": "The payload is static content, so the accessibility contract is to avoid hidden or misleading interactive affordances."
},
{
"id": "text-alternatives",
"label": "Text alternatives",
"category": "media",
"status": "covered",
"required": true,
"proof": "media fields include alt/label/title fallbacks",
"summary": "Media-ready recipes expose replaceable alt text or accessible labels for images, logos, embeds, and placeholders."
},
{
"id": "control-labels",
"label": "Control labels",
"category": "forms",
"status": "covered",
"required": false,
"proof": "no input controls in this payload",
"summary": "No input controls are present, so there are no unlabeled fields to remediate."
},
{
"id": "status-and-motion",
"label": "Status and motion",
"category": "state",
"status": "covered",
"required": true,
"proof": "runtime evidence avoids hidden status-only content",
"summary": "Recipe defaults avoid motion-only meaning and keep status text inspectable when state is present."
}
],
"responsive_behavior_count": 3,
"responsive_behavior_map": [
{
"id": "phone",
"label": "Phone",
"viewport_width": 390,
"layout_mode": "single-column stack",
"column_count": 1,
"spacing_density": "comfortable",
"media_policy": "Intrinsic media is bounded by max-width and aspect-ratio defaults.",
"overflow_policy": "min-width:0 surfaces, wrapping copy, and no horizontal overflow in the static catalog phone smoke.",
"interaction_policy": "Static content keeps readable line lengths and avoids hidden interactive affordances.",
"proof": "npm run test:static:block-catalog all-blocks-phone",
"summary": "Polished SaaS stacks html_embed into one phone column with comfortable spacing and bounded content."
},
{
"id": "tablet",
"label": "Tablet",
"viewport_width": 768,
"layout_mode": "wide single-column composition",
"column_count": 1,
"spacing_density": "comfortable",
"media_policy": "Intrinsic media is bounded by max-width and aspect-ratio defaults.",
"overflow_policy": "tablet preview frames keep mid-width composition, wrap controls, and avoid horizontal overflow in the static catalog smoke.",
"interaction_policy": "Static content keeps readable line lengths and avoids hidden interactive affordances.",
"proof": "npm run test:static:block-catalog all-blocks-tablet",
"summary": "Polished SaaS adapts html_embed to 1 tablet column before expanding to the desktop layout."
},
{
"id": "desktop",
"label": "Desktop",
"viewport_width": 1366,
"layout_mode": "contained composition row",
"column_count": 1,
"spacing_density": "comfortable",
"media_policy": "Intrinsic media is bounded by max-width and aspect-ratio defaults.",
"overflow_policy": "desktop preview frames keep constrained widths, stable cards, and no horizontal overflow in the static catalog smoke.",
"interaction_policy": "Static content keeps readable line lengths and avoids hidden interactive affordances.",
"proof": "npm run test:static:block-catalog all-blocks-desktop",
"summary": "Polished SaaS gives html_embed up to 1 desktop column while preserving recipe spacing."
}
],
"responsive_viewports": [
"phone",
"tablet",
"desktop"
],
"responsive_proof": [
"npm run test:static:block-catalog all-blocks-phone",
"npm run test:static:block-catalog all-blocks-tablet",
"npm run test:static:block-catalog all-blocks-desktop"
],
"interactive_roles": [],
"recipe_alignment": {
"action_token": "button",
"control_token": "control",
"surface_token": "panel",
"text_token": "text",
"source": "theme recipe tokens"
}
},
"cloneable": true
}
}A brandable payload that includes placeholder media where the block can express imagery, previews, or visual proof.
html_embed uses recipe surface tokens to keep the outer frame styled and composable.
background, panel, panelElevated, borderCopy fields map to primary and muted text roles so editors can change words without restyling the block.
text, textMutedAction regions use recipe button and accent tokens while preserving href or event payloads.
button, buttonText, signal, uplinkFeedback regions tie state-readiness evidence to visible recipe status treatments.
badge, badgeText, signalUse when the html_embed story depends on replaceable imagery, embeds, logos, or visual proof.
Media Ready is a low-complexity media-led recipe with 4 documented composition slots.
3 required regions, 1 optional regions.
html_embed is best composed into blog, event-promotion, partnership-announcement, and related pages.
4 page types mapped for html_embed.Choose the first matching page type before editing copy, media, or actions so the recipe starts in the right narrative context.html_embed can act as media, content within a composed page.
4 anatomy regions produce 2 section roles.Place the block where its required anatomy regions have enough room before compressing it into dense page slots.Media Ready composition passport is copy-led, cta-led for CMS composition.
2/3 fields are editable across 2 content models.Keep the content model stable when replacing defaults; do not turn a repeatable or media-led recipe into unrelated ad hoc content.html_embed is compatible with noninteractive content sections.
0 action surfaces and 0 control surfaces mapped.Review href, event, input, required, and disabled-state evidence before publishing an interactive recipe.html_embed uses media-led authoring with low complexity.
3 default provenance items with 1 high-care replacement.Use the default provenance map before cloning the recipe into CMS content or agent-generated page data.html_embed has explicit phone, tablet, and desktop compatibility evidence for composed pages.
3 responsive behavior maps cover phone, tablet, and desktop composition.Review phone wrapping, tablet mid-width balance, and desktop density before adding nested content, longer labels, or extra media.html_embed keeps a stable recipe surface with panel, border, and spacing roles instead of ad hoc wrappers.
image treatment uses spacious density and 18px radius base.background, panel, panelElevated, borderPrimary, muted, and badge text roles stay distinct enough for headings, body copy, metadata, and helper text.
6/6 contrast checks pass the AA target.text, textMuted, badgeTextNo unexpected interactive surface is introduced for this noninteractive recipe.
0 action surfaces and 0 control surfaces mapped.button, buttonText, control, controlText, signal, uplinkThe recipe remains polished without requiring placeholder media or visual assets inside this block.
No media region is required for this recipe.panelElevated, border, textMutedFeedback, selected, loading, invalid, and disabled treatments use visible state evidence instead of color-only meaning.
6 state-readiness entries include default, empty, pending, active, invalid, disabled.badge, badgeText, signalPhone, tablet, and desktop defaults have explicit stack, wrap, media, and overflow policies for the recipe.
single-column stack phone behavior, wide single-column composition tablet behavior, and contained composition row desktop behavior documented.panel, border, controlKeep visual styling aligned to Polished SaaS Growth recipe tokens unless the recipe itself changes.
Polished SaaS Growth recipe tokensCopy can be edited directly when text remains trimmed, localizable, and safe to wrap at phone widths.
cloneable block recipe payloadKeep the label paired with a valid href or canonical postEvent event name before publishing.
CMS route, URL, or canonical postEvent pathCopy bundle groups 1 field so CMS edits preserve the recipe shape and default polish.
cloneable block recipe payloadCopy can be edited directly when text remains trimmed, localizable, and safe to wrap at phone widths.Action bundle groups 1 field so CMS edits preserve the recipe shape and default polish.
CMS route, URL, or canonical postEvent pathKeep the label paired with a valid href or canonical postEvent event name before publishing.Style bundle groups 1 field so CMS edits preserve the recipe shape and default polish.
Polished SaaS Growth recipe tokensKeep visual styling aligned to Polished SaaS Growth recipe tokens unless the recipe itself changes.Text should be editable, trimmed, localizable, and safe to wrap at mobile widths.
cloneable block recipe payloadActions should resolve to a URL or event name with a human-readable label.
CMS route, URL, or canonical postEvent pathStyle fields should prefer recipe or appearance tokens over one-off inline values.
Polished SaaS Growth recipe tokensPolished SaaS Growth tokens with image documentation treatment
The Polished SaaS Growth recipe renders a contract-safe primary state for html_embed.Reserved panel space with fallback copy or placeholder media
Optional content stays inside the documented block shape when omitted.Neutral reserved frame with status copy and no layout shift
Async-capable props are mapped through controls, events, or provider placeholders.Signal/uplink emphasis with visible selected-state chips
Recipe and block selection evidence is rendered in the documentation chrome.Warning/danger status treatment while preserving the block frame
Contract validation rejects unsupported block payloads instead of rendering unknown UI.Muted affordance with preserved label, spacing, and hit-area rhythm
Noninteractive blocks retain evidence labels without pretending to be clickable.No public action surface is needed for this payload.
No input control is needed for this payload.
html_embed keeps semantic wrappers and readable heading/copy structure in the runtime preview.
runtime block sections, cards, lists, and headingsThe payload is static content, so the accessibility contract is to avoid hidden or misleading interactive affordances.
static content has no hidden focus trapMedia-ready recipes expose replaceable alt text or accessible labels for images, logos, embeds, and placeholders.
media fields include alt/label/title fallbacksNo input controls are present, so there are no unlabeled fields to remediate.
no input controls in this payloadRecipe defaults avoid motion-only meaning and keep status text inspectable when state is present.
runtime evidence avoids hidden status-only contentPolished SaaS Growth stacks html_embed into one phone column with spacious spacing and bounded content.
min-width:0 surfaces, wrapping copy, and no horizontal overflow in the static catalog phone smoke.Polished SaaS Growth adapts html_embed to 1 tablet column before expanding to the desktop layout.
tablet preview frames keep mid-width composition, wrap controls, and avoid horizontal overflow in the static catalog smoke.Polished SaaS Growth gives html_embed up to 1 desktop column while preserving recipe spacing.
desktop preview frames keep constrained widths, stable cards, and no horizontal overflow in the static catalog smoke.{
"id": "block-doc-html-embed-data-media-ready",
"block_type": "html_embed",
"props": {
"appearance": {
"preset": "bento"
},
"title": "Html Embed embed",
"url": "https://example.com/embed"
},
"block_order": 2,
"metadata": {
"composition_recipe": {
"id": "media-ready",
"intent": "media",
"label": "Media Ready",
"recipe": "polished-saas-growth",
"source": "block-explorer",
"quality_proof": [
"composition"
],
"composition_passport": {
"id": "media-ready",
"label": "Media Ready composition passport",
"intent": "media",
"recipe": "polished-saas-growth",
"authoring_mode": "media-led",
"complexity": "low",
"fit": "Use when the html_embed story depends on replaceable imagery, embeds, logos, or visual proof.",
"required_regions": [
"surface",
"copy",
"feedback"
],
"optional_regions": [
"actions"
],
"slots": [
{
"id": "surface",
"label": "Surface",
"required": true,
"field_count": 1,
"editable_count": 0,
"token_roles": [
"background",
"panel",
"panelElevated",
"border"
],
"summary": "html_embed uses recipe surface tokens to keep the outer frame styled and composable."
},
{
"id": "copy",
"label": "Copy",
"required": true,
"field_count": 1,
"editable_count": 1,
"token_roles": [
"text",
"textMuted"
],
"summary": "Copy fields map to primary and muted text roles so editors can change words without restyling the block."
},
{
"id": "actions",
"label": "Actions",
"required": false,
"field_count": 1,
"editable_count": 1,
"token_roles": [
"button",
"buttonText",
"signal",
"uplink"
],
"summary": "Action regions use recipe button and accent tokens while preserving href or event payloads."
},
{
"id": "feedback",
"label": "Feedback",
"required": true,
"field_count": 0,
"editable_count": 0,
"token_roles": [
"badge",
"badgeText",
"signal"
],
"summary": "Feedback regions tie state-readiness evidence to visible recipe status treatments."
}
],
"builder_field_count": 3,
"editable_field_count": 2,
"action_count": 0,
"control_count": 0,
"replacement_guidance": [
"Keep Polished SaaS Growth recipe tokens as the source of visual styling for the surface, text, controls, and actions.",
"No media replacement is required; keep the layout rhythm stable when optional visual fields are omitted.",
"No action wiring is required for this recipe; avoid inventing clickable surfaces in content.",
"No input controls are required; keep the recipe focused on its documented display regions.",
"The recipe does not require repeatable collection editing."
],
"publish_checklist": [
"Validate html_embed against its block contract before publishing.",
"3 required anatomy regions remain present: surface, copy, feedback.",
"2/3 builder fields are CMS-editable or intentionally locked.",
"Noninteractive presentation has no unexpected action or control surfaces.",
"Phone, tablet, and desktop responsive behavior maps have been reviewed for wrapping and overflow.",
"Contrast checks meet the AA recipe target."
],
"agent_notes": [
"Prefer editing props fields described by the builder field map; metadata is evidence, not primary content.",
"Preserve recipe_alignment token roles unless the page theme or recipe changes intentionally.",
"Use the anatomy slots to compose or replace content without changing the block type."
],
"summary": "Media Ready is a low-complexity media-led recipe with 4 documented composition slots."
},
"composition_passport_complexity": "low",
"composition_passport_authoring_mode": "media-led",
"composition_passport_slots": [
"surface",
"copy",
"actions",
"feedback"
],
"composition_passport_check_count": 6,
"visual_polish_check_count": 6,
"visual_polish_pass_count": 6,
"visual_polish_checks": [
{
"id": "surface-rhythm",
"label": "Surface rhythm",
"axis": "layout",
"status": "ready",
"token_roles": [
"background",
"panel",
"panelElevated",
"border"
],
"evidence": "image treatment uses spacious density and 18px radius base.",
"summary": "html_embed keeps a stable recipe surface with panel, border, and spacing roles instead of ad hoc wrappers."
},
{
"id": "type-hierarchy",
"label": "Type hierarchy",
"axis": "typography",
"status": "ready",
"token_roles": [
"text",
"textMuted",
"badgeText"
],
"evidence": "6/6 contrast checks pass the AA target.",
"summary": "Primary, muted, and badge text roles stay distinct enough for headings, body copy, metadata, and helper text."
},
{
"id": "action-clarity",
"label": "Action clarity",
"axis": "interaction",
"status": "ready",
"token_roles": [
"button",
"buttonText",
"control",
"controlText",
"signal",
"uplink"
],
"evidence": "0 action surfaces and 0 control surfaces mapped.",
"summary": "No unexpected interactive surface is introduced for this noninteractive recipe."
},
{
"id": "media-treatment",
"label": "Media treatment",
"axis": "media",
"status": "ready",
"token_roles": [
"panelElevated",
"border",
"textMuted"
],
"evidence": "No media region is required for this recipe.",
"summary": "The recipe remains polished without requiring placeholder media or visual assets inside this block."
},
{
"id": "state-feedback",
"label": "State feedback",
"axis": "state",
"status": "ready",
"token_roles": [
"badge",
"badgeText",
"signal"
],
"evidence": "6 state-readiness entries include default, empty, pending, active, invalid, disabled.",
"summary": "Feedback, selected, loading, invalid, and disabled treatments use visible state evidence instead of color-only meaning."
},
{
"id": "responsive-balance",
"label": "Responsive balance",
"axis": "responsive",
"status": "ready",
"token_roles": [
"panel",
"border",
"control"
],
"evidence": "single-column stack phone behavior, wide single-column composition tablet behavior, and contained composition row desktop behavior documented.",
"summary": "Phone, tablet, and desktop defaults have explicit stack, wrap, media, and overflow policies for the recipe."
}
],
"visual_polish_axes": [
"layout",
"typography",
"interaction",
"media",
"state",
"responsive"
],
"default_provenance_count": 3,
"default_provenance_map": [
{
"path": "appearance",
"label": "Appearance",
"field_role": "style",
"value_type": "object",
"editable": false,
"repeated": false,
"default_source": "Polished SaaS Growth recipe tokens",
"replacement_policy": "locked-token",
"replacement_risk": "medium",
"guardrail": "Keep visual styling aligned to Polished SaaS Growth recipe tokens unless the recipe itself changes.",
"validation": "Style fields should prefer recipe or appearance tokens over one-off inline values.",
"summary": "Appearance defaults from Polished SaaS Growth recipe tokens; replacement is medium risk with locked-token policy."
},
{
"path": "title",
"label": "Title",
"field_role": "copy",
"value_type": "string",
"editable": true,
"repeated": false,
"default_source": "cloneable block recipe payload",
"replacement_policy": "safe-to-edit",
"replacement_risk": "low",
"guardrail": "Copy can be edited directly when text remains trimmed, localizable, and safe to wrap at phone widths.",
"validation": "Text should be editable, trimmed, localizable, and safe to wrap at mobile widths.",
"summary": "Title defaults from cloneable block recipe payload; replacement is low risk with safe-to-edit policy."
},
{
"path": "url",
"label": "Url",
"field_role": "action",
"value_type": "string",
"editable": true,
"repeated": false,
"default_source": "CMS route, URL, or canonical postEvent path",
"replacement_policy": "requires-action-target",
"replacement_risk": "high",
"guardrail": "Keep the label paired with a valid href or canonical postEvent event name before publishing.",
"validation": "Actions should resolve to a URL or event name with a human-readable label.",
"summary": "Url defaults from CMS route, URL, or canonical postEvent path; replacement is high risk with requires-action-target policy."
}
],
"default_replacement_policies": [
"locked-token",
"requires-action-target",
"safe-to-edit"
],
"default_replacement_risks": [
"high",
"low",
"medium"
],
"default_replacement_high_risk_count": 1,
"content_edit_bundle_count": 3,
"content_edit_bundles": [
{
"id": "copy",
"label": "Copy bundle",
"intent": "required",
"edit_mode": "single-field",
"field_paths": [
"title"
],
"default_sources": [
"cloneable block recipe payload"
],
"guardrails": [
"Copy can be edited directly when text remains trimmed, localizable, and safe to wrap at phone widths."
],
"depends_on": [
"type hierarchy",
"mobile wrapping"
],
"summary": "Copy bundle groups 1 field so CMS edits preserve the recipe shape and default polish."
},
{
"id": "actions",
"label": "Action bundle",
"intent": "recommended",
"edit_mode": "single-field",
"field_paths": [
"url"
],
"default_sources": [
"CMS route, URL, or canonical postEvent path"
],
"guardrails": [
"Keep the label paired with a valid href or canonical postEvent event name before publishing."
],
"depends_on": [
"copy labels"
],
"summary": "Action bundle groups 1 field so CMS edits preserve the recipe shape and default polish."
},
{
"id": "style",
"label": "Style bundle",
"intent": "guarded",
"edit_mode": "guarded-system",
"field_paths": [
"appearance"
],
"default_sources": [
"Polished SaaS Growth recipe tokens"
],
"guardrails": [
"Keep visual styling aligned to Polished SaaS Growth recipe tokens unless the recipe itself changes."
],
"depends_on": [
"theme recipe tokens",
"contrast proof"
],
"summary": "Style bundle groups 1 field so CMS edits preserve the recipe shape and default polish."
}
],
"content_edit_bundle_ids": [
"copy",
"actions",
"style"
],
"content_edit_bundle_modes": [
"guarded-system",
"single-field"
],
"content_edit_bundle_required_count": 1,
"content_edit_bundle_guarded_count": 1,
"recipe_compatibility_count": 6,
"recipe_compatibility_map": [
{
"id": "page-context",
"label": "Page context",
"axis": "page",
"fit": "primary",
"values": [
"blog",
"event-promotion",
"partnership-announcement",
"press-release"
],
"evidence": "4 page types mapped for html_embed.",
"guardrail": "Choose the first matching page type before editing copy, media, or actions so the recipe starts in the right narrative context.",
"summary": "html_embed is best composed into blog, event-promotion, partnership-announcement, and related pages."
},
{
"id": "section-role",
"label": "Section role",
"axis": "layout",
"fit": "supporting",
"values": [
"media",
"content"
],
"evidence": "4 anatomy regions produce 2 section roles.",
"guardrail": "Place the block where its required anatomy regions have enough room before compressing it into dense page slots.",
"summary": "html_embed can act as media, content within a composed page."
},
{
"id": "content-model",
"label": "Content model",
"axis": "content",
"fit": "supporting",
"values": [
"copy-led",
"cta-led"
],
"evidence": "2/3 fields are editable across 2 content models.",
"guardrail": "Keep the content model stable when replacing defaults; do not turn a repeatable or media-led recipe into unrelated ad hoc content.",
"summary": "Media Ready composition passport is copy-led, cta-led for CMS composition."
},
{
"id": "interaction-model",
"label": "Interaction model",
"axis": "interaction",
"fit": "supporting",
"values": [
"noninteractive"
],
"evidence": "0 action surfaces and 0 control surfaces mapped.",
"guardrail": "Review href, event, input, required, and disabled-state evidence before publishing an interactive recipe.",
"summary": "html_embed is compatible with noninteractive content sections."
},
{
"id": "authoring-fit",
"label": "Authoring fit",
"axis": "authoring",
"fit": "specialized",
"values": [
"media-led",
"low-complexity",
"1-high-care-replacements"
],
"evidence": "3 default provenance items with 1 high-care replacement.",
"guardrail": "Use the default provenance map before cloning the recipe into CMS content or agent-generated page data.",
"summary": "html_embed uses media-led authoring with low complexity."
},
{
"id": "responsive-fit",
"label": "Responsive fit",
"axis": "responsive",
"fit": "primary",
"values": [
"single-column stack",
"wide single-column composition",
"contained composition row",
"min-width:0 surfaces, wrapping copy, and no horizontal overflow in the static catalog phone smoke."
],
"evidence": "3 responsive behavior maps cover phone, tablet, and desktop composition.",
"guardrail": "Review phone wrapping, tablet mid-width balance, and desktop density before adding nested content, longer labels, or extra media.",
"summary": "html_embed has explicit phone, tablet, and desktop compatibility evidence for composed pages."
}
],
"recipe_compatibility_axes": [
"page",
"layout",
"content",
"interaction",
"authoring",
"responsive"
],
"recipe_compatibility_page_types": [
"blog",
"event-promotion",
"partnership-announcement",
"press-release"
],
"recipe_compatibility_section_roles": [
"media",
"content"
],
"recipe_compatibility_fits": [
"primary",
"specialized",
"supporting"
],
"builder_field_count": 3,
"builder_field_map": [
{
"path": "appearance",
"label": "Appearance",
"value_type": "object",
"role": "style",
"editable": false,
"repeated": false,
"summary": "Appearance is a object field used for style."
},
{
"path": "title",
"label": "Title",
"value_type": "string",
"role": "copy",
"editable": true,
"repeated": false,
"summary": "Title is a string field used for copy."
},
{
"path": "url",
"label": "Url",
"value_type": "string",
"role": "action",
"editable": true,
"repeated": false,
"summary": "Url is a string field used for action."
}
],
"editor_guidance_count": 3,
"editor_guidance_map": [
{
"id": "copy",
"label": "Copy",
"field_role": "copy",
"field_count": 1,
"editable_count": 1,
"editor_widget": "text/rich-text editor",
"validation": "Text should be editable, trimmed, localizable, and safe to wrap at mobile widths.",
"default_source": "cloneable block recipe payload",
"summary": "Copy fields use the text/rich-text editor across 1/1 editable field."
},
{
"id": "action",
"label": "Action",
"field_role": "action",
"field_count": 1,
"editable_count": 1,
"editor_widget": "link or event action editor",
"validation": "Actions should resolve to a URL or event name with a human-readable label.",
"default_source": "CMS route, URL, or canonical postEvent path",
"summary": "Action fields use the link or event action editor across 1/1 editable field."
},
{
"id": "style",
"label": "Style",
"field_role": "style",
"field_count": 1,
"editable_count": 0,
"editor_widget": "appearance preset selector",
"validation": "Style fields should prefer recipe or appearance tokens over one-off inline values.",
"default_source": "Polished SaaS Growth recipe tokens",
"summary": "Style fields use the appearance preset selector across 0/1 editable field."
}
],
"editor_field_roles": [
"copy",
"action",
"style"
],
"editor_editable_field_count": 2,
"state_readiness_count": 6,
"state_readiness_map": [
{
"id": "default",
"label": "Default",
"status": "covered",
"trigger": "Initial render with the cloneable recipe payload",
"visual_treatment": "Polished SaaS Growth tokens with image documentation treatment",
"token_roles": [
"surface",
"panel",
"text",
"button"
],
"proof": "The Polished SaaS Growth recipe renders a contract-safe primary state for html_embed.",
"summary": "Default state uses the recipe surface, text, and action tokens without one-off styling."
},
{
"id": "empty",
"label": "Empty",
"status": "covered",
"trigger": "Optional content is omitted",
"visual_treatment": "Reserved panel space with fallback copy or placeholder media",
"token_roles": [
"panel",
"textMuted",
"badge",
"border"
],
"proof": "Optional content stays inside the documented block shape when omitted.",
"summary": "Empty-state guidance preserves layout rhythm instead of collapsing the block surface."
},
{
"id": "pending",
"label": "Pending",
"status": "covered",
"trigger": "Async assignment, embed load, or form submission is in flight",
"visual_treatment": "Neutral reserved frame with status copy and no layout shift",
"token_roles": [
"control",
"textMuted",
"progressTrack",
"border"
],
"proof": "Async-capable props are mapped through controls, events, or provider placeholders.",
"summary": "Pending state keeps dimensions stable while using muted control/status tokens."
},
{
"id": "active",
"label": "Active",
"status": "covered",
"trigger": "Current block and recipe preview are selected",
"visual_treatment": "Signal/uplink emphasis with visible selected-state chips",
"token_roles": [
"signal",
"uplink",
"button",
"badge"
],
"proof": "Recipe and block selection evidence is rendered in the documentation chrome.",
"summary": "Active state is represented with recipe accent tokens and visible state labels."
},
{
"id": "invalid",
"label": "Invalid",
"status": "covered",
"trigger": "Payload fails the block contract",
"visual_treatment": "Warning/danger status treatment while preserving the block frame",
"token_roles": [
"warning",
"danger",
"border",
"text"
],
"proof": "Contract validation rejects unsupported block payloads instead of rendering unknown UI.",
"summary": "Invalid state guidance favors explicit status evidence over ambiguous visual collapse."
},
{
"id": "disabled",
"label": "Disabled",
"status": "covered",
"trigger": "Noninteractive metadata or held preview state",
"visual_treatment": "Muted affordance with preserved label, spacing, and hit-area rhythm",
"token_roles": [
"control",
"textMuted",
"border",
"panel"
],
"proof": "Noninteractive blocks retain evidence labels without pretending to be clickable.",
"summary": "Disabled state keeps the block readable and spatially stable when interaction is unavailable."
}
],
"state_readiness_states": [
"default",
"empty",
"pending",
"active",
"invalid",
"disabled"
],
"state_readiness_statuses": [
"covered",
"covered",
"covered",
"covered",
"covered",
"covered"
],
"anatomy_region_count": 4,
"anatomy_map": [
{
"id": "surface",
"label": "Surface",
"region_role": "outer layout and background",
"field_paths": [
"appearance"
],
"token_roles": [
"background",
"panel",
"panelElevated",
"border"
],
"state_ids": [
"default",
"empty",
"pending",
"active",
"invalid",
"disabled"
],
"required": true,
"summary": "html_embed uses recipe surface tokens to keep the outer frame styled and composable."
},
{
"id": "copy",
"label": "Copy",
"region_role": "headings, body copy, labels, and supporting text",
"field_paths": [
"title"
],
"token_roles": [
"text",
"textMuted"
],
"state_ids": [
"default",
"empty",
"pending",
"active",
"invalid",
"disabled"
],
"required": true,
"summary": "Copy fields map to primary and muted text roles so editors can change words without restyling the block."
},
{
"id": "actions",
"label": "Actions",
"region_role": "CTA, link, event, and navigation affordances",
"field_paths": [
"url"
],
"token_roles": [
"button",
"buttonText",
"signal",
"uplink"
],
"state_ids": [
"default",
"empty",
"pending",
"active",
"invalid",
"disabled"
],
"required": false,
"summary": "Action regions use recipe button and accent tokens while preserving href or event payloads."
},
{
"id": "feedback",
"label": "Feedback",
"region_role": "status, validation, selected, loading, and disabled evidence",
"field_paths": [],
"token_roles": [
"badge",
"badgeText",
"signal"
],
"state_ids": [
"default",
"empty",
"pending",
"active",
"invalid",
"disabled"
],
"required": true,
"summary": "Feedback regions tie state-readiness evidence to visible recipe status treatments."
}
],
"anatomy_regions": [
"surface",
"copy",
"actions",
"feedback"
],
"anatomy_token_roles": [
"background",
"badge",
"badgeText",
"border",
"button",
"buttonText",
"panel",
"panelElevated",
"signal",
"text",
"textMuted",
"uplink"
],
"action_count": 0,
"action_map": [],
"control_count": 0,
"control_map": [],
"style_token_count": 15,
"style_token_map": [
{
"role": "background",
"label": "Page background",
"value": "#f7fbff",
"token_type": "color",
"summary": "Page background uses the background recipe token."
},
{
"role": "panel",
"label": "Panel surface",
"value": "#ffffff",
"token_type": "color",
"summary": "Panel surface uses the panel recipe token."
},
{
"role": "panelElevated",
"label": "Elevated surface",
"value": "#ffffff",
"token_type": "color",
"summary": "Elevated surface uses the panelElevated recipe token."
},
{
"role": "text",
"label": "Primary text",
"value": "#142033",
"token_type": "color",
"summary": "Primary text uses the text recipe token."
},
{
"role": "textMuted",
"label": "Muted text",
"value": "#526174",
"token_type": "color",
"summary": "Muted text uses the textMuted recipe token."
},
{
"role": "signal",
"label": "Signal accent",
"value": "#166bff",
"token_type": "color",
"summary": "Signal accent uses the signal recipe token."
},
{
"role": "uplink",
"label": "Secondary accent",
"value": "#00a6a6",
"token_type": "color",
"summary": "Secondary accent uses the uplink recipe token."
},
{
"role": "border",
"label": "Border",
"value": "#d6dee8",
"token_type": "color",
"summary": "Border uses the border recipe token."
},
{
"role": "control",
"label": "Control surface",
"value": "#ffffff",
"token_type": "color",
"summary": "Control surface uses the control recipe token."
},
{
"role": "controlText",
"label": "Control text",
"value": "#142033",
"token_type": "color",
"summary": "Control text uses the controlText recipe token."
},
{
"role": "button",
"label": "Button surface",
"value": "#166bff",
"token_type": "color",
"summary": "Button surface uses the button recipe token."
},
{
"role": "buttonText",
"label": "Button text",
"value": "#ffffff",
"token_type": "color",
"summary": "Button text uses the buttonText recipe token."
},
{
"role": "badge",
"label": "Badge surface",
"value": "#eef5ff",
"token_type": "color",
"summary": "Badge surface uses the badge recipe token."
},
{
"role": "badgeText",
"label": "Badge text",
"value": "#174ea6",
"token_type": "color",
"summary": "Badge text uses the badgeText recipe token."
},
{
"role": "fontFamily",
"label": "Font family",
"value": "Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
"token_type": "font",
"summary": "Font family comes from the active recipe theme tokens."
}
],
"style_token_roles": [
"background",
"panel",
"panelElevated",
"text",
"textMuted",
"signal",
"uplink",
"border",
"control",
"controlText",
"button",
"buttonText",
"badge",
"badgeText",
"fontFamily"
],
"contrast_check_count": 6,
"contrast_pass_count": 6,
"contrast_checks": [
{
"id": "text-on-background",
"label": "Text on background",
"foreground_role": "text",
"background_role": "background",
"foreground": "#142033",
"background": "#f7fbff",
"ratio": 15.73,
"required_ratio": 4.5,
"passes": true,
"level": "AAA",
"summary": "Text on background is AAA at 15.73:1 against a 4.5:1 requirement."
},
{
"id": "text-on-panel",
"label": "Text on panel",
"foreground_role": "text",
"background_role": "panel",
"foreground": "#142033",
"background": "#ffffff",
"ratio": 16.35,
"required_ratio": 4.5,
"passes": true,
"level": "AAA",
"summary": "Text on panel is AAA at 16.35:1 against a 4.5:1 requirement."
},
{
"id": "muted-text-on-panel",
"label": "Muted text on panel",
"foreground_role": "textMuted",
"background_role": "panel",
"foreground": "#526174",
"background": "#ffffff",
"ratio": 6.32,
"required_ratio": 4.5,
"passes": true,
"level": "AA",
"summary": "Muted text on panel is AA at 6.32:1 against a 4.5:1 requirement."
},
{
"id": "button-text-on-button",
"label": "Button text on button",
"foreground_role": "buttonText",
"background_role": "button",
"foreground": "#ffffff",
"background": "#166bff",
"ratio": 4.58,
"required_ratio": 4.5,
"passes": true,
"level": "AA",
"summary": "Button text on button is AA at 4.58:1 against a 4.5:1 requirement."
},
{
"id": "control-text-on-control",
"label": "Control text on control",
"foreground_role": "controlText",
"background_role": "control",
"foreground": "#142033",
"background": "#ffffff",
"ratio": 16.35,
"required_ratio": 4.5,
"passes": true,
"level": "AAA",
"summary": "Control text on control is AAA at 16.35:1 against a 4.5:1 requirement."
},
{
"id": "badge-text-on-badge",
"label": "Badge text on badge",
"foreground_role": "badgeText",
"background_role": "badge",
"foreground": "#174ea6",
"background": "#eef5ff",
"ratio": 7.15,
"required_ratio": 4.5,
"passes": true,
"level": "AAA",
"summary": "Badge text on badge is AAA at 7.15:1 against a 4.5:1 requirement."
}
],
"contrast_target": "AA",
"accessibility_standard": "WCAG_2_2_AA",
"accessibility_check_count": 5,
"accessibility_checks": [
{
"id": "semantic-structure",
"label": "Semantic structure",
"category": "semantics",
"status": "covered",
"required": true,
"proof": "runtime block sections, cards, lists, and headings",
"summary": "html_embed keeps semantic wrappers and readable heading/copy structure in the runtime preview."
},
{
"id": "keyboard-and-tap-targets",
"label": "Keyboard and tap targets",
"category": "keyboard",
"status": "covered",
"required": false,
"proof": "static content has no hidden focus trap",
"summary": "The payload is static content, so the accessibility contract is to avoid hidden or misleading interactive affordances."
},
{
"id": "text-alternatives",
"label": "Text alternatives",
"category": "media",
"status": "covered",
"required": true,
"proof": "media fields include alt/label/title fallbacks",
"summary": "Media-ready recipes expose replaceable alt text or accessible labels for images, logos, embeds, and placeholders."
},
{
"id": "control-labels",
"label": "Control labels",
"category": "forms",
"status": "covered",
"required": false,
"proof": "no input controls in this payload",
"summary": "No input controls are present, so there are no unlabeled fields to remediate."
},
{
"id": "status-and-motion",
"label": "Status and motion",
"category": "state",
"status": "covered",
"required": true,
"proof": "runtime evidence avoids hidden status-only content",
"summary": "Recipe defaults avoid motion-only meaning and keep status text inspectable when state is present."
}
],
"responsive_behavior_count": 3,
"responsive_behavior_map": [
{
"id": "phone",
"label": "Phone",
"viewport_width": 390,
"layout_mode": "single-column stack",
"column_count": 1,
"spacing_density": "spacious",
"media_policy": "Inline media uses full-width phone framing, tablet-friendly aspect ratios, and stable desktop constraints.",
"overflow_policy": "min-width:0 surfaces, wrapping copy, and no horizontal overflow in the static catalog phone smoke.",
"interaction_policy": "Static content keeps readable line lengths and avoids hidden interactive affordances.",
"proof": "npm run test:static:block-catalog all-blocks-phone",
"summary": "Polished SaaS Growth stacks html_embed into one phone column with spacious spacing and bounded content."
},
{
"id": "tablet",
"label": "Tablet",
"viewport_width": 768,
"layout_mode": "wide single-column composition",
"column_count": 1,
"spacing_density": "spacious",
"media_policy": "Inline media uses full-width phone framing, tablet-friendly aspect ratios, and stable desktop constraints.",
"overflow_policy": "tablet preview frames keep mid-width composition, wrap controls, and avoid horizontal overflow in the static catalog smoke.",
"interaction_policy": "Static content keeps readable line lengths and avoids hidden interactive affordances.",
"proof": "npm run test:static:block-catalog all-blocks-tablet",
"summary": "Polished SaaS Growth adapts html_embed to 1 tablet column before expanding to the desktop layout."
},
{
"id": "desktop",
"label": "Desktop",
"viewport_width": 1366,
"layout_mode": "contained composition row",
"column_count": 1,
"spacing_density": "spacious",
"media_policy": "Inline media uses full-width phone framing, tablet-friendly aspect ratios, and stable desktop constraints.",
"overflow_policy": "desktop preview frames keep constrained widths, stable cards, and no horizontal overflow in the static catalog smoke.",
"interaction_policy": "Static content keeps readable line lengths and avoids hidden interactive affordances.",
"proof": "npm run test:static:block-catalog all-blocks-desktop",
"summary": "Polished SaaS Growth gives html_embed up to 1 desktop column while preserving recipe spacing."
}
],
"responsive_viewports": [
"phone",
"tablet",
"desktop"
],
"responsive_proof": [
"npm run test:static:block-catalog all-blocks-phone",
"npm run test:static:block-catalog all-blocks-tablet",
"npm run test:static:block-catalog all-blocks-desktop"
],
"interactive_roles": [],
"recipe_alignment": {
"action_token": "button",
"control_token": "control",
"surface_token": "panel",
"text_token": "text",
"source": "theme recipe tokens"
}
},
"cloneable": true
}
}A dense operator-friendly payload for dashboards, catalogs, forms, and internal review surfaces.
html_embed uses recipe surface tokens to keep the outer frame styled and composable.
background, panel, panelElevated, borderCopy fields map to primary and muted text roles so editors can change words without restyling the block.
text, textMutedAction regions use recipe button and accent tokens while preserving href or event payloads.
button, buttonText, signal, uplinkFeedback regions tie state-readiness evidence to visible recipe status treatments.
badge, badgeText, signalUse when editors need denser html_embed controls, diagnostics, or internal review context.
Compact Ops is a low-complexity operator-review recipe with 4 documented composition slots.
3 required regions, 1 optional regions.
html_embed is best composed into blog, event-promotion, partnership-announcement, and related pages.
5 page types mapped for html_embed.Choose the first matching page type before editing copy, media, or actions so the recipe starts in the right narrative context.html_embed can act as media, content within a composed page.
4 anatomy regions produce 2 section roles.Place the block where its required anatomy regions have enough room before compressing it into dense page slots.Compact Ops composition passport is copy-led, cta-led for CMS composition.
2/3 fields are editable across 2 content models.Keep the content model stable when replacing defaults; do not turn a repeatable or media-led recipe into unrelated ad hoc content.html_embed is compatible with noninteractive content sections.
0 action surfaces and 0 control surfaces mapped.Review href, event, input, required, and disabled-state evidence before publishing an interactive recipe.html_embed uses operator-review authoring with low complexity.
3 default provenance items with 1 high-care replacement.Use the default provenance map before cloning the recipe into CMS content or agent-generated page data.html_embed has explicit phone, tablet, and desktop compatibility evidence for composed pages.
3 responsive behavior maps cover phone, tablet, and desktop composition.Review phone wrapping, tablet mid-width balance, and desktop density before adding nested content, longer labels, or extra media.html_embed keeps a stable recipe surface with panel, border, and spacing roles instead of ad hoc wrappers.
dense treatment uses compact density and 8px radius base.background, panel, panelElevated, borderPrimary, muted, and badge text roles stay distinct enough for headings, body copy, metadata, and helper text.
6/6 contrast checks pass the AA target.text, textMuted, badgeTextNo unexpected interactive surface is introduced for this noninteractive recipe.
0 action surfaces and 0 control surfaces mapped.button, buttonText, control, controlText, signal, uplinkThe recipe remains polished without requiring placeholder media or visual assets inside this block.
No media region is required for this recipe.panelElevated, border, textMutedFeedback, selected, loading, invalid, and disabled treatments use visible state evidence instead of color-only meaning.
6 state-readiness entries include default, empty, pending, active, invalid, disabled.badge, badgeText, signalPhone, tablet, and desktop defaults have explicit stack, wrap, media, and overflow policies for the recipe.
single-column stack phone behavior, wide single-column composition tablet behavior, and contained composition row desktop behavior documented.panel, border, controlKeep visual styling aligned to Compact Ops recipe tokens unless the recipe itself changes.
Compact Ops recipe tokensCopy can be edited directly when text remains trimmed, localizable, and safe to wrap at phone widths.
cloneable block recipe payloadKeep the label paired with a valid href or canonical postEvent event name before publishing.
CMS route, URL, or canonical postEvent pathCopy bundle groups 1 field so CMS edits preserve the recipe shape and default polish.
cloneable block recipe payloadCopy can be edited directly when text remains trimmed, localizable, and safe to wrap at phone widths.Action bundle groups 1 field so CMS edits preserve the recipe shape and default polish.
CMS route, URL, or canonical postEvent pathKeep the label paired with a valid href or canonical postEvent event name before publishing.Style bundle groups 1 field so CMS edits preserve the recipe shape and default polish.
Compact Ops recipe tokensKeep visual styling aligned to Compact Ops recipe tokens unless the recipe itself changes.Text should be editable, trimmed, localizable, and safe to wrap at mobile widths.
cloneable block recipe payloadActions should resolve to a URL or event name with a human-readable label.
CMS route, URL, or canonical postEvent pathStyle fields should prefer recipe or appearance tokens over one-off inline values.
Compact Ops recipe tokensCompact Ops tokens with dense documentation treatment
The Compact Ops recipe renders a contract-safe primary state for html_embed.Reserved panel space with fallback copy or placeholder media
Optional content stays inside the documented block shape when omitted.Neutral reserved frame with status copy and no layout shift
Async-capable props are mapped through controls, events, or provider placeholders.Signal/uplink emphasis with visible selected-state chips
Recipe and block selection evidence is rendered in the documentation chrome.Warning/danger status treatment while preserving the block frame
Contract validation rejects unsupported block payloads instead of rendering unknown UI.Muted affordance with preserved label, spacing, and hit-area rhythm
Noninteractive blocks retain evidence labels without pretending to be clickable.No public action surface is needed for this payload.
No input control is needed for this payload.
html_embed keeps semantic wrappers and readable heading/copy structure in the runtime preview.
runtime block sections, cards, lists, and headingsThe payload is static content, so the accessibility contract is to avoid hidden or misleading interactive affordances.
static content has no hidden focus trapMedia-ready recipes expose replaceable alt text or accessible labels for images, logos, embeds, and placeholders.
media fields include alt/label/title fallbacksNo input controls are present, so there are no unlabeled fields to remediate.
no input controls in this payloadRecipe defaults avoid motion-only meaning and keep status text inspectable when state is present.
runtime evidence avoids hidden status-only contentCompact Ops stacks html_embed into one phone column with compact spacing and bounded content.
min-width:0 surfaces, wrapping copy, and no horizontal overflow in the static catalog phone smoke.Compact Ops adapts html_embed to 1 tablet column before expanding to the desktop layout.
tablet preview frames keep mid-width composition, wrap controls, and avoid horizontal overflow in the static catalog smoke.Compact Ops gives html_embed up to 1 desktop column while preserving recipe spacing.
desktop preview frames keep constrained widths, stable cards, and no horizontal overflow in the static catalog smoke.{
"id": "block-doc-html-embed-data-compact-ops",
"block_type": "html_embed",
"props": {
"appearance": {
"preset": "dashboard"
},
"title": "Html Embed embed",
"url": "https://example.com/embed"
},
"block_order": 3,
"metadata": {
"composition_recipe": {
"id": "compact-ops",
"intent": "operator",
"label": "Compact Ops",
"recipe": "compact-ops",
"source": "block-explorer",
"quality_proof": [
"composition"
],
"composition_passport": {
"id": "compact-ops",
"label": "Compact Ops composition passport",
"intent": "operator",
"recipe": "compact-ops",
"authoring_mode": "operator-review",
"complexity": "low",
"fit": "Use when editors need denser html_embed controls, diagnostics, or internal review context.",
"required_regions": [
"surface",
"copy",
"feedback"
],
"optional_regions": [
"actions"
],
"slots": [
{
"id": "surface",
"label": "Surface",
"required": true,
"field_count": 1,
"editable_count": 0,
"token_roles": [
"background",
"panel",
"panelElevated",
"border"
],
"summary": "html_embed uses recipe surface tokens to keep the outer frame styled and composable."
},
{
"id": "copy",
"label": "Copy",
"required": true,
"field_count": 1,
"editable_count": 1,
"token_roles": [
"text",
"textMuted"
],
"summary": "Copy fields map to primary and muted text roles so editors can change words without restyling the block."
},
{
"id": "actions",
"label": "Actions",
"required": false,
"field_count": 1,
"editable_count": 1,
"token_roles": [
"button",
"buttonText",
"signal",
"uplink"
],
"summary": "Action regions use recipe button and accent tokens while preserving href or event payloads."
},
{
"id": "feedback",
"label": "Feedback",
"required": true,
"field_count": 0,
"editable_count": 0,
"token_roles": [
"badge",
"badgeText",
"signal"
],
"summary": "Feedback regions tie state-readiness evidence to visible recipe status treatments."
}
],
"builder_field_count": 3,
"editable_field_count": 2,
"action_count": 0,
"control_count": 0,
"replacement_guidance": [
"Keep Compact Ops recipe tokens as the source of visual styling for the surface, text, controls, and actions.",
"No media replacement is required; keep the layout rhythm stable when optional visual fields are omitted.",
"No action wiring is required for this recipe; avoid inventing clickable surfaces in content.",
"No input controls are required; keep the recipe focused on its documented display regions.",
"The recipe does not require repeatable collection editing."
],
"publish_checklist": [
"Validate html_embed against its block contract before publishing.",
"3 required anatomy regions remain present: surface, copy, feedback.",
"2/3 builder fields are CMS-editable or intentionally locked.",
"Noninteractive presentation has no unexpected action or control surfaces.",
"Phone, tablet, and desktop responsive behavior maps have been reviewed for wrapping and overflow.",
"Contrast checks meet the AA recipe target."
],
"agent_notes": [
"Prefer editing props fields described by the builder field map; metadata is evidence, not primary content.",
"Preserve recipe_alignment token roles unless the page theme or recipe changes intentionally.",
"Use the anatomy slots to compose or replace content without changing the block type."
],
"summary": "Compact Ops is a low-complexity operator-review recipe with 4 documented composition slots."
},
"composition_passport_complexity": "low",
"composition_passport_authoring_mode": "operator-review",
"composition_passport_slots": [
"surface",
"copy",
"actions",
"feedback"
],
"composition_passport_check_count": 6,
"visual_polish_check_count": 6,
"visual_polish_pass_count": 6,
"visual_polish_checks": [
{
"id": "surface-rhythm",
"label": "Surface rhythm",
"axis": "layout",
"status": "ready",
"token_roles": [
"background",
"panel",
"panelElevated",
"border"
],
"evidence": "dense treatment uses compact density and 8px radius base.",
"summary": "html_embed keeps a stable recipe surface with panel, border, and spacing roles instead of ad hoc wrappers."
},
{
"id": "type-hierarchy",
"label": "Type hierarchy",
"axis": "typography",
"status": "ready",
"token_roles": [
"text",
"textMuted",
"badgeText"
],
"evidence": "6/6 contrast checks pass the AA target.",
"summary": "Primary, muted, and badge text roles stay distinct enough for headings, body copy, metadata, and helper text."
},
{
"id": "action-clarity",
"label": "Action clarity",
"axis": "interaction",
"status": "ready",
"token_roles": [
"button",
"buttonText",
"control",
"controlText",
"signal",
"uplink"
],
"evidence": "0 action surfaces and 0 control surfaces mapped.",
"summary": "No unexpected interactive surface is introduced for this noninteractive recipe."
},
{
"id": "media-treatment",
"label": "Media treatment",
"axis": "media",
"status": "ready",
"token_roles": [
"panelElevated",
"border",
"textMuted"
],
"evidence": "No media region is required for this recipe.",
"summary": "The recipe remains polished without requiring placeholder media or visual assets inside this block."
},
{
"id": "state-feedback",
"label": "State feedback",
"axis": "state",
"status": "ready",
"token_roles": [
"badge",
"badgeText",
"signal"
],
"evidence": "6 state-readiness entries include default, empty, pending, active, invalid, disabled.",
"summary": "Feedback, selected, loading, invalid, and disabled treatments use visible state evidence instead of color-only meaning."
},
{
"id": "responsive-balance",
"label": "Responsive balance",
"axis": "responsive",
"status": "ready",
"token_roles": [
"panel",
"border",
"control"
],
"evidence": "single-column stack phone behavior, wide single-column composition tablet behavior, and contained composition row desktop behavior documented.",
"summary": "Phone, tablet, and desktop defaults have explicit stack, wrap, media, and overflow policies for the recipe."
}
],
"visual_polish_axes": [
"layout",
"typography",
"interaction",
"media",
"state",
"responsive"
],
"default_provenance_count": 3,
"default_provenance_map": [
{
"path": "appearance",
"label": "Appearance",
"field_role": "style",
"value_type": "object",
"editable": false,
"repeated": false,
"default_source": "Compact Ops recipe tokens",
"replacement_policy": "locked-token",
"replacement_risk": "medium",
"guardrail": "Keep visual styling aligned to Compact Ops recipe tokens unless the recipe itself changes.",
"validation": "Style fields should prefer recipe or appearance tokens over one-off inline values.",
"summary": "Appearance defaults from Compact Ops recipe tokens; replacement is medium risk with locked-token policy."
},
{
"path": "title",
"label": "Title",
"field_role": "copy",
"value_type": "string",
"editable": true,
"repeated": false,
"default_source": "cloneable block recipe payload",
"replacement_policy": "safe-to-edit",
"replacement_risk": "low",
"guardrail": "Copy can be edited directly when text remains trimmed, localizable, and safe to wrap at phone widths.",
"validation": "Text should be editable, trimmed, localizable, and safe to wrap at mobile widths.",
"summary": "Title defaults from cloneable block recipe payload; replacement is low risk with safe-to-edit policy."
},
{
"path": "url",
"label": "Url",
"field_role": "action",
"value_type": "string",
"editable": true,
"repeated": false,
"default_source": "CMS route, URL, or canonical postEvent path",
"replacement_policy": "requires-action-target",
"replacement_risk": "high",
"guardrail": "Keep the label paired with a valid href or canonical postEvent event name before publishing.",
"validation": "Actions should resolve to a URL or event name with a human-readable label.",
"summary": "Url defaults from CMS route, URL, or canonical postEvent path; replacement is high risk with requires-action-target policy."
}
],
"default_replacement_policies": [
"locked-token",
"requires-action-target",
"safe-to-edit"
],
"default_replacement_risks": [
"high",
"low",
"medium"
],
"default_replacement_high_risk_count": 1,
"content_edit_bundle_count": 3,
"content_edit_bundles": [
{
"id": "copy",
"label": "Copy bundle",
"intent": "required",
"edit_mode": "single-field",
"field_paths": [
"title"
],
"default_sources": [
"cloneable block recipe payload"
],
"guardrails": [
"Copy can be edited directly when text remains trimmed, localizable, and safe to wrap at phone widths."
],
"depends_on": [
"type hierarchy",
"mobile wrapping"
],
"summary": "Copy bundle groups 1 field so CMS edits preserve the recipe shape and default polish."
},
{
"id": "actions",
"label": "Action bundle",
"intent": "recommended",
"edit_mode": "single-field",
"field_paths": [
"url"
],
"default_sources": [
"CMS route, URL, or canonical postEvent path"
],
"guardrails": [
"Keep the label paired with a valid href or canonical postEvent event name before publishing."
],
"depends_on": [
"copy labels"
],
"summary": "Action bundle groups 1 field so CMS edits preserve the recipe shape and default polish."
},
{
"id": "style",
"label": "Style bundle",
"intent": "guarded",
"edit_mode": "guarded-system",
"field_paths": [
"appearance"
],
"default_sources": [
"Compact Ops recipe tokens"
],
"guardrails": [
"Keep visual styling aligned to Compact Ops recipe tokens unless the recipe itself changes."
],
"depends_on": [
"theme recipe tokens",
"contrast proof"
],
"summary": "Style bundle groups 1 field so CMS edits preserve the recipe shape and default polish."
}
],
"content_edit_bundle_ids": [
"copy",
"actions",
"style"
],
"content_edit_bundle_modes": [
"guarded-system",
"single-field"
],
"content_edit_bundle_required_count": 1,
"content_edit_bundle_guarded_count": 1,
"recipe_compatibility_count": 6,
"recipe_compatibility_map": [
{
"id": "page-context",
"label": "Page context",
"axis": "page",
"fit": "primary",
"values": [
"blog",
"event-promotion",
"partnership-announcement",
"press-release",
"listing"
],
"evidence": "5 page types mapped for html_embed.",
"guardrail": "Choose the first matching page type before editing copy, media, or actions so the recipe starts in the right narrative context.",
"summary": "html_embed is best composed into blog, event-promotion, partnership-announcement, and related pages."
},
{
"id": "section-role",
"label": "Section role",
"axis": "layout",
"fit": "supporting",
"values": [
"media",
"content"
],
"evidence": "4 anatomy regions produce 2 section roles.",
"guardrail": "Place the block where its required anatomy regions have enough room before compressing it into dense page slots.",
"summary": "html_embed can act as media, content within a composed page."
},
{
"id": "content-model",
"label": "Content model",
"axis": "content",
"fit": "supporting",
"values": [
"copy-led",
"cta-led"
],
"evidence": "2/3 fields are editable across 2 content models.",
"guardrail": "Keep the content model stable when replacing defaults; do not turn a repeatable or media-led recipe into unrelated ad hoc content.",
"summary": "Compact Ops composition passport is copy-led, cta-led for CMS composition."
},
{
"id": "interaction-model",
"label": "Interaction model",
"axis": "interaction",
"fit": "supporting",
"values": [
"noninteractive"
],
"evidence": "0 action surfaces and 0 control surfaces mapped.",
"guardrail": "Review href, event, input, required, and disabled-state evidence before publishing an interactive recipe.",
"summary": "html_embed is compatible with noninteractive content sections."
},
{
"id": "authoring-fit",
"label": "Authoring fit",
"axis": "authoring",
"fit": "specialized",
"values": [
"operator-review",
"low-complexity",
"1-high-care-replacements"
],
"evidence": "3 default provenance items with 1 high-care replacement.",
"guardrail": "Use the default provenance map before cloning the recipe into CMS content or agent-generated page data.",
"summary": "html_embed uses operator-review authoring with low complexity."
},
{
"id": "responsive-fit",
"label": "Responsive fit",
"axis": "responsive",
"fit": "primary",
"values": [
"single-column stack",
"wide single-column composition",
"contained composition row",
"min-width:0 surfaces, wrapping copy, and no horizontal overflow in the static catalog phone smoke."
],
"evidence": "3 responsive behavior maps cover phone, tablet, and desktop composition.",
"guardrail": "Review phone wrapping, tablet mid-width balance, and desktop density before adding nested content, longer labels, or extra media.",
"summary": "html_embed has explicit phone, tablet, and desktop compatibility evidence for composed pages."
}
],
"recipe_compatibility_axes": [
"page",
"layout",
"content",
"interaction",
"authoring",
"responsive"
],
"recipe_compatibility_page_types": [
"blog",
"event-promotion",
"partnership-announcement",
"press-release",
"listing"
],
"recipe_compatibility_section_roles": [
"media",
"content"
],
"recipe_compatibility_fits": [
"primary",
"specialized",
"supporting"
],
"builder_field_count": 3,
"builder_field_map": [
{
"path": "appearance",
"label": "Appearance",
"value_type": "object",
"role": "style",
"editable": false,
"repeated": false,
"summary": "Appearance is a object field used for style."
},
{
"path": "title",
"label": "Title",
"value_type": "string",
"role": "copy",
"editable": true,
"repeated": false,
"summary": "Title is a string field used for copy."
},
{
"path": "url",
"label": "Url",
"value_type": "string",
"role": "action",
"editable": true,
"repeated": false,
"summary": "Url is a string field used for action."
}
],
"editor_guidance_count": 3,
"editor_guidance_map": [
{
"id": "copy",
"label": "Copy",
"field_role": "copy",
"field_count": 1,
"editable_count": 1,
"editor_widget": "text/rich-text editor",
"validation": "Text should be editable, trimmed, localizable, and safe to wrap at mobile widths.",
"default_source": "cloneable block recipe payload",
"summary": "Copy fields use the text/rich-text editor across 1/1 editable field."
},
{
"id": "action",
"label": "Action",
"field_role": "action",
"field_count": 1,
"editable_count": 1,
"editor_widget": "link or event action editor",
"validation": "Actions should resolve to a URL or event name with a human-readable label.",
"default_source": "CMS route, URL, or canonical postEvent path",
"summary": "Action fields use the link or event action editor across 1/1 editable field."
},
{
"id": "style",
"label": "Style",
"field_role": "style",
"field_count": 1,
"editable_count": 0,
"editor_widget": "appearance preset selector",
"validation": "Style fields should prefer recipe or appearance tokens over one-off inline values.",
"default_source": "Compact Ops recipe tokens",
"summary": "Style fields use the appearance preset selector across 0/1 editable field."
}
],
"editor_field_roles": [
"copy",
"action",
"style"
],
"editor_editable_field_count": 2,
"state_readiness_count": 6,
"state_readiness_map": [
{
"id": "default",
"label": "Default",
"status": "covered",
"trigger": "Initial render with the cloneable recipe payload",
"visual_treatment": "Compact Ops tokens with dense documentation treatment",
"token_roles": [
"surface",
"panel",
"text",
"button"
],
"proof": "The Compact Ops recipe renders a contract-safe primary state for html_embed.",
"summary": "Default state uses the recipe surface, text, and action tokens without one-off styling."
},
{
"id": "empty",
"label": "Empty",
"status": "covered",
"trigger": "Optional content is omitted",
"visual_treatment": "Reserved panel space with fallback copy or placeholder media",
"token_roles": [
"panel",
"textMuted",
"badge",
"border"
],
"proof": "Optional content stays inside the documented block shape when omitted.",
"summary": "Empty-state guidance preserves layout rhythm instead of collapsing the block surface."
},
{
"id": "pending",
"label": "Pending",
"status": "covered",
"trigger": "Async assignment, embed load, or form submission is in flight",
"visual_treatment": "Neutral reserved frame with status copy and no layout shift",
"token_roles": [
"control",
"textMuted",
"progressTrack",
"border"
],
"proof": "Async-capable props are mapped through controls, events, or provider placeholders.",
"summary": "Pending state keeps dimensions stable while using muted control/status tokens."
},
{
"id": "active",
"label": "Active",
"status": "covered",
"trigger": "Current block and recipe preview are selected",
"visual_treatment": "Signal/uplink emphasis with visible selected-state chips",
"token_roles": [
"signal",
"uplink",
"button",
"badge"
],
"proof": "Recipe and block selection evidence is rendered in the documentation chrome.",
"summary": "Active state is represented with recipe accent tokens and visible state labels."
},
{
"id": "invalid",
"label": "Invalid",
"status": "covered",
"trigger": "Payload fails the block contract",
"visual_treatment": "Warning/danger status treatment while preserving the block frame",
"token_roles": [
"warning",
"danger",
"border",
"text"
],
"proof": "Contract validation rejects unsupported block payloads instead of rendering unknown UI.",
"summary": "Invalid state guidance favors explicit status evidence over ambiguous visual collapse."
},
{
"id": "disabled",
"label": "Disabled",
"status": "covered",
"trigger": "Noninteractive metadata or held preview state",
"visual_treatment": "Muted affordance with preserved label, spacing, and hit-area rhythm",
"token_roles": [
"control",
"textMuted",
"border",
"panel"
],
"proof": "Noninteractive blocks retain evidence labels without pretending to be clickable.",
"summary": "Disabled state keeps the block readable and spatially stable when interaction is unavailable."
}
],
"state_readiness_states": [
"default",
"empty",
"pending",
"active",
"invalid",
"disabled"
],
"state_readiness_statuses": [
"covered",
"covered",
"covered",
"covered",
"covered",
"covered"
],
"anatomy_region_count": 4,
"anatomy_map": [
{
"id": "surface",
"label": "Surface",
"region_role": "outer layout and background",
"field_paths": [
"appearance"
],
"token_roles": [
"background",
"panel",
"panelElevated",
"border"
],
"state_ids": [
"default",
"empty",
"pending",
"active",
"invalid",
"disabled"
],
"required": true,
"summary": "html_embed uses recipe surface tokens to keep the outer frame styled and composable."
},
{
"id": "copy",
"label": "Copy",
"region_role": "headings, body copy, labels, and supporting text",
"field_paths": [
"title"
],
"token_roles": [
"text",
"textMuted"
],
"state_ids": [
"default",
"empty",
"pending",
"active",
"invalid",
"disabled"
],
"required": true,
"summary": "Copy fields map to primary and muted text roles so editors can change words without restyling the block."
},
{
"id": "actions",
"label": "Actions",
"region_role": "CTA, link, event, and navigation affordances",
"field_paths": [
"url"
],
"token_roles": [
"button",
"buttonText",
"signal",
"uplink"
],
"state_ids": [
"default",
"empty",
"pending",
"active",
"invalid",
"disabled"
],
"required": false,
"summary": "Action regions use recipe button and accent tokens while preserving href or event payloads."
},
{
"id": "feedback",
"label": "Feedback",
"region_role": "status, validation, selected, loading, and disabled evidence",
"field_paths": [],
"token_roles": [
"badge",
"badgeText",
"signal"
],
"state_ids": [
"default",
"empty",
"pending",
"active",
"invalid",
"disabled"
],
"required": true,
"summary": "Feedback regions tie state-readiness evidence to visible recipe status treatments."
}
],
"anatomy_regions": [
"surface",
"copy",
"actions",
"feedback"
],
"anatomy_token_roles": [
"background",
"badge",
"badgeText",
"border",
"button",
"buttonText",
"panel",
"panelElevated",
"signal",
"text",
"textMuted",
"uplink"
],
"action_count": 0,
"action_map": [],
"control_count": 0,
"control_map": [],
"style_token_count": 15,
"style_token_map": [
{
"role": "background",
"label": "Page background",
"value": "#f7fbff",
"token_type": "color",
"summary": "Page background uses the background recipe token."
},
{
"role": "panel",
"label": "Panel surface",
"value": "#ffffff",
"token_type": "color",
"summary": "Panel surface uses the panel recipe token."
},
{
"role": "panelElevated",
"label": "Elevated surface",
"value": "#ffffff",
"token_type": "color",
"summary": "Elevated surface uses the panelElevated recipe token."
},
{
"role": "text",
"label": "Primary text",
"value": "#142033",
"token_type": "color",
"summary": "Primary text uses the text recipe token."
},
{
"role": "textMuted",
"label": "Muted text",
"value": "#526174",
"token_type": "color",
"summary": "Muted text uses the textMuted recipe token."
},
{
"role": "signal",
"label": "Signal accent",
"value": "#166bff",
"token_type": "color",
"summary": "Signal accent uses the signal recipe token."
},
{
"role": "uplink",
"label": "Secondary accent",
"value": "#00a6a6",
"token_type": "color",
"summary": "Secondary accent uses the uplink recipe token."
},
{
"role": "border",
"label": "Border",
"value": "#d6dee8",
"token_type": "color",
"summary": "Border uses the border recipe token."
},
{
"role": "control",
"label": "Control surface",
"value": "#ffffff",
"token_type": "color",
"summary": "Control surface uses the control recipe token."
},
{
"role": "controlText",
"label": "Control text",
"value": "#142033",
"token_type": "color",
"summary": "Control text uses the controlText recipe token."
},
{
"role": "button",
"label": "Button surface",
"value": "#166bff",
"token_type": "color",
"summary": "Button surface uses the button recipe token."
},
{
"role": "buttonText",
"label": "Button text",
"value": "#ffffff",
"token_type": "color",
"summary": "Button text uses the buttonText recipe token."
},
{
"role": "badge",
"label": "Badge surface",
"value": "#eef5ff",
"token_type": "color",
"summary": "Badge surface uses the badge recipe token."
},
{
"role": "badgeText",
"label": "Badge text",
"value": "#174ea6",
"token_type": "color",
"summary": "Badge text uses the badgeText recipe token."
},
{
"role": "fontFamily",
"label": "Font family",
"value": "Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
"token_type": "font",
"summary": "Font family comes from the active recipe theme tokens."
}
],
"style_token_roles": [
"background",
"panel",
"panelElevated",
"text",
"textMuted",
"signal",
"uplink",
"border",
"control",
"controlText",
"button",
"buttonText",
"badge",
"badgeText",
"fontFamily"
],
"contrast_check_count": 6,
"contrast_pass_count": 6,
"contrast_checks": [
{
"id": "text-on-background",
"label": "Text on background",
"foreground_role": "text",
"background_role": "background",
"foreground": "#142033",
"background": "#f7fbff",
"ratio": 15.73,
"required_ratio": 4.5,
"passes": true,
"level": "AAA",
"summary": "Text on background is AAA at 15.73:1 against a 4.5:1 requirement."
},
{
"id": "text-on-panel",
"label": "Text on panel",
"foreground_role": "text",
"background_role": "panel",
"foreground": "#142033",
"background": "#ffffff",
"ratio": 16.35,
"required_ratio": 4.5,
"passes": true,
"level": "AAA",
"summary": "Text on panel is AAA at 16.35:1 against a 4.5:1 requirement."
},
{
"id": "muted-text-on-panel",
"label": "Muted text on panel",
"foreground_role": "textMuted",
"background_role": "panel",
"foreground": "#526174",
"background": "#ffffff",
"ratio": 6.32,
"required_ratio": 4.5,
"passes": true,
"level": "AA",
"summary": "Muted text on panel is AA at 6.32:1 against a 4.5:1 requirement."
},
{
"id": "button-text-on-button",
"label": "Button text on button",
"foreground_role": "buttonText",
"background_role": "button",
"foreground": "#ffffff",
"background": "#166bff",
"ratio": 4.58,
"required_ratio": 4.5,
"passes": true,
"level": "AA",
"summary": "Button text on button is AA at 4.58:1 against a 4.5:1 requirement."
},
{
"id": "control-text-on-control",
"label": "Control text on control",
"foreground_role": "controlText",
"background_role": "control",
"foreground": "#142033",
"background": "#ffffff",
"ratio": 16.35,
"required_ratio": 4.5,
"passes": true,
"level": "AAA",
"summary": "Control text on control is AAA at 16.35:1 against a 4.5:1 requirement."
},
{
"id": "badge-text-on-badge",
"label": "Badge text on badge",
"foreground_role": "badgeText",
"background_role": "badge",
"foreground": "#174ea6",
"background": "#eef5ff",
"ratio": 7.15,
"required_ratio": 4.5,
"passes": true,
"level": "AAA",
"summary": "Badge text on badge is AAA at 7.15:1 against a 4.5:1 requirement."
}
],
"contrast_target": "AA",
"accessibility_standard": "WCAG_2_2_AA",
"accessibility_check_count": 5,
"accessibility_checks": [
{
"id": "semantic-structure",
"label": "Semantic structure",
"category": "semantics",
"status": "covered",
"required": true,
"proof": "runtime block sections, cards, lists, and headings",
"summary": "html_embed keeps semantic wrappers and readable heading/copy structure in the runtime preview."
},
{
"id": "keyboard-and-tap-targets",
"label": "Keyboard and tap targets",
"category": "keyboard",
"status": "covered",
"required": false,
"proof": "static content has no hidden focus trap",
"summary": "The payload is static content, so the accessibility contract is to avoid hidden or misleading interactive affordances."
},
{
"id": "text-alternatives",
"label": "Text alternatives",
"category": "media",
"status": "covered",
"required": true,
"proof": "media fields include alt/label/title fallbacks",
"summary": "Media-ready recipes expose replaceable alt text or accessible labels for images, logos, embeds, and placeholders."
},
{
"id": "control-labels",
"label": "Control labels",
"category": "forms",
"status": "covered",
"required": false,
"proof": "no input controls in this payload",
"summary": "No input controls are present, so there are no unlabeled fields to remediate."
},
{
"id": "status-and-motion",
"label": "Status and motion",
"category": "state",
"status": "covered",
"required": true,
"proof": "runtime evidence avoids hidden status-only content",
"summary": "Recipe defaults avoid motion-only meaning and keep status text inspectable when state is present."
}
],
"responsive_behavior_count": 3,
"responsive_behavior_map": [
{
"id": "phone",
"label": "Phone",
"viewport_width": 390,
"layout_mode": "single-column stack",
"column_count": 1,
"spacing_density": "compact",
"media_policy": "Intrinsic media is bounded by max-width and aspect-ratio defaults.",
"overflow_policy": "min-width:0 surfaces, wrapping copy, and no horizontal overflow in the static catalog phone smoke.",
"interaction_policy": "Static content keeps readable line lengths and avoids hidden interactive affordances.",
"proof": "npm run test:static:block-catalog all-blocks-phone",
"summary": "Compact Ops stacks html_embed into one phone column with compact spacing and bounded content."
},
{
"id": "tablet",
"label": "Tablet",
"viewport_width": 768,
"layout_mode": "wide single-column composition",
"column_count": 1,
"spacing_density": "compact",
"media_policy": "Intrinsic media is bounded by max-width and aspect-ratio defaults.",
"overflow_policy": "tablet preview frames keep mid-width composition, wrap controls, and avoid horizontal overflow in the static catalog smoke.",
"interaction_policy": "Static content keeps readable line lengths and avoids hidden interactive affordances.",
"proof": "npm run test:static:block-catalog all-blocks-tablet",
"summary": "Compact Ops adapts html_embed to 1 tablet column before expanding to the desktop layout."
},
{
"id": "desktop",
"label": "Desktop",
"viewport_width": 1366,
"layout_mode": "contained composition row",
"column_count": 1,
"spacing_density": "compact",
"media_policy": "Intrinsic media is bounded by max-width and aspect-ratio defaults.",
"overflow_policy": "desktop preview frames keep constrained widths, stable cards, and no horizontal overflow in the static catalog smoke.",
"interaction_policy": "Static content keeps readable line lengths and avoids hidden interactive affordances.",
"proof": "npm run test:static:block-catalog all-blocks-desktop",
"summary": "Compact Ops gives html_embed up to 1 desktop column while preserving recipe spacing."
}
],
"responsive_viewports": [
"phone",
"tablet",
"desktop"
],
"responsive_proof": [
"npm run test:static:block-catalog all-blocks-phone",
"npm run test:static:block-catalog all-blocks-tablet",
"npm run test:static:block-catalog all-blocks-desktop"
],
"interactive_roles": [],
"recipe_alignment": {
"action_token": "button",
"control_token": "control",
"surface_token": "panel",
"text_token": "text",
"source": "theme recipe tokens"
}
},
"cloneable": true
}
}A resilience payload with plausible long CMS copy, longer labels, and dense supporting metadata to prove wrapping and spacing.
html_embed uses recipe surface tokens to keep the outer frame styled and composable.
background, panel, panelElevated, borderCopy fields map to primary and muted text roles so editors can change words without restyling the block.
text, textMutedAction regions use recipe button and accent tokens while preserving href or event payloads.
button, buttonText, signal, uplinkFeedback regions tie state-readiness evidence to visible recipe status treatments.
badge, badgeText, signalUse to verify html_embed long copy, awkward values, and wrapping before publishing customer pages.
Long Copy Stress is a high-complexity stress-test recipe with 4 documented composition slots.
3 required regions, 1 optional regions.
html_embed is best composed into blog, event-promotion, partnership-announcement, and related pages.
4 page types mapped for html_embed.Choose the first matching page type before editing copy, media, or actions so the recipe starts in the right narrative context.html_embed can act as conversion, media, content within a composed page.
4 anatomy regions produce 3 section roles.Place the block where its required anatomy regions have enough room before compressing it into dense page slots.Long Copy Stress composition passport is copy-led, cta-led for CMS composition.
7/8 fields are editable across 2 content models.Keep the content model stable when replacing defaults; do not turn a repeatable or media-led recipe into unrelated ad hoc content.html_embed carries primary-link interaction affordances.
1 action surface and 0 control surfaces mapped.Review href, event, input, required, and disabled-state evidence before publishing an interactive recipe.html_embed uses stress-test authoring with high complexity.
8 default provenance items with 2 high-care replacements.Use the default provenance map before cloning the recipe into CMS content or agent-generated page data.html_embed has explicit phone, tablet, and desktop compatibility evidence for composed pages.
3 responsive behavior maps cover phone, tablet, and desktop composition.Review phone wrapping, tablet mid-width balance, and desktop density before adding nested content, longer labels, or extra media.html_embed keeps a stable recipe surface with panel, border, and spacing roles instead of ad hoc wrappers.
editorial treatment uses spacious density and 8px radius base.background, panel, panelElevated, borderPrimary, muted, and badge text roles stay distinct enough for headings, body copy, metadata, and helper text.
6/6 contrast checks pass the AA target.text, textMuted, badgeTextInteractive regions use recipe action/control tokens and preserve labels, hrefs, events, required state, and options.
1 action surface and 0 control surfaces mapped.button, buttonText, control, controlText, signal, uplinkThe recipe remains polished without requiring placeholder media or visual assets inside this block.
No media region is required for this recipe.panelElevated, border, textMutedFeedback, selected, loading, invalid, and disabled treatments use visible state evidence instead of color-only meaning.
6 state-readiness entries include default, empty, pending, active, invalid, disabled.badge, badgeText, signalPhone, tablet, and desktop defaults have explicit stack, wrap, media, and overflow policies for the recipe.
single-column stack phone behavior, wide single-column composition tablet behavior, and contained composition row desktop behavior documented.panel, border, controlKeep visual styling aligned to Editorial Block System recipe tokens unless the recipe itself changes.
Editorial Block System recipe tokensCopy can be edited directly when text remains trimmed, localizable, and safe to wrap at phone widths.
cloneable block recipe payloadKeep the label paired with a valid href or canonical postEvent event name before publishing.
CMS route, URL, or canonical postEvent pathCopy can be edited directly when text remains trimmed, localizable, and safe to wrap at phone widths.
cloneable block recipe payloadCopy can be edited directly when text remains trimmed, localizable, and safe to wrap at phone widths.
cloneable block recipe payloadCopy can be edited directly when text remains trimmed, localizable, and safe to wrap at phone widths.
cloneable block recipe payloadCopy can be edited directly when text remains trimmed, localizable, and safe to wrap at phone widths.
cloneable block recipe payloadKeep the label paired with a valid href or canonical postEvent event name before publishing.
CMS route, URL, or canonical postEvent pathCopy bundle groups 5 fields so CMS edits preserve the recipe shape and default polish.
cloneable block recipe payloadCopy can be edited directly when text remains trimmed, localizable, and safe to wrap at phone widths.Action bundle groups 2 fields so CMS edits preserve the recipe shape and default polish.
CMS route, URL, or canonical postEvent pathKeep the label paired with a valid href or canonical postEvent event name before publishing.Style bundle groups 1 field so CMS edits preserve the recipe shape and default polish.
Editorial Block System recipe tokensKeep visual styling aligned to Editorial Block System recipe tokens unless the recipe itself changes.Text should be editable, trimmed, localizable, and safe to wrap at mobile widths.
cloneable block recipe payloadActions should resolve to a URL or event name with a human-readable label.
CMS route, URL, or canonical postEvent pathStyle fields should prefer recipe or appearance tokens over one-off inline values.
Editorial Block System recipe tokensEditorial Block System tokens with editorial documentation treatment
The Editorial Block System recipe renders a contract-safe primary state for html_embed.Reserved panel space with fallback copy or placeholder media
Optional content stays inside the documented block shape when omitted.Neutral reserved frame with status copy and no layout shift
Async-capable props are mapped through controls, events, or provider placeholders.Signal/uplink emphasis with visible selected-state chips
1 action surface and 0 control surfaces are mapped for selected-state review.Warning/danger status treatment while preserving the block frame
Contract validation rejects unsupported block payloads instead of rendering unknown UI.Muted affordance with preserved label, spacing, and hit-area rhythm
Interactive maps preserve labels and control roles so disabled states can stay understandable.No input control is needed for this payload.
html_embed keeps semantic wrappers and readable heading/copy structure in the runtime preview.
runtime block sections, cards, lists, and headingsInteractive surfaces stay reachable, focusable, and recipe-styled without shrinking below expected touch affordances.
mapped actions/controls render as native focusable surfacesMedia-ready recipes expose replaceable alt text or accessible labels for images, logos, embeds, and placeholders.
media fields include alt/label/title fallbacksNo input controls are present, so there are no unlabeled fields to remediate.
no input controls in this payloadRecipe defaults avoid motion-only meaning and keep status text inspectable when state is present.
runtime evidence avoids hidden status-only contentEditorial Block System stacks html_embed into one phone column with spacious spacing and bounded content.
min-width:0 surfaces, wrapping copy, and no horizontal overflow in the static catalog phone smoke.Editorial Block System adapts html_embed to 1 tablet column before expanding to the desktop layout.
tablet preview frames keep mid-width composition, wrap controls, and avoid horizontal overflow in the static catalog smoke.Editorial Block System gives html_embed up to 1 desktop column while preserving recipe spacing.
desktop preview frames keep constrained widths, stable cards, and no horizontal overflow in the static catalog smoke.{
"id": "block-doc-html-embed-data-long-copy-stress",
"block_type": "html_embed",
"props": {
"appearance": {
"preset": "block"
},
"title": "Html Embed with a realistic CMS-authored headline that wraps cleanly across compact cards, mobile panels, and generated documentation frames",
"url": "https://example.com/embed",
"headline": "Html Embed with a realistic CMS-authored headline that wraps cleanly across compact cards, mobile panels, and generated documentation frames",
"subtitle": "This intentionally longer copy uses normal words, punctuation, and CMS-style details so the block proves it can remain polished with production-length titles, helper text, labels, badges, links, and nested content.",
"description": "This intentionally longer copy uses normal words, punctuation, and CMS-style details so the block proves it can remain polished with production-length titles, helper text, labels, badges, links, and nested content.",
"caption": "Replaceable media caption with enough source context to wrap onto multiple lines without crowding adjacent controls.",
"buttonText": "Continue with the guided CMS review"
},
"metadata": {
"long_copy_tolerance": true,
"awkward_content_tolerance": true,
"composition_recipe": {
"id": "long-copy-stress",
"intent": "stress",
"label": "Long Copy Stress",
"recipe": "editorial-block-system",
"source": "block-explorer",
"quality_proof": [
"long_copy_tolerance",
"awkward_content_tolerance"
],
"composition_passport": {
"id": "long-copy-stress",
"label": "Long Copy Stress composition passport",
"intent": "stress",
"recipe": "editorial-block-system",
"authoring_mode": "stress-test",
"complexity": "high",
"fit": "Use to verify html_embed long copy, awkward values, and wrapping before publishing customer pages.",
"required_regions": [
"surface",
"copy",
"feedback"
],
"optional_regions": [
"actions"
],
"slots": [
{
"id": "surface",
"label": "Surface",
"required": true,
"field_count": 1,
"editable_count": 0,
"token_roles": [
"background",
"panel",
"panelElevated",
"border"
],
"summary": "html_embed uses recipe surface tokens to keep the outer frame styled and composable."
},
{
"id": "copy",
"label": "Copy",
"required": true,
"field_count": 5,
"editable_count": 5,
"token_roles": [
"text",
"textMuted"
],
"summary": "Copy fields map to primary and muted text roles so editors can change words without restyling the block."
},
{
"id": "actions",
"label": "Actions",
"required": false,
"field_count": 3,
"editable_count": 2,
"token_roles": [
"button",
"buttonText",
"signal",
"uplink"
],
"summary": "Action regions use recipe button and accent tokens while preserving href or event payloads."
},
{
"id": "feedback",
"label": "Feedback",
"required": true,
"field_count": 0,
"editable_count": 0,
"token_roles": [
"badge",
"badgeText",
"signal"
],
"summary": "Feedback regions tie state-readiness evidence to visible recipe status treatments."
}
],
"builder_field_count": 8,
"editable_field_count": 7,
"action_count": 1,
"control_count": 0,
"replacement_guidance": [
"Keep Editorial Block System recipe tokens as the source of visual styling for the surface, text, controls, and actions.",
"No media replacement is required; keep the layout rhythm stable when optional visual fields are omitted.",
"Verify each action keeps either a valid href or canonical event name plus an editor-visible label.",
"No input controls are required; keep the recipe focused on its documented display regions.",
"The recipe does not require repeatable collection editing."
],
"publish_checklist": [
"Validate html_embed against its block contract before publishing.",
"3 required anatomy regions remain present: surface, copy, feedback.",
"7/8 builder fields are CMS-editable or intentionally locked.",
"Interactive labels, target size, href/event wiring, and disabled states have been reviewed.",
"Phone, tablet, and desktop responsive behavior maps have been reviewed for wrapping and overflow.",
"Contrast checks meet the AA recipe target."
],
"agent_notes": [
"Prefer editing props fields described by the builder field map; metadata is evidence, not primary content.",
"Preserve recipe_alignment token roles unless the page theme or recipe changes intentionally.",
"Use the anatomy slots to compose or replace content without changing the block type."
],
"summary": "Long Copy Stress is a high-complexity stress-test recipe with 4 documented composition slots."
},
"composition_passport_complexity": "high",
"composition_passport_authoring_mode": "stress-test",
"composition_passport_slots": [
"surface",
"copy",
"actions",
"feedback"
],
"composition_passport_check_count": 6,
"visual_polish_check_count": 6,
"visual_polish_pass_count": 6,
"visual_polish_checks": [
{
"id": "surface-rhythm",
"label": "Surface rhythm",
"axis": "layout",
"status": "ready",
"token_roles": [
"background",
"panel",
"panelElevated",
"border"
],
"evidence": "editorial treatment uses spacious density and 8px radius base.",
"summary": "html_embed keeps a stable recipe surface with panel, border, and spacing roles instead of ad hoc wrappers."
},
{
"id": "type-hierarchy",
"label": "Type hierarchy",
"axis": "typography",
"status": "ready",
"token_roles": [
"text",
"textMuted",
"badgeText"
],
"evidence": "6/6 contrast checks pass the AA target.",
"summary": "Primary, muted, and badge text roles stay distinct enough for headings, body copy, metadata, and helper text."
},
{
"id": "action-clarity",
"label": "Action clarity",
"axis": "interaction",
"status": "ready",
"token_roles": [
"button",
"buttonText",
"control",
"controlText",
"signal",
"uplink"
],
"evidence": "1 action surface and 0 control surfaces mapped.",
"summary": "Interactive regions use recipe action/control tokens and preserve labels, hrefs, events, required state, and options."
},
{
"id": "media-treatment",
"label": "Media treatment",
"axis": "media",
"status": "ready",
"token_roles": [
"panelElevated",
"border",
"textMuted"
],
"evidence": "No media region is required for this recipe.",
"summary": "The recipe remains polished without requiring placeholder media or visual assets inside this block."
},
{
"id": "state-feedback",
"label": "State feedback",
"axis": "state",
"status": "ready",
"token_roles": [
"badge",
"badgeText",
"signal"
],
"evidence": "6 state-readiness entries include default, empty, pending, active, invalid, disabled.",
"summary": "Feedback, selected, loading, invalid, and disabled treatments use visible state evidence instead of color-only meaning."
},
{
"id": "responsive-balance",
"label": "Responsive balance",
"axis": "responsive",
"status": "ready",
"token_roles": [
"panel",
"border",
"control"
],
"evidence": "single-column stack phone behavior, wide single-column composition tablet behavior, and contained composition row desktop behavior documented.",
"summary": "Phone, tablet, and desktop defaults have explicit stack, wrap, media, and overflow policies for the recipe."
}
],
"visual_polish_axes": [
"layout",
"typography",
"interaction",
"media",
"state",
"responsive"
],
"default_provenance_count": 8,
"default_provenance_map": [
{
"path": "appearance",
"label": "Appearance",
"field_role": "style",
"value_type": "object",
"editable": false,
"repeated": false,
"default_source": "Editorial Block System recipe tokens",
"replacement_policy": "locked-token",
"replacement_risk": "medium",
"guardrail": "Keep visual styling aligned to Editorial Block System recipe tokens unless the recipe itself changes.",
"validation": "Style fields should prefer recipe or appearance tokens over one-off inline values.",
"summary": "Appearance defaults from Editorial Block System recipe tokens; replacement is medium risk with locked-token policy."
},
{
"path": "title",
"label": "Title",
"field_role": "copy",
"value_type": "string",
"editable": true,
"repeated": false,
"default_source": "cloneable block recipe payload",
"replacement_policy": "safe-to-edit",
"replacement_risk": "low",
"guardrail": "Copy can be edited directly when text remains trimmed, localizable, and safe to wrap at phone widths.",
"validation": "Text should be editable, trimmed, localizable, and safe to wrap at mobile widths.",
"summary": "Title defaults from cloneable block recipe payload; replacement is low risk with safe-to-edit policy."
},
{
"path": "url",
"label": "Url",
"field_role": "action",
"value_type": "string",
"editable": true,
"repeated": false,
"default_source": "CMS route, URL, or canonical postEvent path",
"replacement_policy": "requires-action-target",
"replacement_risk": "high",
"guardrail": "Keep the label paired with a valid href or canonical postEvent event name before publishing.",
"validation": "Actions should resolve to a URL or event name with a human-readable label.",
"summary": "Url defaults from CMS route, URL, or canonical postEvent path; replacement is high risk with requires-action-target policy."
},
{
"path": "headline",
"label": "Headline",
"field_role": "copy",
"value_type": "string",
"editable": true,
"repeated": false,
"default_source": "cloneable block recipe payload",
"replacement_policy": "safe-to-edit",
"replacement_risk": "low",
"guardrail": "Copy can be edited directly when text remains trimmed, localizable, and safe to wrap at phone widths.",
"validation": "Text should be editable, trimmed, localizable, and safe to wrap at mobile widths.",
"summary": "Headline defaults from cloneable block recipe payload; replacement is low risk with safe-to-edit policy."
},
{
"path": "subtitle",
"label": "Subtitle",
"field_role": "copy",
"value_type": "string",
"editable": true,
"repeated": false,
"default_source": "cloneable block recipe payload",
"replacement_policy": "safe-to-edit",
"replacement_risk": "low",
"guardrail": "Copy can be edited directly when text remains trimmed, localizable, and safe to wrap at phone widths.",
"validation": "Text should be editable, trimmed, localizable, and safe to wrap at mobile widths.",
"summary": "Subtitle defaults from cloneable block recipe payload; replacement is low risk with safe-to-edit policy."
},
{
"path": "description",
"label": "Description",
"field_role": "copy",
"value_type": "string",
"editable": true,
"repeated": false,
"default_source": "cloneable block recipe payload",
"replacement_policy": "safe-to-edit",
"replacement_risk": "low",
"guardrail": "Copy can be edited directly when text remains trimmed, localizable, and safe to wrap at phone widths.",
"validation": "Text should be editable, trimmed, localizable, and safe to wrap at mobile widths.",
"summary": "Description defaults from cloneable block recipe payload; replacement is low risk with safe-to-edit policy."
},
{
"path": "caption",
"label": "Caption",
"field_role": "copy",
"value_type": "string",
"editable": true,
"repeated": false,
"default_source": "cloneable block recipe payload",
"replacement_policy": "safe-to-edit",
"replacement_risk": "low",
"guardrail": "Copy can be edited directly when text remains trimmed, localizable, and safe to wrap at phone widths.",
"validation": "Text should be editable, trimmed, localizable, and safe to wrap at mobile widths.",
"summary": "Caption defaults from cloneable block recipe payload; replacement is low risk with safe-to-edit policy."
},
{
"path": "buttonText",
"label": "ButtonText",
"field_role": "action",
"value_type": "string",
"editable": true,
"repeated": false,
"default_source": "CMS route, URL, or canonical postEvent path",
"replacement_policy": "requires-action-target",
"replacement_risk": "high",
"guardrail": "Keep the label paired with a valid href or canonical postEvent event name before publishing.",
"validation": "Actions should resolve to a URL or event name with a human-readable label.",
"summary": "ButtonText defaults from CMS route, URL, or canonical postEvent path; replacement is high risk with requires-action-target policy."
}
],
"default_replacement_policies": [
"locked-token",
"requires-action-target",
"safe-to-edit"
],
"default_replacement_risks": [
"high",
"low",
"medium"
],
"default_replacement_high_risk_count": 2,
"content_edit_bundle_count": 3,
"content_edit_bundles": [
{
"id": "copy",
"label": "Copy bundle",
"intent": "required",
"edit_mode": "grouped-fields",
"field_paths": [
"caption",
"description",
"headline",
"subtitle",
"title"
],
"default_sources": [
"cloneable block recipe payload"
],
"guardrails": [
"Copy can be edited directly when text remains trimmed, localizable, and safe to wrap at phone widths."
],
"depends_on": [
"type hierarchy",
"mobile wrapping"
],
"summary": "Copy bundle groups 5 fields so CMS edits preserve the recipe shape and default polish."
},
{
"id": "actions",
"label": "Action bundle",
"intent": "recommended",
"edit_mode": "grouped-fields",
"field_paths": [
"buttonText",
"url"
],
"default_sources": [
"CMS route, URL, or canonical postEvent path"
],
"guardrails": [
"Keep the label paired with a valid href or canonical postEvent event name before publishing."
],
"depends_on": [
"copy labels",
"href or event target",
"state readiness"
],
"summary": "Action bundle groups 2 fields so CMS edits preserve the recipe shape and default polish."
},
{
"id": "style",
"label": "Style bundle",
"intent": "guarded",
"edit_mode": "guarded-system",
"field_paths": [
"appearance"
],
"default_sources": [
"Editorial Block System recipe tokens"
],
"guardrails": [
"Keep visual styling aligned to Editorial Block System recipe tokens unless the recipe itself changes."
],
"depends_on": [
"theme recipe tokens",
"contrast proof"
],
"summary": "Style bundle groups 1 field so CMS edits preserve the recipe shape and default polish."
}
],
"content_edit_bundle_ids": [
"copy",
"actions",
"style"
],
"content_edit_bundle_modes": [
"grouped-fields",
"guarded-system"
],
"content_edit_bundle_required_count": 1,
"content_edit_bundle_guarded_count": 1,
"recipe_compatibility_count": 6,
"recipe_compatibility_map": [
{
"id": "page-context",
"label": "Page context",
"axis": "page",
"fit": "supporting",
"values": [
"blog",
"event-promotion",
"partnership-announcement",
"press-release"
],
"evidence": "4 page types mapped for html_embed.",
"guardrail": "Choose the first matching page type before editing copy, media, or actions so the recipe starts in the right narrative context.",
"summary": "html_embed is best composed into blog, event-promotion, partnership-announcement, and related pages."
},
{
"id": "section-role",
"label": "Section role",
"axis": "layout",
"fit": "primary",
"values": [
"conversion",
"media",
"content"
],
"evidence": "4 anatomy regions produce 3 section roles.",
"guardrail": "Place the block where its required anatomy regions have enough room before compressing it into dense page slots.",
"summary": "html_embed can act as conversion, media, content within a composed page."
},
{
"id": "content-model",
"label": "Content model",
"axis": "content",
"fit": "supporting",
"values": [
"copy-led",
"cta-led"
],
"evidence": "7/8 fields are editable across 2 content models.",
"guardrail": "Keep the content model stable when replacing defaults; do not turn a repeatable or media-led recipe into unrelated ad hoc content.",
"summary": "Long Copy Stress composition passport is copy-led, cta-led for CMS composition."
},
{
"id": "interaction-model",
"label": "Interaction model",
"axis": "interaction",
"fit": "primary",
"values": [
"primary-link"
],
"evidence": "1 action surface and 0 control surfaces mapped.",
"guardrail": "Review href, event, input, required, and disabled-state evidence before publishing an interactive recipe.",
"summary": "html_embed carries primary-link interaction affordances."
},
{
"id": "authoring-fit",
"label": "Authoring fit",
"axis": "authoring",
"fit": "specialized",
"values": [
"stress-test",
"high-complexity",
"2-high-care-replacements"
],
"evidence": "8 default provenance items with 2 high-care replacements.",
"guardrail": "Use the default provenance map before cloning the recipe into CMS content or agent-generated page data.",
"summary": "html_embed uses stress-test authoring with high complexity."
},
{
"id": "responsive-fit",
"label": "Responsive fit",
"axis": "responsive",
"fit": "primary",
"values": [
"single-column stack",
"wide single-column composition",
"contained composition row",
"min-width:0 surfaces, wrapping copy, and no horizontal overflow in the static catalog phone smoke."
],
"evidence": "3 responsive behavior maps cover phone, tablet, and desktop composition.",
"guardrail": "Review phone wrapping, tablet mid-width balance, and desktop density before adding nested content, longer labels, or extra media.",
"summary": "html_embed has explicit phone, tablet, and desktop compatibility evidence for composed pages."
}
],
"recipe_compatibility_axes": [
"page",
"layout",
"content",
"interaction",
"authoring",
"responsive"
],
"recipe_compatibility_page_types": [
"blog",
"event-promotion",
"partnership-announcement",
"press-release"
],
"recipe_compatibility_section_roles": [
"conversion",
"media",
"content"
],
"recipe_compatibility_fits": [
"primary",
"specialized",
"supporting"
],
"builder_field_count": 8,
"builder_field_map": [
{
"path": "appearance",
"label": "Appearance",
"value_type": "object",
"role": "style",
"editable": false,
"repeated": false,
"summary": "Appearance is a object field used for style."
},
{
"path": "title",
"label": "Title",
"value_type": "string",
"role": "copy",
"editable": true,
"repeated": false,
"summary": "Title is a string field used for copy."
},
{
"path": "url",
"label": "Url",
"value_type": "string",
"role": "action",
"editable": true,
"repeated": false,
"summary": "Url is a string field used for action."
},
{
"path": "headline",
"label": "Headline",
"value_type": "string",
"role": "copy",
"editable": true,
"repeated": false,
"summary": "Headline is a string field used for copy."
},
{
"path": "subtitle",
"label": "Subtitle",
"value_type": "string",
"role": "copy",
"editable": true,
"repeated": false,
"summary": "Subtitle is a string field used for copy."
},
{
"path": "description",
"label": "Description",
"value_type": "string",
"role": "copy",
"editable": true,
"repeated": false,
"summary": "Description is a string field used for copy."
},
{
"path": "caption",
"label": "Caption",
"value_type": "string",
"role": "copy",
"editable": true,
"repeated": false,
"summary": "Caption is a string field used for copy."
},
{
"path": "buttonText",
"label": "ButtonText",
"value_type": "string",
"role": "action",
"editable": true,
"repeated": false,
"summary": "ButtonText is a string field used for action."
}
],
"editor_guidance_count": 3,
"editor_guidance_map": [
{
"id": "copy",
"label": "Copy",
"field_role": "copy",
"field_count": 5,
"editable_count": 5,
"editor_widget": "text/rich-text editor",
"validation": "Text should be editable, trimmed, localizable, and safe to wrap at mobile widths.",
"default_source": "cloneable block recipe payload",
"summary": "Copy fields use the text/rich-text editor across 5/5 editable fields."
},
{
"id": "action",
"label": "Action",
"field_role": "action",
"field_count": 2,
"editable_count": 2,
"editor_widget": "link or event action editor",
"validation": "Actions should resolve to a URL or event name with a human-readable label.",
"default_source": "CMS route, URL, or canonical postEvent path",
"summary": "Action fields use the link or event action editor across 2/2 editable fields."
},
{
"id": "style",
"label": "Style",
"field_role": "style",
"field_count": 1,
"editable_count": 0,
"editor_widget": "appearance preset selector",
"validation": "Style fields should prefer recipe or appearance tokens over one-off inline values.",
"default_source": "Editorial Block System recipe tokens",
"summary": "Style fields use the appearance preset selector across 0/1 editable field."
}
],
"editor_field_roles": [
"copy",
"action",
"style"
],
"editor_editable_field_count": 7,
"state_readiness_count": 6,
"state_readiness_map": [
{
"id": "default",
"label": "Default",
"status": "covered",
"trigger": "Initial render with the cloneable recipe payload",
"visual_treatment": "Editorial Block System tokens with editorial documentation treatment",
"token_roles": [
"surface",
"panel",
"text",
"button"
],
"proof": "The Editorial Block System recipe renders a contract-safe primary state for html_embed.",
"summary": "Default state uses the recipe surface, text, and action tokens without one-off styling."
},
{
"id": "empty",
"label": "Empty",
"status": "covered",
"trigger": "Optional content is omitted",
"visual_treatment": "Reserved panel space with fallback copy or placeholder media",
"token_roles": [
"panel",
"textMuted",
"badge",
"border"
],
"proof": "Optional content stays inside the documented block shape when omitted.",
"summary": "Empty-state guidance preserves layout rhythm instead of collapsing the block surface."
},
{
"id": "pending",
"label": "Pending",
"status": "covered",
"trigger": "Async assignment, embed load, or form submission is in flight",
"visual_treatment": "Neutral reserved frame with status copy and no layout shift",
"token_roles": [
"control",
"textMuted",
"progressTrack",
"border"
],
"proof": "Async-capable props are mapped through controls, events, or provider placeholders.",
"summary": "Pending state keeps dimensions stable while using muted control/status tokens."
},
{
"id": "active",
"label": "Active",
"status": "covered",
"trigger": "Selected action, active link, checked input, or open disclosure",
"visual_treatment": "Signal/uplink emphasis with visible selected-state chips",
"token_roles": [
"signal",
"uplink",
"button",
"badge"
],
"proof": "1 action surface and 0 control surfaces are mapped for selected-state review.",
"summary": "Active state is represented with recipe accent tokens and visible state labels."
},
{
"id": "invalid",
"label": "Invalid",
"status": "covered",
"trigger": "Payload fails the block contract",
"visual_treatment": "Warning/danger status treatment while preserving the block frame",
"token_roles": [
"warning",
"danger",
"border",
"text"
],
"proof": "Contract validation rejects unsupported block payloads instead of rendering unknown UI.",
"summary": "Invalid state guidance favors explicit status evidence over ambiguous visual collapse."
},
{
"id": "disabled",
"label": "Disabled",
"status": "covered",
"trigger": "Unavailable action or temporarily disabled control",
"visual_treatment": "Muted affordance with preserved label, spacing, and hit-area rhythm",
"token_roles": [
"control",
"textMuted",
"border",
"panel"
],
"proof": "Interactive maps preserve labels and control roles so disabled states can stay understandable.",
"summary": "Disabled state keeps the block readable and spatially stable when interaction is unavailable."
}
],
"state_readiness_states": [
"default",
"empty",
"pending",
"active",
"invalid",
"disabled"
],
"state_readiness_statuses": [
"covered",
"covered",
"covered",
"covered",
"covered",
"covered"
],
"anatomy_region_count": 4,
"anatomy_map": [
{
"id": "surface",
"label": "Surface",
"region_role": "outer layout and background",
"field_paths": [
"appearance"
],
"token_roles": [
"background",
"panel",
"panelElevated",
"border"
],
"state_ids": [
"default",
"empty",
"pending",
"active",
"invalid",
"disabled"
],
"required": true,
"summary": "html_embed uses recipe surface tokens to keep the outer frame styled and composable."
},
{
"id": "copy",
"label": "Copy",
"region_role": "headings, body copy, labels, and supporting text",
"field_paths": [
"caption",
"description",
"headline",
"subtitle",
"title"
],
"token_roles": [
"text",
"textMuted"
],
"state_ids": [
"default",
"empty",
"pending",
"active",
"invalid",
"disabled"
],
"required": true,
"summary": "Copy fields map to primary and muted text roles so editors can change words without restyling the block."
},
{
"id": "actions",
"label": "Actions",
"region_role": "CTA, link, event, and navigation affordances",
"field_paths": [
"button",
"buttonText",
"url"
],
"token_roles": [
"button",
"buttonText",
"signal",
"uplink"
],
"state_ids": [
"default",
"empty",
"pending",
"active",
"invalid",
"disabled"
],
"required": false,
"summary": "Action regions use recipe button and accent tokens while preserving href or event payloads."
},
{
"id": "feedback",
"label": "Feedback",
"region_role": "status, validation, selected, loading, and disabled evidence",
"field_paths": [],
"token_roles": [
"badge",
"badgeText",
"signal"
],
"state_ids": [
"default",
"empty",
"pending",
"active",
"invalid",
"disabled"
],
"required": true,
"summary": "Feedback regions tie state-readiness evidence to visible recipe status treatments."
}
],
"anatomy_regions": [
"surface",
"copy",
"actions",
"feedback"
],
"anatomy_token_roles": [
"background",
"badge",
"badgeText",
"border",
"button",
"buttonText",
"panel",
"panelElevated",
"signal",
"text",
"textMuted",
"uplink"
],
"action_count": 1,
"action_map": [
{
"path": "button",
"label": "Continue with the guided CMS review",
"action_type": "primary",
"href": "https://example.com/embed",
"event_name": null,
"summary": "Continue with the guided CMS review is a primary action linking to https://example.com/embed."
}
],
"control_count": 0,
"control_map": [],
"style_token_count": 15,
"style_token_map": [
{
"role": "background",
"label": "Page background",
"value": "#f7fbff",
"token_type": "color",
"summary": "Page background uses the background recipe token."
},
{
"role": "panel",
"label": "Panel surface",
"value": "#ffffff",
"token_type": "color",
"summary": "Panel surface uses the panel recipe token."
},
{
"role": "panelElevated",
"label": "Elevated surface",
"value": "#ffffff",
"token_type": "color",
"summary": "Elevated surface uses the panelElevated recipe token."
},
{
"role": "text",
"label": "Primary text",
"value": "#142033",
"token_type": "color",
"summary": "Primary text uses the text recipe token."
},
{
"role": "textMuted",
"label": "Muted text",
"value": "#526174",
"token_type": "color",
"summary": "Muted text uses the textMuted recipe token."
},
{
"role": "signal",
"label": "Signal accent",
"value": "#166bff",
"token_type": "color",
"summary": "Signal accent uses the signal recipe token."
},
{
"role": "uplink",
"label": "Secondary accent",
"value": "#00a6a6",
"token_type": "color",
"summary": "Secondary accent uses the uplink recipe token."
},
{
"role": "border",
"label": "Border",
"value": "#d6dee8",
"token_type": "color",
"summary": "Border uses the border recipe token."
},
{
"role": "control",
"label": "Control surface",
"value": "#ffffff",
"token_type": "color",
"summary": "Control surface uses the control recipe token."
},
{
"role": "controlText",
"label": "Control text",
"value": "#142033",
"token_type": "color",
"summary": "Control text uses the controlText recipe token."
},
{
"role": "button",
"label": "Button surface",
"value": "#166bff",
"token_type": "color",
"summary": "Button surface uses the button recipe token."
},
{
"role": "buttonText",
"label": "Button text",
"value": "#ffffff",
"token_type": "color",
"summary": "Button text uses the buttonText recipe token."
},
{
"role": "badge",
"label": "Badge surface",
"value": "#eef5ff",
"token_type": "color",
"summary": "Badge surface uses the badge recipe token."
},
{
"role": "badgeText",
"label": "Badge text",
"value": "#174ea6",
"token_type": "color",
"summary": "Badge text uses the badgeText recipe token."
},
{
"role": "fontFamily",
"label": "Font family",
"value": "Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", sans-serif",
"token_type": "font",
"summary": "Font family comes from the active recipe theme tokens."
}
],
"style_token_roles": [
"background",
"panel",
"panelElevated",
"text",
"textMuted",
"signal",
"uplink",
"border",
"control",
"controlText",
"button",
"buttonText",
"badge",
"badgeText",
"fontFamily"
],
"contrast_check_count": 6,
"contrast_pass_count": 6,
"contrast_checks": [
{
"id": "text-on-background",
"label": "Text on background",
"foreground_role": "text",
"background_role": "background",
"foreground": "#142033",
"background": "#f7fbff",
"ratio": 15.73,
"required_ratio": 4.5,
"passes": true,
"level": "AAA",
"summary": "Text on background is AAA at 15.73:1 against a 4.5:1 requirement."
},
{
"id": "text-on-panel",
"label": "Text on panel",
"foreground_role": "text",
"background_role": "panel",
"foreground": "#142033",
"background": "#ffffff",
"ratio": 16.35,
"required_ratio": 4.5,
"passes": true,
"level": "AAA",
"summary": "Text on panel is AAA at 16.35:1 against a 4.5:1 requirement."
},
{
"id": "muted-text-on-panel",
"label": "Muted text on panel",
"foreground_role": "textMuted",
"background_role": "panel",
"foreground": "#526174",
"background": "#ffffff",
"ratio": 6.32,
"required_ratio": 4.5,
"passes": true,
"level": "AA",
"summary": "Muted text on panel is AA at 6.32:1 against a 4.5:1 requirement."
},
{
"id": "button-text-on-button",
"label": "Button text on button",
"foreground_role": "buttonText",
"background_role": "button",
"foreground": "#ffffff",
"background": "#166bff",
"ratio": 4.58,
"required_ratio": 4.5,
"passes": true,
"level": "AA",
"summary": "Button text on button is AA at 4.58:1 against a 4.5:1 requirement."
},
{
"id": "control-text-on-control",
"label": "Control text on control",
"foreground_role": "controlText",
"background_role": "control",
"foreground": "#142033",
"background": "#ffffff",
"ratio": 16.35,
"required_ratio": 4.5,
"passes": true,
"level": "AAA",
"summary": "Control text on control is AAA at 16.35:1 against a 4.5:1 requirement."
},
{
"id": "badge-text-on-badge",
"label": "Badge text on badge",
"foreground_role": "badgeText",
"background_role": "badge",
"foreground": "#174ea6",
"background": "#eef5ff",
"ratio": 7.15,
"required_ratio": 4.5,
"passes": true,
"level": "AAA",
"summary": "Badge text on badge is AAA at 7.15:1 against a 4.5:1 requirement."
}
],
"contrast_target": "AA",
"accessibility_standard": "WCAG_2_2_AA",
"accessibility_check_count": 5,
"accessibility_checks": [
{
"id": "semantic-structure",
"label": "Semantic structure",
"category": "semantics",
"status": "covered",
"required": true,
"proof": "runtime block sections, cards, lists, and headings",
"summary": "html_embed keeps semantic wrappers and readable heading/copy structure in the runtime preview."
},
{
"id": "keyboard-and-tap-targets",
"label": "Keyboard and tap targets",
"category": "keyboard",
"status": "covered",
"required": true,
"proof": "mapped actions/controls render as native focusable surfaces",
"summary": "Interactive surfaces stay reachable, focusable, and recipe-styled without shrinking below expected touch affordances."
},
{
"id": "text-alternatives",
"label": "Text alternatives",
"category": "media",
"status": "covered",
"required": true,
"proof": "media fields include alt/label/title fallbacks",
"summary": "Media-ready recipes expose replaceable alt text or accessible labels for images, logos, embeds, and placeholders."
},
{
"id": "control-labels",
"label": "Control labels",
"category": "forms",
"status": "covered",
"required": false,
"proof": "no input controls in this payload",
"summary": "No input controls are present, so there are no unlabeled fields to remediate."
},
{
"id": "status-and-motion",
"label": "Status and motion",
"category": "state",
"status": "covered",
"required": true,
"proof": "runtime evidence avoids hidden status-only content",
"summary": "Recipe defaults avoid motion-only meaning and keep status text inspectable when state is present."
}
],
"responsive_behavior_count": 3,
"responsive_behavior_map": [
{
"id": "phone",
"label": "Phone",
"viewport_width": 390,
"layout_mode": "single-column stack",
"column_count": 1,
"spacing_density": "spacious",
"media_policy": "Intrinsic media is bounded by max-width and aspect-ratio defaults.",
"overflow_policy": "min-width:0 surfaces, wrapping copy, and no horizontal overflow in the static catalog phone smoke.",
"interaction_policy": "Actions remain visible, wrap before overflow, and preserve recipe button styling.",
"proof": "npm run test:static:block-catalog all-blocks-phone",
"summary": "Editorial Block System stacks html_embed into one phone column with spacious spacing and bounded content."
},
{
"id": "tablet",
"label": "Tablet",
"viewport_width": 768,
"layout_mode": "wide single-column composition",
"column_count": 1,
"spacing_density": "spacious",
"media_policy": "Intrinsic media is bounded by max-width and aspect-ratio defaults.",
"overflow_policy": "tablet preview frames keep mid-width composition, wrap controls, and avoid horizontal overflow in the static catalog smoke.",
"interaction_policy": "Actions remain visible, wrap before overflow, and preserve recipe button styling.",
"proof": "npm run test:static:block-catalog all-blocks-tablet",
"summary": "Editorial Block System adapts html_embed to 1 tablet column before expanding to the desktop layout."
},
{
"id": "desktop",
"label": "Desktop",
"viewport_width": 1366,
"layout_mode": "contained composition row",
"column_count": 1,
"spacing_density": "spacious",
"media_policy": "Intrinsic media is bounded by max-width and aspect-ratio defaults.",
"overflow_policy": "desktop preview frames keep constrained widths, stable cards, and no horizontal overflow in the static catalog smoke.",
"interaction_policy": "Actions remain visible, wrap before overflow, and preserve recipe button styling.",
"proof": "npm run test:static:block-catalog all-blocks-desktop",
"summary": "Editorial Block System gives html_embed up to 1 desktop column while preserving recipe spacing."
}
],
"responsive_viewports": [
"phone",
"tablet",
"desktop"
],
"responsive_proof": [
"npm run test:static:block-catalog all-blocks-phone",
"npm run test:static:block-catalog all-blocks-tablet",
"npm run test:static:block-catalog all-blocks-desktop"
],
"interactive_roles": [
"primary"
],
"recipe_alignment": {
"action_token": "button",
"control_token": "control",
"surface_token": "panel",
"text_token": "text",
"source": "theme recipe tokens"
}
},
"cloneable": true
},
"block_order": 4
}Dense, scannable interfaces for dashboards, configuration, and internal operations.
Compact product and service-operations rhythm for B2B tools, resource hubs, and trial-interest flows.
A calm product-marketing baseline with balanced hierarchy, spacing, and rounded controls.
A tighter SaaS treatment with crisp hierarchy, restrained spacing, and clean control rhythm.
A roomier product-marketing recipe for conversion pages, feature launches, and trial funnels.
A precise B2B SaaS recipe with compact density, strong readability, and restrained depth.
Measured hierarchy, conservative spacing, and high-readability surfaces for advisory and regulated service pages.
Generous type, cinematic spacing, and understated surfaces for premium narrative pages.
Large type, decisive rhythm, and high contrast for announcements and campaign pages.
Viewport-scale block rhythm with large editorial type, crisp radii, and expressive motion for premium brand and contact pages.
A template-ready full-page block system for duplicable landing, brand, contact, campaign, and lead-generation page sets.
Flat, sharp, restrained hierarchy for documentation, proof pages, and quiet brands.
Clear service-page rhythm for residential and local businesses with pricing, FAQs, resources, and appointment requests.
Tactile raised panels and ledger-like rhythm for recurring services, quote funnels, memberships, and field-service notes.
Soft raised panels with lower visual noise for guided tools and onboarding flows.
Layered translucent panels for demos, product storytelling, and immersive showcases.
Chunky rhythm and nostalgic scale for playful campaigns without sacrificing contrast.
Sharp edges, hard shadows, and assertive scale for high-emphasis conversion surfaces.
High-contrast cards, chunky controls, and expressive spacing for modern playful brands.
implemented · 0.1.0
No public prop fields are exposed for this block contract.