MindeesUI
ComponentsDisplay

ActivityLog

A compact timeline of events with a fixed time column, optional leading icon, and text per row.

ActivityLog lists events in a dense two-column layout: a fixed-width time label on the left and the event text on the right, with an optional leading icon. It suits audit trails, history panels, and recent-activity sections.

Import

import { ActivityLog } from '@mindees/ui';

Usage

<ActivityLog
  items={[
    { time: '09:41', text: 'Signed in' },
    { time: '09:43', text: 'Updated profile photo' },
  ]}
/>

Props

PropTypeDefaultDescription
itemsreadonly ActivityLogEvent[]Events to render ({ time, text, icon? }).
timeWidthnumber64Fixed width of the left time column in px.
styleStyleProp<ViewStyle>Style applied to the container.

Inherits the remaining ViewProps (except style).

Accessibility

The container uses accessibilityRole="list"; each row is marked none so the time and text read together. Keep time labels short and human-readable since they are announced before the event text.

On this page