Component packs › Chronicle › Version Scrubber
The document rebuilds itself version by version with a real word-level diff: additions highlighted, removals struck.
Version Scrubber is a history from Chronicle, a component pack with 6 timeline components: Timelines and history with one scrubbable time axis: drag it and everything shows that moment. Price: $2 for the whole pack.
Built with: LCS word diff, author and time, word count change.
Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.
| Prop | Type | Default | Description |
|---|---|---|---|
versions | DocVersion[] | ||
title | string | ||
width | number | 420 | Width in px. Default 420. |
dark | boolean | ||
autoplay | number | false | Showcase mode: steps through versions every N ms while visible. |
seek(t: number): voiddestroy(): voidimport VersionScrubber from './VersionScrubber';
<VersionScrubber />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Timelines.