# Activity Dropdown block

> Account rollout activity dropdown with scrollable vertical timeline and per-step badges

Dropdown holding a scrollable vertical timeline of rollout steps, each with date, owner, status badge, dot-meta badge, attachment and star rating. ReUI Timeline, Badge, Rating with shadcn DropdownMenu, ScrollArea. Activity feed, audit log.

- Type: Pro block
- Category: [Timeline](https://web.dev.reui.io/blocks/application/timeline.md)
- Page: https://web.dev.reui.io/blocks/application/timeline/timeline-7
- Docs (Base UI): https://web.dev.reui.io/docs/components/base/timeline.md
- Docs (Radix UI): https://web.dev.reui.io/docs/components/radix/timeline.md
- MCP: `get_block("timeline-7")`
- Built with: Badge, Button, Button Group, Dropdown Menu, Rating, Scroll Area, Timeline, Tooltip
- Installs with a ReUI Pro or Ultimate license; setup: https://web.dev.reui.io/docs/license-setup

## Best for

A dropdown opened from a button, holding 10 rollout entries in a height capped scroll area under a count badge

## Agent notes

- Replace `rolloutItems` in data.ts; the count badge in the menu header is taken from its length
- `FileAttachment` buttons have no handler and the `disabled` Mark all as read button is inert, so wire both
- `DropdownMenu` is open on load through `defaultOpen`; remove it to start closed behind the Open timeline button

## When not to use

- The rollout list shown on the page with no menu around it: use [Account Rollout](https://web.dev.reui.io/blocks/application/timeline/timeline-2.md) (`get_block("timeline-2")`)
- A day grouped audit log with filters and CSV export: use [Access Audit Log](https://web.dev.reui.io/blocks/solutions/users/solution-users-6.md) (`get_block("solution-users-6")`)

## Third-party libraries

- Base UI v1: [API reference](https://base-ui.com/react/components), [docs](https://base-ui.com/react/overview/quick-start), [llms.txt](https://base-ui.com/llms.txt)

## Install

```bash
npx shadcn@latest add @reui/timeline-7
```

## About Timeline blocks

### When to use

- A dated activity feed of who did what, placed on the page, in a dropdown or in a side panel
- Onboarding milestones and approval steps marked completed, current or still pending
- Release notes and version history laid out as a dated changelog

### When not to use

- A bare list of dated steps to compose and style from scratch, with nothing prebuilt: use [Timeline](https://web.dev.reui.io/components/timeline.md) (`get_component("timeline")`)
- One record's detail or an edit form in a side panel, with no event history: use the [Sheet blocks](https://web.dev.reui.io/blocks/application/sheet.md)
- A day grouped audit log of access events with type filters and CSV export: use the [Users blocks](https://web.dev.reui.io/blocks/solutions/users.md)

### Agent notes

- Each `Timeline` is uncontrolled through `defaultValue`, and every `TimelineItem` whose `step` is at or below it gets `data-completed`
- Each page.tsx centers the root in a padded `min-h-svh` wrapper; render the root component alone inside your own layout

Every ReUI item has a twin like this one; the index is https://web.dev.reui.io/llms.txt. Agents with the ReUI MCP (https://web.dev.reui.io/docs/mcp) get the same guidance from the getters named above.
