Skip to main content

ActivityTimeline

Chronological audit / activity feed built from AuditLogEntry rows.

Signature
Density
Viewport
Theme and light/dark are set in the top bar
Live demo
Open ↗

When to use​

Chronological audit / activity feed built from AuditLogEntry rows.

Accessibility​

Pipeline/timeline state is conveyed in text (not just colour); action bars are keyboard reachable and announce the item under review.

Install and import​

npx shadcn@latest add @prism/activity-timeline
import { ActivityTimeline } from '@/components/prism/ActivityTimeline';

In a no-build prototype, read it from the bundle instead: const { ActivityTimeline } = window.PrismDesignSystem_39d121;

Props​

PropTypeRequiredDescription
itemsTimelineItem[]—Flat chronological list.
groups\{ label: React.ReactNode; items: TimelineItem[] \}[]—Or date-grouped sections; takes precedence over items.
classNamestring—