Component packs › Chronicle › Audit Log

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.

Audit Log props

PropTypeDefaultDescription
eventsAuditEvent[]
baseRecord<'admins' | 'keys' | 'sessions'Summary before the first event.
rowsnumber
widthnumber420Width in px. Default 420.
darkboolean
autoplaynumber | falseShowcase mode: scrubs through the log every N ms while visible.

Methods on the ref

Use it in React

import AuditLog from './AuditLog';

<AuditLog />

The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.

More in Chronicle

Good for: Timelines.