Black Friday: 30% off Pro

Get 30% off

Updated

Activity Log

Pro

Preview

Customize

Installation

Pro

Activity Log is a Pro component

Sign in to see the source, or install it with a license key. The live preview and props above are free to explore.

Buying? Use the email you'll sign in with. Your license is tied to it.

Install with a key

  1. Add the Pro registry to components.json:
    components.json
    {
      "registries": {
        "@uibrik-pro": {
          "url": "https://uibrik.com/r/pro/{name}.json",
          "headers": { "Authorization": "Bearer ${UIBRIK_LICENSE}" }
        }
      }
    }
  2. Put your key in .env.local and add that file to .gitignore:
    .env.local
    UIBRIK_LICENSE=your-license-key
  3. Install it:
    Terminal
    npx shadcn@latest add @uibrik-pro/activity-log

Usage

import { ActivityLog } from "@/components/uibrik/activity-log/activity-log";​const description = "Everything that changed in your workspace, who changed it and from where.";​<ActivityLog  title="Activity"  groupByDay  showLocation  description={description}  onExport={(entries) => {}}  // entries={[{ id: "…", actor: "…", action: "…", type: "members", event: "…", minutesAgo: 0 }]}  // now={…}/>

Where to use Activity Log

  • Security audit trails

    Events grouped by day with filters by person and event type let an admin answer who changed what, and when, in seconds.

    Pairs with Permissions Matrix

  • Team workspace history

    Live search over the log helps teammates find the edit, invite or deletion they are looking for without scrolling.

    Pairs with Settings Page

  • Compliance reviews

    A clear, filterable record of billing, role and access changes is what auditors ask for in SOC 2 and similar reviews.

Props

ActivityLog
title
Type string
"Activity"
Names the page.
groupByDay
Type boolean
true
Groups entries under Today, Yesterday and dates.
showLocation
Type boolean
true
Shows where each event came from.
entries
Type { id: string; actor: string; avatar?: string; action: string; target?: string; detail?: string; type: "members" | "billing" | "security" | "deploys"; event: string; minutesAgo: number; ip?: string; location?: string; userAgent?: string; metadata?: Record<string, unknown> }[]
–
Log entries, read as “actor action target detail”. Times are minutes before `now`.
now
Type Date
Oct 17 2026, 14:20
The moment entries count back from; fixed so server and client agree.
description
Type string
–
One line under the title.
onExport
Type (entries: ActivityEntry[]) => void
–
Replaces the built-in CSV download; receives the entries currently shown.
className
Type string
–
Classes for the root.