One entry from a real DESIGN.md

Shows one entry of a real DESIGN.md, the file agents read, so the reader sees what Loom exports for agents.

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

Do and don't

Do: On Agents and MCP

Rendered by design-md-excerpt.ts

Open example: One entry from a real DESIGN.md · Do: On Agents and MCP Use the full-page example to follow page links.

The file agents read.

Do: Tagged with its licence

Rendered by design-md-excerpt.ts

Open example: One entry from a real DESIGN.md · Do: Tagged with its licence Use the full-page example to follow page links.

Loom Base, MIT.

Don't: Edited excerpt

Rendered by design-md-excerpt.ts

Open example: One entry from a real DESIGN.md · Don't: Edited excerpt Use the full-page example to follow page links.

As generated.

Don't: Untagged

Rendered by design-md-excerpt.ts

Open example: One entry from a real DESIGN.md · Don't: Untagged Use the full-page example to follow page links.

Name the source.

Rules

RuleWhyCheck
The one entry from a real design.md is drawn from Loom Base's generated DESIGN.md 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)
The excerpt is read from the generated file at build time.It must match what agents get.Automated: npm run site:build

API

No props.

Contract details

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

Identity

AspectValue
Iddesign-md-excerpt
LayerOrganisms
Categoryfigure
OwnerSite system lead
Statusstable
Version1.0.0
Sourceapps/showcase/site/system/organisms/design-md-excerpt.ts (private repository; the contract and the render function are this one module)
VersionDateChange
1.0.02026-10-26One entry from a real DESIGN.md, drawn at build time from Loom Base's generated DESIGN.md.

Use when

  • Agents and MCP, and Resources. Why: The real file is the proof of the agent pack.

Do not use when

  • For a client's DESIGN.md. Why: Loom Base's, which is MIT and public.

Anatomy

PartWhat it is
rootfigure.visual.design-md-x
excerptpre.dmx with the entry

Made of: figure-frame, code-block, tag, caption.

Used in: pages directly.

Variants

VariantWhenWhy
defaultWherever its claim is made.One drawing per claim keeps the evidence consistent.

States

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

Tokens

PartToken
dmx.ground--term-bg
dmx.font--font-mono
--design-md-excerpt-background-term-bgvar(--term-bg)
--design-md-excerpt-color-term-fgvar(--term-fg)
--design-md-excerpt-padding-space-7var(--space-7)
--design-md-excerpt-border-radius-radiusvar(--radius)
--design-md-excerpt-font-size-fs-smallvar(--fs-small)

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
excerpt30 linesAs generated

Good: “## Button …”

Bad: “Lorem ipsum”

Japanese: English only (file content).

Icons and illustrations

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

Decisions and exceptions

Usage

4 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.