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
- Use it when a page needs review consumer-supplied actor, action, resource and time records with controlled filters and before-and-after detail.
- Choose it when the data structure, labels, and state are supplied by the application and must remain consumer controlled.
Alternatives
- Choose data-table instead when sortable column controls, native row selection and a scrollable table is the actual interface need, rather than audit log.
Configure components.json and the @tidal-pro namespace before installing Pro components.
Installation
npx shadcn@latest add @tidal-pro/audit-logImport components/ui/tidal.css, components/ui/audit-log.css. Wrap installed components in tidal-scope.
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)ReactNodeRequired summary value accepted by this exported component.
TidalAuditLog.timezoneLabel (required)ReactNodeRequired timezone label value accepted by this exported component.
TidalAuditLog.title (required)ReactNodeRequired title value accepted by this exported component.
TidalAuditLog.descriptionReactNodeOptional description value accepted by this exported component.
TidalAuditLog.emptyContentReactNodeOptional empty content value accepted by this exported component.
TidalAuditLog.eventHeadingLevel"h3" | "h4" | "h5" | "h6" | undefinedOptional event heading level value accepted by this exported component.
TidalAuditLog.exportActionTidalAuditExportAction | undefinedOptional export action value accepted by this exported component.
TidalAuditLog.filtersReadonlyArray<TidalAuditFilter> | undefinedOptional filters value accepted by this exported component.
TidalAuditLog.footerReactNodeOptional footer value accepted by this exported component.
TidalAuditLog.headingLevel"h2" | "h3" | "h4" | "h5" | undefinedOptional heading level value accepted by this exported component.
TidalAuditLog.labelsPartial<TidalAuditLogLabels> | undefinedOptional labels value accepted by this exported component.
TidalAuditLog.listPropsOmit<HTMLAttributes<HTMLDivElement>, "aria-disabled" | "children" | "dangerouslySetInnerHTML"> | undefinedOptional list props value accepted by this exported component.
TidalAuditLog.listRefRef<HTMLDivElement> | undefinedOptional list ref value accepted by this exported component.
Complete usage
Full example, stylesheet imports, API and accessibility documentation
Gotchas
- The host application owns data, validation, persistence, navigation, and service side effects described by this API.