# Activity feed

> Icon timeline rows with relative time footer.

A shadcn/ui block from the [@flx](https://ui.flexnative.com) registry, listed on [shadcn.exchange](https://shadcn.exchange/r/flx/item-19).

- Page, with a live preview: https://shadcn.exchange/r/flx/item-19
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/flx/item-19-light-47733c0f97355adc.png
- Registry item: https://ui.flexnative.com/r/item-19.json
- Listed: 2026-10-13, source last changed 2026-10-13

## Install

```bash
npx shadcn@latest add https://ui.flexnative.com/r/item-19.json
```

Run it in a project that has shadcn/ui set up. It adds the files below and installs what they depend on.

## Dependencies

- Registry items: `item`

## Files

### `registry/patterns/item/item-19.tsx`

```tsx
import {
  Item,
  ItemContent,
  ItemDescription,
  ItemFooter,
  ItemGroup,
  ItemMedia,
  ItemSeparator,
  ItemTitle,
} from '@/components/ui/item'
import {
  CheckCircle2Icon,
  GitCommitIcon,
  RocketIcon,
  UserPlusIcon,
} from 'lucide-react'

const events = [
  {
    icon: GitCommitIcon,
    title: 'Marcus pushed 3 commits',
    description: 'main · feat: split billing service',
    time: '2m ago',
  },
  {
    icon: UserPlusIcon,
    title: 'Priya joined the workspace',
    description: 'Invited by Sarah Chen',
    time: '1h ago',
  },
  {
    icon: CheckCircle2Icon,
    title: 'Release v2.4.0 marked stable',
    description: 'All canary metrics green for 24h',
    time: '4h ago',
  },
  {
    icon: RocketIcon,
    title: 'Deploy succeeded',
    description: 'production · 1m 42s',
    time: 'Yesterday',
  },
]

export function Item19() {
  return (
    <ItemGroup className="w-full max-w-md">
      {events.map((e, index) => (
        <div key={e.title}>
          <Item>
            <ItemMedia variant="icon">
              <e.icon />
            </ItemMedia>
            <ItemContent>
              <ItemTitle>{e.title}</ItemTitle>
              <ItemDescription>{e.description}</ItemDescription>
            </ItemContent>
            <ItemFooter className="basis-auto">
              <span className="text-muted-foreground text-xs">{e.time}</span>
            </ItemFooter>
          </Item>
          {index < events.length - 1 && <ItemSeparator />}
        </div>
      ))}
    </ItemGroup>
  )
}
```
