About
Show who did what and when, grouped by day, with each change written out and the details one click away.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Audit Log to your project and fits it to your theme.
Code
How Audit Log is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
"use client"
import "honestui/theme.css";
import { AuditLog, type AuditLogEntry } from "@/components/ui/honest-audit-log"
const now = Date.UTC(2026, 10, 26, 15, 30)
const entries: AuditLogEntry[] = [
{
id: "l1",
actor: { name: "Lena Vogt" },
action: "änderte den Tarif von",
target: { label: "Nordwind GmbH" },
timestamp: Date.UTC(2026, 10, 26, 15, 12),
changes: [
{ label: "Tarif", before: "Team", after: "Business" },
{ label: "Bestellnummer", before: "", after: "PO-7781" },
],
details: [{ label: "IP-Adresse", value: "203.0.113.24", mono: true }],
},
{
id: "l2",
actor: { name: "Jonas Keller" },
action: "lud ein:",
target: { label: "mara@nordwind.example" },
timestamp: Date.UTC(2026, 10, 24, 9, 40),
},
]
export default function AuditLogLanguage() {
return (
<div data-theme="light">
<AuditLog
entries={entries}
now={now}
timeZone="Europe/Berlin"
locale="de-DE"
labels={{
title: "Aktivität",
count: (count) => `${count} ${count === 1 ? "Ereignis" : "Ereignisse"}`,
today: "Heute",
yesterday: "Gestern",
minutesAgo: (minutes) => `vor ${minutes} Min.`,
hoursAgo: (hours) => `vor ${hours} Std.`,
notSet: "Nicht festgelegt",
was: "War",
now: "jetzt",
details: "Details",
time: "Zeit",
}}
/>
</div>
)
}
















