v0.3.1 StableFoundation ComponentReact 18 & 19Zero Runtime CSS

Timeline

A readable sequence of events and dates.

Interactive preview

  1. Design complete

    Tokens and component contracts reviewed.

  2. Ready to build

    Reusable pieces, ordinary CSS.

Usage

import { Timeline } from "@devvy-ui/react";

<Timeline label="Release history" items={[{id:'launch',title:'Launch',dateTime:'2026-10-23',content:<p>Ready to build.</p>}]} />

API reference

Native HTML attributes, className, style and a forwarded ref are supported. Component-specific props:

PropTypeDefaultDescription
itemsTimelineItem[]requiredStable ids, titles, dates and optional content.
labelstringrequiredSequence name.

Accessibility & behavior

Platform Behavior & Guidelines

An ordered list with native time elements. Provide valid dateTime strings and human-readable dateLabel when localization is needed; no automatic relative-time timer.

Source ownership

Run npx @devvy-ui/cli init once in your React project, then add the source:

npx @devvy-ui/cli add timeline

Make the source yours.

Start from the canonical implementation used by the package and registry. Change the code, keep the MIT notice, and build the behavior your project needs.

Timeline.tsxREACT / TSX

Edit your own copy. Downloaded source uses your changes; the component preview above uses the shipped version. Run the source installer first to include shared helpers.