Skip to content
Look

Shared with the landing page. Theme is the select beside this menu.

Timeline

Open .md
Live preview

Loading example…

Vertical activity feed: marker rail on the left, grouped by day, newest first by convention. Pass items, or compose Timeline.Item children (or both: items come first). Items can carry a status (done, current, error, pending) for a process rather than a log.

import { Timeline } from "@jcsoftdev/ui/containers";

Single-component entry points tree-shake to just this component: @jcsoftdev/ui/containers/timeline.

<Timeline items={items} />
Prop Type Default Description
items TimelineFeedItem[] [] Data-driven entries. Rendered before children.
children ReactNode Composed entries: Timeline.Item (or your own component that renders one) as children. A wrapper keeps its position, but only an element whose props carry group can open a group heading.
classNames Partial<Record<TimelinePart, string>> Per-part classes merged with cn; consumer classes win. className still targets the root and is merged last.

* marks a required prop.

It also accepts the native props of the element or primitive it renders (for example className, id, aria-* and event handlers).

packages/ui/src/containers/timeline/timeline.tsx