sigilUI

Activity Feed

Show recent events in a compact, chronological feed.

@sigil-ui/componentsReact

Preview

Live preview Interactive

Import

import { ActivityFeed } from "@sigil-ui/components";

Usage

<ActivityFeed
    entries={[
      { id: "1", title: "Deployment succeeded", description: "v2.1.0 deployed to production", timestamp: "2m ago", variant: "success" },
      { id: "2", title: "PR #142 merged", description: "Add radar chart component", timestamp: "15m ago", variant: "info" },
      { id: "3", title: "Build failed", description: "Type error in BillingChart.tsx", timestamp: "1h ago", variant: "error" },
      { id: "4", title: "New comment", description: "Alice commented on PR #140", timestamp: "3h ago", variant: "default" },
      { id: "5", title: "Dependency update", description: "Bumped @sigil-ui/tokens to 1.4.0", timestamp: "5h ago", variant: "warning" },
    ]}
  />

Props

PropTypeDefaultDescription
entriesActivityEntry[]——
maxEntriesnumber—Maximum entries to show before truncating.

Token integration

CSS VariablePurpose
--s-chart-neutralChart neutral
--s-successSuccess
--s-warningWarning
--s-errorError
--s-infoInfo
--s-borderBorder
--s-text-mutedText muted
--s-radius-fullRadius full
--s-textText
--s-font-monoFont mono