TidalUI

Audit log preview

Review consumer-supplied actor, action, resource and time records with controlled filters and before-and-after detail.

pro · Data · composite

When to use

Alternatives

Configure components.json and the @tidal-pro namespace before installing Pro components.

Installation

npx shadcn@latest add @tidal-pro/audit-log

Import components/ui/tidal.css, components/ui/audit-log.css. Wrap installed components in tidal-scope.

Preview

Audit log component preview

Open interactive preview

Minimal example

import"./components/ui/tidal.css";
import"./components/ui/audit-log.css";
import{TidalAuditLog}from"./components/ui/audit-log";
export default()=><div className="tidal-scope"><TidalAuditLog events={[{id:"example",actor:{name:"Demo"},action:"#",resource:{label:"Demo",href:"#"},dateTime:"2026-01-01",timeLabel:"Demo"}]} summary={"Demo"} timezoneLabel={"Demo"} title={"Demo"}/></div>;

API and props

TidalAuditLog.events (required)
ReadonlyArray<TidalAuditEvent>

Required events value accepted by this exported component.

TidalAuditLog.summary (required)
ReactNode

Required summary value accepted by this exported component.

TidalAuditLog.timezoneLabel (required)
ReactNode

Required timezone label value accepted by this exported component.

TidalAuditLog.title (required)
ReactNode

Required title value accepted by this exported component.

TidalAuditLog.description
ReactNode

Optional description value accepted by this exported component.

TidalAuditLog.emptyContent
ReactNode

Optional empty content value accepted by this exported component.

TidalAuditLog.eventHeadingLevel
"h3" | "h4" | "h5" | "h6" | undefined

Optional event heading level value accepted by this exported component.

TidalAuditLog.exportAction
TidalAuditExportAction | undefined

Optional export action value accepted by this exported component.

TidalAuditLog.filters
ReadonlyArray<TidalAuditFilter> | undefined

Optional filters value accepted by this exported component.

TidalAuditLog.footer
ReactNode

Optional footer value accepted by this exported component.

TidalAuditLog.headingLevel
"h2" | "h3" | "h4" | "h5" | undefined

Optional heading level value accepted by this exported component.

TidalAuditLog.labels
Partial<TidalAuditLogLabels> | undefined

Optional labels value accepted by this exported component.

TidalAuditLog.listProps
Omit<HTMLAttributes<HTMLDivElement>, "aria-disabled" | "children" | "dangerouslySetInnerHTML"> | undefined

Optional list props value accepted by this exported component.

TidalAuditLog.listRef
Ref<HTMLDivElement> | undefined

Optional list ref value accepted by this exported component.

Complete usage

Full example, stylesheet imports, API and accessibility documentation

Gotchas