Flows and layers tree

Draws how a system is transformed or created step by step, and how layers bend rules from a root, as numbered steps and a tree.

Organism · stable · v1.0.0 · owner: Site system lead · contract 19 of 20 points (open: figma)

Do and don't

Do: Transform

Rendered by flow-layers.ts

Open example: Flows and layers tree · Do: Transform Use the full-page example to follow page links.

The path for an outdated system.

Do: Layers

Rendered by flow-layers.ts

Open example: Flows and layers tree · Do: Layers Use the full-page example to follow page links.

Rules bending per layer.

Don't: As decoration

Rendered by flow-layers.ts

Open example: Flows and layers tree · Don't: As decoration Use the full-page example to follow page links.

Use it where the process is the claim.

Don't: Two flows in one section

Rendered by flow-layers.ts

Open example: Flows and layers tree · Don't: Two flows in one section Use the full-page example to follow page links.

One diagram per claim.

Rules

RuleWhyCheck
The flows and layers tree is drawn from Loom's flow and layer records (scripts/site/interactives/flows.ts) at build time.A figure read from the real records cannot drift from them.Automated: npm run site:build (reads the data; fails if it is missing)
Each step starts with a verb.Steps are actions the reader's team takes.Review: Content owner

API

PropTypeRequiredDefaultWhat it does
langen | jaNo"en"Interface language.
kindtransform | creation | layersYesWhich flow.

Contract details

The full contract: identity, anatomy, variants, states, tokens, layout, motion, accessibility, content, tests

Identity

AspectValue
Idflow-layers
LayerOrganisms
Categorydiagram
OwnerSite system lead
Statusstable
Version1.0.0
Sourceapps/showcase/site/system/organisms/flow-layers.ts (private repository; the contract and the render function are this one module)
VersionDateChange
1.0.02026-10-26Flows and layers tree, drawn at build time from Loom's flow and layer records (scripts/site/interactives/flows.ts).

Use when

  • The flow sections (transform, creation) and the Govern and Roles pages (layers). Why: A process reads faster as steps than as prose.

Do not use when

  • For a single step. Why: A sentence is enough.

Anatomy

PartWhat it is
rootfigure.visual.ix-fl
titlep.ix-fl-title
stepsol.ix-fl-steps
treethe layers tree with lock levels

Made of: figure-frame, caption.

Used in: pages directly.

Variants

VariantWhenWhy
transformChanging an existing system.Steps from audit to governed system.
creationStarting with no system.Steps from Loom Base to your own.
layersMany brands or products.Shows how far a rule can bend below its layer.

States

StateRendered or not applicable
defaultdefault
hoverNot applicable: The flows and layers tree is not interactive, so it has no hover state.
focus-visibleNot applicable: The flows and layers tree does not take focus; links and buttons inside it carry their own focus ring.
activeNot applicable: The flows and layers tree cannot be pressed.
disabledNot applicable: The flows and layers tree has nothing to disable.
loadingNot applicable: The flows and layers tree is rendered at build time and is complete when the page loads.
emptyNot applicable: The flows and layers tree is not rendered without content; the builder skips it.
errorNot applicable: The flows and layers tree shows no data that can fail.
currentNot applicable: The flows and layers tree has no current item.
visitedNot applicable: The flows and layers tree is not a link.
expandedNot applicable: The flows and layers tree does not open or close.

Tokens

