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)
// A person, an API, and the system itself. The last event is marked destructive.
const entries: AuditLogEntry[] = [
{
id: "a1",
actor: { name: "Ana Ruiz" },
action: "invited",
target: { label: "hana@atlas-works.jp", href: "/docs/product/audit-log" },
timestamp: Date.UTC(2026, 10, 26, 15, 22),
},
{
id: "a2",
actor: { name: "Deploy API", kind: "api" },
action: "published",
target: { label: "version 4.2.0" },
timestamp: Date.UTC(2026, 10, 26, 13, 5),
},
{
id: "a3",
actor: { name: "Northwind", kind: "system" },
action: "renewed the certificate for",
target: { label: "app.northwind.example" },
timestamp: Date.UTC(2026, 10, 26, 9, 0),
},
{
id: "a4",
actor: { name: "Northwind", kind: "system" },
action: "deleted 14 expired backups",
tone: "danger",
timestamp: Date.UTC(2026, 10, 26, 3, 0),
},
]
export default function AuditLogActors() {
return (
<div data-theme="light">
<AuditLog entries={entries} now={now} timeZone="UTC" locale="en-US" labels={{ title: "Activity by person" }} />
</div>
)
}
















