honestui

Audit Log

Dashboards

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>
  )
}

Dependencies

More by honestui

View all
  • Chromatic Text Reveal

    Chromatic Text Reveal

    31
  • Warp

    Warp

    1
  • Morphing Dialog

    Morphing Dialog

    1
  • Scroll Velocity Text

    Scroll Velocity Text

    1
  • Spotlight

    Spotlight

    1
  • Success Check

    Success Check

    1
  • Typewriter

    Typewriter

    1
  • Schedule Builder

    Schedule Builder

More in Dashboards

View all
  • Fernly — Project Management Dashboard with Kanban

    Fernly — Project Management Dashboard with Kanban

    774
  • Analytics Dashboard

    Analytics Dashboard

    89
  • Creator Dashboard

    Creator Dashboard

    222
  • Insights Dashboard

    Insights Dashboard

    47
  • Corbel — Sales Analytics Dashboard

    Corbel — Sales Analytics Dashboard

    500
  • serf dashboard

    serf dashboard

    146
  • Dashboard with Collapsible Sidebar

    Dashboard with Collapsible Sidebar

    2.7K
  • Halden — CRM Dashboard with Sales Pipeline

    Halden — CRM Dashboard with Sales Pipeline

    74