App UI kits › Briefline › History
Every revision of the copy; drag the two handles and the redline between any two revisions redraws.
History is a screen from Briefline, an app ui kit with 10 screens: A copy approval app for agency producers: tap the changed phrase, see Before and After, and sign it off. Price: $5 for the whole pack.
Built with: compare scrubber, word diff, revision list.
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 |
|---|---|---|---|
dark | boolean | ||
autoplay | boolean | ||
photos | BVPhotos | ||
from | number | Revisions to compare (1 to 4). | |
to | number | ||
onCompare | (from: number, to: number) => void | ||
onBack | () => void |
compare(from: number, to: number): voiddestroy(): voidimport BrieflineHistory from './BrieflineHistory';
<BrieflineHistory />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Approval workflow app.