Componentdata3.83 KB gzipZero dependencies

Activity Feed

Universal user and team activity stream for deployments, invites, edits, and security audits with timeline avatars, action badges, relative timestamps, and event icons.

Preview

Live Preview
Open ↗

Installation

Tokens guide →

Add to your project via CLI (zero dependencies, code you own):

npx bigbullui add activity-feed

Or install the full npm package:

npm install bigbullui

Usage

tsx17 lines
import { ActivityFeed } from "@/components/ui/activity-feed"; <ActivityFeed  items={[    {      id: "act-1",      actor: { name: "Sarah Chen", role: "DEV", initials: "SC" },      type: "deploy",      title: "Deployed api-gateway v2.4.1 to production",      timestamp: "3m ago",      dateGroup: "TODAY",      badge: { label: "DEPLOYED", tone: "accent" },      meta: { env: "production", commit: "8f3a91b" },      details: ["Container image built", "Traffic routed to 100%"]    }  ]}/>

Source code

activity-feed.tsx + 1 helper

Zero third-party dependencies (2 local files shown in tabs below).

tsxactivity-feed.tsx683 lines
"use client"; import * as React from "react";import { cn } from "./lib/utils"; export type ActivityType =  | "deploy"  | "invite"  | "edit"  | "security"  | "release"  | "delete"  | "branch"  | "config"  | "alert"  | "comment"; export type ActivityStatus = "completed" | "in_progress" | "failed";

Props

Interactive Prop Playground

Tweak parsed AST props below to generate ready-to-paste JSX.

tsx3 lines
import { ActivityFeed } from "@/components/ui/activity-feed"; <ActivityFeed />
PropTypeDescription
itemsActivityItem[]Array of activity log items
titlestringOptional feed title (default: 'ACTIVITY FEED')
serialstringTicket stub serial or audit number
showLiveIndicatorbooleanWhether to show live pulsating indicator (default: true)
allowFilteringbooleanWhether to enable interactive category filtering (default: true)
showCardNotchesbooleanWhether to show ticket notches on activity cards (default: true)
emptyMessagestringEmpty state message
onItemClick(item: ActivityItem) => voidCallback when an activity item is clicked