Skip to main content
Data DisplayLevel 2

Timeline

时间线

WebMobileDesktopDifficulty: Medium

A single line of events in chronological order, newest at the top.

01

Live Demo

Actually clickable

Today

Cleaned up 128 duplicate photos

14:20

Exported the 2024 archive

10:05

Turned on iCloud sync

09:12

Yesterday

Imported 342 new photos

21:40

Created album "2024 Travels"

16:22

One vertical line strings all the events together — it says "a series of things happened".

What you just saw:A WeChat Moments feed, the tracking trail of an order, GitHub commit history, a system changelog.

02

What it actually is

A timeline is a list that carries time. It adds two things over a plain List: explicit timestamps and visual continuity (one vertical line running through everything). What it expresses is "a series of things that happened".

timelineactivity feedvertical timelinehistorychangelogevent log
03

Anatomy · What it's made of

  1. Time Group时间分组

    "Today", "Yesterday"

  2. Item条目

    Avatar + content

  3. Rail时间轴

    The vertical line on the left, running through everything

  4. Dot节点

    The small node sitting on the rail

04

When to Use

When it fits, and when it doesn't
Timeline usage recommendations
SituationUse it?
Events have a meaningful chronological orderYes
You need to convey process and progress (logistics, state changes)Yes
The content is about what happened rather than the current stateYes
You need to show future plans (countdowns)Depends
The content has no temporal dimensionNo

At high volume the vertical line makes the page feel fragmented — consider a plain List with timestamps.

Merge events that share a timestamp; never render two identical time points.

05

Similar Patterns

Don't mix these up
06

How to tell AI

Three levels of prompt

Add the component name and specifics

Build a timeline: grouped by "Today / Yesterday / Earlier", with a vertical line and nodes on the left, each entry showing an avatar, content, and a timestamp, and new entries inserted at the top.

07

Don't just say this to AI

Bad → Better

Don't say this to AI

Display the records in chronological order.

Say this instead

Build a Timeline: group by "Today / Yesterday / Earlier", a vertical rail with node dots on the left, sticky date group headings, a highlight-and-fade animation for newly inserted entries, and semantic <time datetime> elements.

08

Share this card

Social-ready

Turn this pattern into a 3:4 or 1:1 knowledge card and export it as PNG right in the browser. No backend needed.