Timeline

Doc Revisions

A document revision history: author, comment and a two-colour bar whose parts are proportional to the added and removed lines.

What you can change

  • the heading through title
  • the revisions through revisions: version, author, comment, time and the added/removed counts
  • the accent colour through accent

A link for your AI agent: preview, code and instructions.

Preview

1440pxHost theme

Use it with AI

  1. 1. Copy the link.
  2. 2. Write to your agent in your own words and drop the link into the sentence.
  3. 3. The agent opens the link and installs the component from the registry.
AI
1Pick it here

put this on the home page as the hero:

https://vibeui.ru/c/timeline-005?lang=en&theme=dark

2Paste into the chat
3Get it in your project

Not sure where to paste it? Step-by-step guide

Show the full instructions

What the link says, spelled out. Use it when your agent cannot open links — paste this text instead.

Loading…

For developers

The install command lives in the “Component source” block below — a signed link that stays valid for 24 hours.

Technical notes

The component is self-contained: one file, zero dependencies, the palette in the local --vibeui-timeline-005-* variables. Server component: no hooks. The added share is computed at render and passed to CSS in the single --vibeui-timeline-005-share variable, which sets the width of the green part of the bar; the red part takes the remainder through flex: 1. The +N and −N numbers stand beside it as text: a bar without a label is decoration, not data. The version number is laid out as a separate chip in the grid's first column, and the current version is marked by the border colour and the word "current". The theme comes from the surrounding color-scheme through light-dark(): the block has no surface by default, it sits on the page background and darkens along with it.

Tags

  • timeline
  • history
  • diff
  • versions
Component source

The same file your agent installs. Here in case you would rather copy it by hand.

Loading…