Organism · beta · v1.0.0 · owner: Site system lead · contract 19 of 20 points (open: figma)
Do and don't
Do: The full quarter
Rendered by ops-board.tsOpen example: UX Ops board (one quarter of a design system) · Do: The full quarter Use the full-page example to follow page links.
Do: Exceptions preset
Rendered by ops-board.tsOpen example: UX Ops board (one quarter of a design system) · Do: Exceptions preset Use the full-page example to follow page links.
Don't: Presented as client data
Rendered by ops-board.tsOpen example: UX Ops board (one quarter of a design system) · Don't: Presented as client data Use the full-page example to follow page links.
Don't: Autoplay with reduced motion
Rendered by ops-board.tsOpen example: UX Ops board (one quarter of a design system) · Don't: Autoplay with reduced motion Use the full-page example to follow page links.
Rules
| Rule | Why | Check |
|---|---|---|
| UX Ops board (one quarter of a design system) is computed by Loom's code from Harbor UI's sample records simulated week by week by Loom's operations code (scripts/site/interactives/ops-quarter.ts), not drawn by hand. | A showcase is proof only if the product's own code produced what it shows. | Automated: scripts/site/interactives/check.ts (recomputes the showcase data and fails on drift) |
| Both modes show the same count tiles. | The reader can only compare like with like (critic, 26 Oct). | Automated: tests/site/interactives.spec.ts |
API
| Prop | Type | Required | Default | What it does |
|---|---|---|---|---|
instanceKey | string | No | Optional deterministic unique key for repeated static specimens. Letter first, then letters, digits, underscore or hyphen, up to64 characters; omit for singleton anchors. Duplicate keys are unsupported. | |
lang | en | ja | No | "en" | Interface language. |
preset | string | No | "full" | full, or exceptions for the Govern page. |
Contract details
The full contract: identity, anatomy, variants, states, tokens, layout, motion, accessibility, content, tests
Identity
| Aspect | Value |
|---|---|
| Id | ops-board |
| Layer | Organisms |
| Category | showcase |
| Owner | Site system lead |
| Status | beta |
| Version | 1.0.0 |
| Source | apps/showcase/site/system/organisms/ops-board.ts (private repository; the contract and the render function are this one module) |
| Version | Date | Change |
|---|---|---|
| 1.0.0 | 2026-10-26 | UX Ops board (one quarter of a design system): computed by Loom's code from Harbor UI's sample records simulated week by week by Loom's operations code (scripts/site/interactives/ops-quarter.ts). |
Use when
- The UX Ops lead on the landing and the Operations page. Why: It is the one view that shows why an operating model matters.
- The exceptions preset on the Govern page. Why: It shows an exception expiring on schedule.
Do not use when
- To claim a client's results. Why: The records are sample data, captioned as such.
Anatomy
| Part | What it is |
|---|---|
| root | div.ix-ob |
| controls | Mode toggle, week slider, play |
| lanes | Work lanes with cards |
| people | Who is away |
| counts | The same tiles in both modes |
| caption | Sample records, computed by Loom's code |
Made of: showcase-frame, control, playback-controls, stat, caption.
Used in: lead-section.
Variants
| Variant | When | Why |
|---|---|---|
| full | Landing and Operations. | The whole quarter in both modes. |
| exceptions | Govern. | Focuses on an exception with an expiry. |
States
| State | Rendered or not applicable |
|---|---|
| default | The final, complete step (what readers without JavaScript see). |
| hover | Its controls show hover; the content does not change on hover. |
| focus-visible | Every control shows the --focus ring. |
| active | Playing: the play control reads Pause and the steps advance. |
| disabled | Not applicable: Controls are hidden, not disabled, when they cannot act. |
| loading | The build-time specimen remains readable while its browser chunk loads. Managed bindings expose controls after validated initialization; unmanaged bindings retain their native startup behavior and unverified result. |
| empty | Not applicable: The data is part of the build; a showcase without data fails the build. |
| error | Managed bindings restore readable static content and hidden inert controls on caught chunk/initialization failure, then retry by remount. Unmanaged bindings catch chunk/throw failures, but a resolved initializer can mask internal data/DOM failure; its ready marker is not verified success. Unmanaged recovery requires a page reload. Enhancement failure is separate from business-data errors. |
| current | The current step is named in words (aria-valuetext and the step label). |
| visited | Not applicable: Not a link. |
| expanded | Not applicable: It does not open or close. |
Tokens
| Part | Token |
|---|---|
| card.rule | --rule in the card's state colour (wait saffron, broken madder, ok teal) |
| lane.ground | --surface-2 |
| counts.rule | --rule --ix-ink |
| --ops-board-ob-ok-teal | var(--teal) |
| --ops-board-ob-ok-ink-teal-ink | var(--teal-ink) |
| --ops-board-ob-wait-saffron | var(--saffron) |
| --ops-board-ob-wait-ink-saffron-ink | var(--saffron-ink) |
| --ops-board-ob-broken-madder | var(--madder) |
| --ops-board-ob-broken-ink-madder-ink | var(--madder-ink) |
| --ops-board-ob-idle-line-strong | var(--line-strong) |
| --ops-board-ob-idle-ink-ink-2 | var(--ink-2) |
| --ops-board-margin-top-space-8 | var(--space-8) |
| --ops-board-gap-space-5 | var(--space-5) |
| --ops-board-color-ink | var(--ink) |
| --ops-board-outline-focus | var(--focus) |
| --ops-board-gap-space-4 | var(--space-4) |
| --ops-board-gap-space-8 | var(--space-8) |
| --ops-board-gap-space-2 | var(--space-2) |
| --ops-board-font-type-body | var(--type-body) |
| --ops-board-font-type-h3 | var(--type-h3) |
| --ops-board-letter-spacing-ls-h3 | var(--ls-h3) |
| --ops-board-font-type-small | var(--type-small) |
| --ops-board-color-ink-2 | var(--ink-2) |
| --ops-board-gap-space-6 | var(--space-6) |
| --ops-board-padding-space-6 | var(--space-6) |
| --ops-board-border-radius-radius | var(--radius) |
| --ops-board-background-ink | var(--ink) |
| --ops-board-color-cotton | var(--cotton) |
| --ops-board-box-shadow-space-2 | var(--space-2) |
| --ops-board-box-shadow-saffron | var(--saffron) |
| --ops-board-font-type-small-strong | var(--type-small-strong) |
| --ops-board-accent-color-indigo | var(--indigo) |
| --ops-board-gap-grid-gap | var(--grid-gap) |
| --ops-board-background-surface | var(--surface) |
| --ops-board-background-surface-3 | var(--surface-3) |
| --ops-board-ob-fg-2-ink-2 | var(--ink-2) |
| --ops-board-background-indigo | var(--indigo) |
| --ops-board-color-on-dye | var(--on-dye) |
| --ops-board-ob-fg-2-on-dye-2 | var(--on-dye-2) |
| --ops-board-ob-ok-teal-2 | var(--teal-2) |
| --ops-board-ob-broken-madder-2 | var(--madder-2) |
| --ops-board-gap-space-1 | var(--space-1) |
| --ops-board-padding-top-space-3 | var(--space-3) |
| --ops-board-border-top-rule | var(--rule) |
| --ops-board-font-type-h2 | var(--type-h2) |
| --ops-board-letter-spacing-ls-h2 | var(--ls-h2) |
| --ops-board-padding-space-5 | var(--space-5) |
| --ops-board-border-top-rule-hair | var(--rule-hair) |
| --ops-board-border-top-line | var(--line) |
| --ops-board-margin-space-4 | var(--space-4) |
| --ops-board-background-surface-2 | var(--surface-2) |
| --ops-board-background-space-3 | var(--space-3) |
| --ops-board-background-space-5 | var(--space-5) |
| --ops-board-font-type-label | var(--type-label) |
| --ops-board-background-cotton | var(--cotton) |
| --ops-board-padding-space-4 | var(--space-4) |
| --ops-board-color-indigo-ink | var(--indigo-ink) |
| --ops-board-stroke-surface-3 | var(--surface-3) |
| --ops-board-padding-space-2 | var(--space-2) |
| --ops-board-background-teal-soft | var(--teal-soft) |
| --ops-board-margin-top-space-2 | var(--space-2) |
| --ops-board-box-shadow-shadow-float | var(--shadow-float) |
| --ops-board-color-madder-ink | var(--madder-ink) |
Layout
| Aspect | Value |
|---|---|
| breakpoints | Required review at 390, 768, 1024 and 1440 px; execution is not implied by this declaration; columns stack under 768 px and controls fill the row on phones. |
| wrapping | Text wraps; code panes scroll inside their own focusable region. |
| textExpansion | Japanese strings come from the i18n tables and wrap; engine output stays English. |
Spacing and rhythm
| Aspect | Value |
|---|---|
| internal | Inside the Showcase frame's padding, controls and caption at its foot. |
| external | Full width of its section. |
| rhythm | One showcase per section, after the section's claim (D-SITE-008). |
Motion
| Aspect | Value |
|---|---|
| moves | Its steps, one at a time. |
| trigger | Scrolled into view (IntersectionObserver), or the play control. |
| duration | Authored frame holds belong to each registered runtime motion profile, not one shared range. DriftHero: 1.6/2.4/2.4 s, Conversations: 3 s, V4: 4 s; unknown legacy timings remain unassessed. Registered Web Animations transitions use --dur-weave. |
| easing | Per registered profile: Claude showcase arrivals use --ease-enter; V4 geometry uses --ease-standard. Other legacy bindings remain unassessed. |
| interruptible | Yes: pause, the slider and keyboard End stop or jump at once. |
| reduced | No autoplay: the final step is shown and the reader steps through with the controls. |
| why | The showcase proves a claim by letting the reader watch Loom's code do the work. |
Runtime and reuse
stylesheet: /css/site.css. Built Site tokens, core and registered element CSS; preserve modes, focus and responsive rules.
stylesheet: /css/demos.css. Existing legacy demo styles where the rendered specimen uses them.
font: /fonts/. Self-hosted files referenced by Site @font-face, with licences; Japanese locale overrides remain applicable.
data: /i18n/ja.json. Required for a Japanese root; English interface fallbacks are authored in source. Root language changes require disposal and fresh preparation.
data: /data/ops-quarter.json. Required first-party native source data; fetch aborts with the mount and invalid consumed fields reject before DOM initialization.
Static fallback: Original build-time specimen remains readable before loading and after chunk/initialization failure; enhancement controls retain authored hidden state.
Before DOM initialization the configured host awaits apps/showcase/site/interactives/ops-quarter.ts#prepare for this root with a mount-owned AbortSignal. Preparation must throw on missing/invalid data; disposal/replacement aborts pending work, and a stale result cannot initialize or claim ready.
Configured initializer: apps/showcase/site/interactives/ops-quarter.ts#init. The host owns transactional static-markup restoration and runtime state.
Consumer module (imports relative to the configured source root): import { createRuntimeHost } from "./src/workflows/runtime-host"; import { SITE_RUNTIMES } from "./apps/showcase/site/runtime-registry"; const definition = SITE_RUNTIMES.find(entry => entry.binding.id === "ops-quarter"); if (!definition || definition.binding.lifecycle.kind !== "managed") throw new Error("Managed runtime binding unavailable"); const host = createRuntimeHost([definition]); export function mountRuntime(container: ParentNode) { return host.mountAll(container); }After inserting the rendered markup, call mountRuntime(container) for the container holding [data-demo="ops-quarter"]. Retain the returned disposal function and call it before removing, replacing or remounting, including every Storybook args render. The configured host restores captured static markup/attributes on disposal or caught load/initialization failure; retry starts a fresh managed remount.
Accessibility passport
| Aspect | Value |
|---|---|
| role | region with a heading, or a figure |
| name | Its heading or caption |
| keyboard | Tab to the controls; Space plays or pauses; arrows move the steps; End shows the last step. |
| focus | Controls in reading order; focus never moves on its own. |
| screenReader | Manual frame selection and pause announce their settled content. Explicit Play announces the final settled summary once; autoplay and system interruption/disposal stay silent. Legacy initializers outside the shared player remain explicitly unassessed. |
| contrast | Ink on surface 14:1; state dyes only as marks with words. |
| target | Controls are 44 px. |
Content
| Slot | Length | Voice |
|---|---|---|
| caption | 2 sentences | Sample records; computed by Loom's code |
Good: “Harbor UI is a made-up React system. Every number is computed from its sample records.”
Bad: “Teams ship 3x faster with Loom.”
Japanese: i18n.ts ix.ob.* and ix.oq.*.
Icons and illustrations
None: this element uses no icon or illustration of its own.
Decisions and exceptions
Usage
732 uses across the built pages (measured by npm run site:system).
Tests
| Aspect | Value |
|---|---|
| unit | tests/unit/site-system.test.ts: renders every do and don't example through the registry and checks the classes it owns |
| visual | Not yet: there are no screenshot baselines; the Library page is checked for sideways scroll at 1440 px by tests/site/system.spec.ts |
| a11y | tests/site/system.spec.ts: axe (0 serious or critical) on the element's Library page in light and dark |
| parity | scripts/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.