j3w1 / TimelineVue · HTML · React · Astro

J3W1 / DESIGN SYSTEM

Timeline

Chronological events with explicit dates, descriptions and current state.

stable · LIGHT DOM · 1.1.0

Light DOM retains static content, native semantics, label relationships and host composition without duplicating controls.

Live variants

default

  1. Foundation prepared

    Completed · tokens generated.

  2. Components in review

    Current · interaction checks underway.

<j3w1-timeline id="example-timeline-default"><ol class="timeline"><li class="timeline-item"><time datetime="2026-01-12">12 Jan</time><div><strong>Foundation prepared</strong><p>Completed · tokens generated.</p></div></li><li class="timeline-item" aria-current="step"><time datetime="2026-01-13">13 Jan</time><div><strong>Components in review</strong><p>Current · interaction checks underway.</p></div></li></ol></j3w1-timeline>

Install and register

Use the exact version. If npm publication is pending, install the release tarball from the installation guide.

npm install --save-exact @j3w1/ui@1.1.0
import '@j3w1/ui/tokens.css';
import '@j3w1/ui/styles/timeline.css';
import '@j3w1/ui/register/timeline';

Insert the maintained markup above after loading these imports. Its native children provide accessible names and form behavior; the empty custom tag alone does not create a control.

Vue SFC, React, Astro and plain HTML integration →

Copy the complete implementation

npx --package=@j3w1/ui@1.1.0 j3w1-ui copy timeline --out ./vendor/j3w1/timeline

The CLI verifies every file before writing and refuses overwrites. Serve the output over HTTP and open index.html. Keep its modules, CSS, tokens and licence notices together.

Public API

attributes

NameType / signatureMeaning
disabledCustomEventDisable the native controls owned by this instance.
loadingCustomEventMark the primary control busy and prevent duplicate activation.

properties

NameType / signatureMeaning
disabledbooleanDelegates disabled state to native children.
namestringNative control name; application form keys remain explicit.

methods

NameType / signatureMeaning
refresh(): voidReconnect behavior after replacing native child structure.
focus(options?: FocusOptions): voidFocus the first usable native control.

events

NameType / signatureMeaning

Dependencies and verification

Registered components: none. Style dependencies: none.

Package presence establishes an available implementation. Actual passes depend on the tested artifact and environment. Read specification execution evidence; read packed-consumer evidence; inspect the complete state matrix.

Full implementation manifest, API and token dependency closure

Canonical specification

Purpose

Read events as an ordered list with explicit time and status text. The caller supplies order; the component does not reorder unknown dates. Lines support the sequence without becoming the only status channel.

Anatomy

  • list: Ordered events in reading order.
  • time: Native time element with machine-readable datetime.
  • event: Heading and status-bearing description.

States

StatePresentationNon-colour channel
defaultDivider along the event sequence.Ordered list and visible time.
currentEmphasized start border.aria-current and explicit Current text.

Keyboard

  • Tab / Shift+Tab: Reach event links and actions. The sequence is not focusable.

Accessibility

Use real time values and visible dates. Identify the current event with aria-current and text. Avoid a color-only dot or an order that changes between visual presentation and reading order.

Portability

Wrap labels and actions without changing source order. Use logical spacing in RTL. Preserve native target sizes at both densities; only bounded data regions may scroll horizontally. Use equivalent native semantics and approved roles; record any unsupported behavior as a mapping deviation. The host owns application data, persistence, permissions and services.

Non-examples

Unlabelled controls, color-only status, drag-only operations, hidden required instructions, stolen focus or an invented service success.

j3w1 / command

  • SPEC Overview
  • SPEC Foundations
  • SPEC Components
  • SPEC Patterns
  • SPEC Tokens
  • SPEC Tools
  • SPEC Implement
  • SPEC For agents
  • SPEC Ports
  • SPEC Releases
  • DEMO Vue application demo
  • SPEC Complete UI theme specification