Byline

Says who wrote an article, when, and how long it takes to read, because the owner's voice is part of the argument.

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

Do and don't

Do: Full byline

Rendered by byline.ts

Open example: Byline · Do: Full byline Use the full-page example to follow page links.

Who, when, how long.

Do: Japanese

Rendered by byline.ts

Open example: Byline · Do: Japanese Use the full-page example to follow page links.

The same facts in Japanese.

Don't: No date

Rendered by byline.ts

Open example: Byline · Don't: No date Use the full-page example to follow page links.

An undated argument cannot be judged against today.

Don't: A future date

Rendered by byline.ts

Open example: Byline · Don't: A future date Use the full-page example to follow page links.

An article cannot be published tomorrow.

Rules

RuleWhyCheck
Every article has an author and a real publication date.The owner's voice and the date are part of the evidence.Automated: scripts/site/pages.ts (front matter date is YYYY-MM-DD)

API

PropTypeRequiredDefaultWhat it does
partslistYesEscaped author, a <time> element and the reading time.

Contract details

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

Identity

AspectValue
Idbyline
LayerMolecules
Categorycontent
OwnerSite system lead
Statusstable
Version1.0.0
Sourceapps/showcase/site/system/molecules/byline.ts (private repository; the contract and the render function are this one module)
VersionDateChange
1.0.02026-10-26Author, date and reading time under an article title.

Use when

  • Under every article title. Why: Readers trust an argument more when they know who makes it and when.

Do not use when

  • On product pages. Why: Product pages describe the product, not an opinion with an author.

Anatomy

PartWhat it is
rootp.meta.article-byline
partsAuthor · time element · reading time, separated by dots.

Made of: eyebrow.

Used in: pages directly.

Variants

VariantWhenWhy
articleArticles in English and Japanese.The same three facts in both.

States

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

Tokens

PartToken
root.font--type-small-strong
root.color--ink-2

Layout

AspectValue
breakpointsRequired review at 390, 768, 1024 and 1440 px; execution is not implied by this declaration; wraps on phones.
wrappingWraps between parts.
textExpansionJapanese date format is longer and wraps.

Spacing and rhythm

AspectValue
internalDots with spaces.
external--space-4 under the title.
rhythmPart of the page head.

Motion

AspectValue
NoneStatic.

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
roleparagraph
nameNone
keyboardNot interactive.
focusNot focusable.
screenReaderReads author, date (machine-readable in datetime) and time.
contrast--ink-2 on cotton 8.6:1.
targetNot a target.

Content

SlotLengthVoice
parts3 partsName · date · minutes

Good: “Site system lead, founder of Loom · 26 October 2026 · 8 min read”

Bad: “By Admin”

Japanese: Japanese bylines use (Loom 創業者), the Japanese date and 約 N 分.

Icons and illustrations

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

Decisions and exceptions

Usage

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

Shared styles

Byline renders .meta and inherits the Eyebrow typography and foreground roles; .article-byline identifies content, without a second style implementation.

Style owners: eyebrow

  • apps/showcase/site/system/styles/core/eyebrow.css

Remaining review: Existing English/Japanese positive specimens fit light/dark 320/390/1440; worst-case names/dates and native-language review remain open.

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.