Organism · draft · v1.0.0 · owner: Site system lead · contract 19 of 20 points (open: figma)
Do and don't
Do: Identity family
Rendered by identity-playground.tsOpen example: V4 identity playground · Do: Identity family Use the full-page example to follow page links.
Do: Compact lettering
Rendered by identity-playground.tsOpen example: V4 identity playground · Do: Compact lettering Use the full-page example to follow page links.
Do: Japanese identity family
Rendered by identity-playground.tsOpen example: V4 identity playground · Do: Japanese identity family Use the full-page example to follow page links.
Do: Compact lettering in English
Rendered by identity-playground.tsOpen example: V4 identity playground · Do: Compact lettering in English Use the full-page example to follow page links.
Don't: Present the band reference as an audit result
Rendered by identity-playground.tsOpen example: V4 identity playground · Don't: Present the band reference as an audit result Use the full-page example to follow page links.
Don't: Use the expressive lettering as a 16px favicon
Rendered by identity-playground.tsOpen example: V4 identity playground · Don't: Use the expressive lettering as a 16px favicon Use the full-page example to follow page links.
Rules
| Rule | Why | Check |
|---|---|---|
| Positive specimens declare their rendered initial state and document language; each registered visual variant has a positive example. | Machine and Library consumers need the same examples without turning declarations into execution evidence. | Automated: tests/unit/v4-example-coverage.test.ts |
| Health specimens retain rubric thresholds and words. | The expressive identity must not change the meaning of health. | Automated: tests/unit/site-identity.test.ts |
API
| Prop | Type | Required | Default | What it does |
|---|---|---|---|---|
lang | en | ja | No | "en" | Panel language. |
compact | boolean | No | false | Lettering-only panel; placement is decided through the consumer’s page contract. |
Contract details
The full contract: identity, anatomy, variants, states, tokens, layout, motion, accessibility, content, tests
Identity
| Aspect | Value |
|---|---|
| Id | identity-playground |
| Layer | Organisms |
| Category | identity |
| Owner | Site system lead |
| Status | draft |
| Version | 1.0.0 |
| Source | apps/showcase/site/system/organisms/identity-playground.ts (private repository; the contract and the render function are this one module) |
| Version | Date | Change |
|---|---|---|
| 1.0.0 | 2026-10-27 | Created from the owner-selected V4 direction (D-SITE-019). |
Use when
- The website's expressive identity panel and its brand field guide. Why: The lettering, crossings and badges remain one coherent family.
Do not use when
- Replacing the first-screen product promise with a slogan. Why: The owner kept the clear explanation of what Loom does.
Anatomy
| Part | What it is |
|---|---|
| root | Identity panel |
| word | Geometric lettering |
| stickers | Seven source-defined silhouettes |
| bands | Operational state specimens and a separate health band reference |
Made of: identity-art, identity-sticker, band-word, state-badge.
Used in: pages directly.
Variants
| Variant | When | Why |
|---|---|---|
| full | In the identity field guide. | Shows the family together with its meanings. |
| compact | In a compact identity reference. | Adds the expressive lettering without duplicating the field guide. |
States
| State | Rendered or not applicable |
|---|---|
| default | default |
| hover | Interactive links retain their text and visible affordance on hover. |
| focus-visible | The compact variant has an Explore the identity link with a visible focus ring; the full static family has no controls. |
| active | Enter activates the focused link; native buttons also accept Space. Parent content does not move. |
| disabled | Not applicable: Identity playground has nothing to disable. |
| loading | Not applicable: Identity playground is rendered at build time and is complete when the page loads. |
| empty | Not applicable: Content is generated from registered system definitions and has no empty-list variant. |
| error | Not applicable: Identity playground shows no data that can fail. |
| current | Not applicable: Identity playground has no current item. |
| visited | Not applicable: These navigational links keep their semantic colour; browser history does not imply task completion. |
| expanded | Not applicable: Identity playground does not open or close. |
Tokens
| Part | Token |
|---|---|
| --identity-playground-label | var(--type-label) |
| --identity-playground-tracking | var(--ls-label) |
| --identity-playground-gap-caption | var(--space-5) |
| --identity-playground-surface | var(--cotton) |
| --identity-playground-ink | var(--ink) |
| --identity-playground-ink-muted | var(--ink-2) |
| --identity-playground-line | var(--line-strong) |
| --identity-playground-rule | var(--rule-hair) |
| --identity-playground-link | var(--link) |
| --identity-playground-caption | var(--type-small) |
| --identity-playground-title | var(--type-h3) |
| --identity-playground-gap | var(--space-6) |
| --identity-playground-gap-small | var(--space-3) |
| --identity-playground-padding | var(--space-8) |
| --identity-playground-margin | var(--space-9) |
| --identity-playground-target | var(--space-11) |
| --identity-playground-focus | var(--focus) |
| --identity-playground-focus-width | var(--rule) |
| --identity-playground-focus-offset | var(--space-2) |
| --identity-playground-gap-medium | var(--space-4) |
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; the wrap keeps a 16 px gutter on phones. |
| wrapping | Text wraps; nothing scrolls sideways. |
| textExpansion | Japanese runs 20 to 40% longer; headings break between phrases (jaBreaks) and blocks grow downwards. |
Spacing and rhythm
| Aspect | Value |
|---|---|
| internal | --space-8 |
| external | --space-9 |
| rhythm | One brand composition followed by explanatory content. |
Motion
| Aspect | Value |
|---|---|
| None | No intrinsic element animation. The optional claude-entrance consumer profile may translate below-fold structure once (20px, --dur-weave, --ease-enter, --stagger); reduced motion disables it. This preserved baseline entrance is separate from element playback. |
Runtime and reuse
Render-only element; mount any registered child enhancements separately. Preserve required Site CSS, fonts, responsive and locale rules from nativeElement.
Accessibility passport
| Aspect | Value |
|---|---|
| role | Static family composition; one link in the compact variant |
| name | Labelled expressive artwork and visible captions; compact link has visible text |
| keyboard | Compact link supports Tab and Enter; full composition has no controls |
| focus | Visible component ring on the compact link |
| screenReader | The lettering has an image description; stickers and state/band specimens retain distinct captions |
| contrast | The family composes mode-aware registered artwork, badges and labels |
| target | Compact link uses the component target token |
Content
| Slot | Length | Voice |
|---|---|---|
| caption | One sentence | Describe the family without making a result claim. |
Good: “One boundary. Many states.”
Bad: “Every system is fixed.”
Japanese: 一つの境界。さまざまな状態。 All specimens carry translated labels.
Icons and illustrations
None: this element uses no icon or illustration of its own.
Decisions and exceptions
Usage
16 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.