PartToken
step.rule--rule --ink
lock.lockedink
lock.extendable--teal-ink word
lock.overridable--saffron-ink word
--flow-layers-background-surfacevar(--surface)
--flow-layers-color-inkvar(--ink)
--flow-layers-border-top-rule-framevar(--rule-frame)
--flow-layers-border-top-inkvar(--ink)
--flow-layers-padding-space-6var(--space-6)
--flow-layers-padding-space-9var(--space-9)
--flow-layers-gap-space-6var(--space-6)
--flow-layers-font-type-h3var(--type-h3)
--flow-layers-letter-spacing-ls-h3var(--ls-h3)
--flow-layers-font-type-smallvar(--type-small)
--flow-layers-color-ink-2var(--ink-2)
--flow-layers-gap-space-5var(--space-5)
--flow-layers-gap-space-2var(--space-2)
--flow-layers-padding-space-5var(--space-5)
--flow-layers-background-cottonvar(--cotton)
--flow-layers-border-top-rulevar(--rule)
--flow-layers-font-type-small-strongvar(--type-small-strong)
--flow-layers-bottom-space-6var(--space-6)
--flow-layers-right-space-5var(--space-5)
--flow-layers-background-surface-2var(--surface-2)
--flow-layers-background-indigovar(--indigo)
--flow-layers-color-on-dyevar(--on-dye)
--flow-layers-border-top-color-indigovar(--indigo)
--flow-layers-color-on-dye-2var(--on-dye-2)
--flow-layers-border-top-color-tealvar(--teal)
--flow-layers-border-top-color-saffronvar(--saffron)
--flow-layers-background-saffron-softvar(--saffron-soft)
--flow-layers-padding-space-2var(--space-2)
--flow-layers-padding-space-4var(--space-4)
--flow-layers-box-shadow-rule-hairvar(--rule-hair)
--flow-layers-box-shadow-tealvar(--teal)
--flow-layers-color-teal-inkvar(--teal-ink)
--flow-layers-padding-top-space-3var(--space-3)
--flow-layers-border-top-rule-hairvar(--rule-hair)
--flow-layers-color-saffron-inkvar(--saffron-ink)
--flow-layers-gap-space-9var(--space-9)
--flow-layers-font-type-labelvar(--type-label)
--flow-layers-gap-space-3var(--space-3)
--flow-layers-padding-left-space-5var(--space-5)
--flow-layers-border-left-rule-hairvar(--rule-hair)
--flow-layers-border-left-inkvar(--ink)
--flow-layers-padding-space-3var(--space-3)
--flow-layers-gap-space-4var(--space-4)
--flow-layers-gap-space-1var(--space-1)
--flow-layers-bend-maddervar(--madder)
--flow-layers-bend-ink-madder-inkvar(--madder-ink)
--flow-layers-bend-tealvar(--teal)
--flow-layers-bend-ink-teal-inkvar(--teal-ink)
--flow-layers-bend-saffronvar(--saffron)
--flow-layers-bend-ink-saffron-inkvar(--saffron-ink)

Layout

AspectValue
breakpointsRequired review at 390, 768, 1024 and 1440 px; execution is not implied by this declaration; the figure reflows to one column under 768 px.
wrappingLabels wrap; drawings scale to the column.
textExpansionJapanese labels are 20 to 40% longer and wrap inside their cells.

Spacing and rhythm

AspectValue
internalInside the Figure frame's --space-7 padding.
external--space-9 above and below in prose.
rhythmAfter the text whose claim it proves.

Motion

AspectValue
NoneA record is evidence: it holds still so it can be read.

Runtime and reuse

  1. Render-only element; mount any registered child enhancements separately. Preserve required Site CSS, fonts, responsive and locale rules from nativeElement.

Accessibility passport

AspectValue
rolefigure, named by its caption
nameThe caption, and a text alternative for any drawing
keyboardNot interactive unless stated.
focusLinks inside are in reading order.
screenReaderReads the figure's text and caption; drawings have role=img with a description.
contrastInk on surface 14:1; dyes used only as marks with their words.
targetNot a target.

Content

SlotLengthVoice
step8 wordsVerb first

Good: “Audit what you have”

Bad: “Synergise”

Japanese: i18n.ts ix.fl.*.

Icons and illustrations

None: this element uses no icon or illustration of its own.

Decisions and exceptions

Usage

21 uses across the built pages (measured by npm run site:system).

Tests

AspectValue
unittests/unit/site-system.test.ts: renders every do and don't example through the registry and checks the classes it owns
visualNot yet: there are no screenshot baselines; the Library page is checked for sideways scroll at 1440 px by tests/site/system.spec.ts
a11ytests/site/system.spec.ts: axe (0 serious or critical) on the element's Library page in light and dark
parityscripts/site/system/check.ts: Library examples are rendered by the same render function the site imports

Figma

not-yet: The Loom Site Figma library is the last stage of the plan; this element is not mapped yet.

Open in Storybook

Start with a conversation about your system.

We read your system, show you what we found, and agree with your team what to fix first.