Component packs › Chronicle › Audit Log
The summary is replayed from the events, so admins, live keys and open sessions are shown as they were at that moment.
Audit Log is a log 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: state replayed from events, changed values marked, who had access when.
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 |
|---|---|---|---|
events | AuditEvent[] | ||
base | Record<'admins' | 'keys' | 'sessions' | Summary before the first event. | |
rows | number | ||
width | number | 420 | Width in px. Default 420. |
dark | boolean | ||
autoplay | number | false | Showcase mode: scrubs through the log every N ms while visible. |
seek(t: number): voiddestroy(): voidimport AuditLog from './AuditLog';
<AuditLog />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Timelines.