Skill 28 · Wix Headless Replatform
Subchapter 28.4
references/layout-blueprint-contract.mdMarkdown2 KBView on GitHub
layout-blueprint.json is the source of truth for how every section is composed. It sits
between source/scene extraction and UI normalization. Implement one section at a time in
this order:
Scripts
scripts/36 filesbase, media, scrim, decoration);Use the vocabulary embedded in the artifact. Composition is one of layered-overlay,
split, stack, grid, rail, scroll-narrative, or freeform. Background is none,
color, gradient, image, video, or composite. Regions use roles such as heading,
body-copy, media, action, and tabs, with a nine-position placement anchor.
Text wrapping uses single-line, wrapped, or clipped-or-overflowing.
The terms make implementation consistent; normalized rectangles preserve distinctive source geometry. Do not replace the measurements with a generic layout merely because its name sounds similar.
layered-overlay and scroll-narrative media must not become a peer column beside copy.fallback-only posters disappear when primary video/iframe media is ready.New best-practice rules should consume this artifact from UI normalization. Extend
scripts/lib/layout-blueprint/ classifiers or vocabulary independently; bump the vocabulary
version when controlled terms change.