Timeline
A readable sequence of events and dates.
Interactive preview
- Design complete
Tokens and component contracts reviewed.
- 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:
| Prop | Type | Default | Description |
|---|---|---|---|
| items | TimelineItem[] | required | Stable ids, titles, dates and optional content. |
| label | string | required | Sequence 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 timelineMake 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.
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.