# Application Activity: Project Activity Breakdown

A card ranking projects by weekly activity volume, each row showing the top member, a proportional bar, the event count, and a trend delta.

- Page: https://www.shadcn-ui-blocks.com/blocks/application-pro/activity/project-activity-breakdown
- Collection: [Application](https://www.shadcn-ui-blocks.com/blocks/application-pro), Standard tier
- Group: [Activity](https://www.shadcn-ui-blocks.com/blocks/application-pro/activity)
- Created: 2026-07-10
- Preview image: https://www.shadcn-ui-blocks.com/blocks/application-pro/activity/project-activity-breakdown.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/application-pro-activity-project-activity-breakdown
```

Needs an API key from a Pro or Team plan: add `@shadcn-ui-blocks` to the registries in components.json with the key as an `Authorization: Bearer` header. Setup: https://www.shadcn-ui-blocks.com/docs/shadcn-cli. The MCP server installs it without the setup: https://www.shadcn-ui-blocks.com/docs/mcp.

## Depends on

- npm packages: class-variance-authority, lucide-react, radix-ui
- shadcn/ui components: avatars, button
- Installs to: `@/components/blocks/application-pro/activity/project-activity-breakdown`

## About this block

Project Activity Breakdown is the comparative activity view:
a card whose header totals the week (1,284 events this week,
compared with last week) and offers a change period control.
Each row names a project with its most active member and
avatar, draws a proportional bar on a shared track, states
the event count in a fixed column, and closes with a week
over week delta and a direction arrow. It answers where the
work is happening rather than listing individual events.

Rows are one typed array with a share value that scales each
bar against the busiest project and a direction union of up
or down. The footer defines what an event is (comments,
edits, task changes, and uploads) so the counts are not left
ambiguous.

## When to use

Reach for this block on a workspace overview, a manager
dashboard, or a reports page, wired to aggregated event
counts per project over a chosen period. Wire the change
period button to your date range control and each bar to the
project it represents.

A natural flow around it on an Application Pro page:

**Before**

- [App shell](https://www.shadcn-ui-blocks.com/blocks/application-pro/app-shells)
- [Reports](https://www.shadcn-ui-blocks.com/blocks/application-pro/reports)

**After**

- [Activity feed](https://www.shadcn-ui-blocks.com/blocks/application-pro/activity)
- [Data table](https://www.shadcn-ui-blocks.com/blocks/application-pro/data-tables)

## What you can display

One strong use is the per project activity split. Other
breakdowns:

- **By member.** Rows become people with their busiest
  project as the secondary line and events attributed to
  them.
- **By event type.** The bars split comments, edits, and
  uploads to show what kind of work dominated the week.
- **By channel.** Rows track integrations or repos with the
  volume routed through each one.

> Tip: scale bars to the busiest row, not to a fixed
> ceiling; a breakdown reads as a ranking only when the top
> bar is full.

## More in Application Activity

- [Activity Calendar](https://www.shadcn-ui-blocks.com/blocks/application-pro/activity/activity-calendar)
- [Activity Heatmap](https://www.shadcn-ui-blocks.com/blocks/application-pro/activity/activity-heatmap)
- [Approvals Queue](https://www.shadcn-ui-blocks.com/blocks/application-pro/activity/approvals-queue)
- [Audit Export Card](https://www.shadcn-ui-blocks.com/blocks/application-pro/activity/audit-export-card)
- [Audit Trail Timeline](https://www.shadcn-ui-blocks.com/blocks/application-pro/activity/audit-trail-timeline)
- [Automation Run Log](https://www.shadcn-ui-blocks.com/blocks/application-pro/activity/automation-run-log)
- [Catch Up Digest](https://www.shadcn-ui-blocks.com/blocks/application-pro/activity/catch-up-digest)
- [Changelog Feed](https://www.shadcn-ui-blocks.com/blocks/application-pro/activity/changelog-feed)
- [Comment Mentions List](https://www.shadcn-ui-blocks.com/blocks/application-pro/activity/comment-mentions-list)
- [Comment Thread Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/activity/comment-thread-panel)
- [Deploy Activity Feed](https://www.shadcn-ui-blocks.com/blocks/application-pro/activity/deploy-activity-feed)
- [Edit History Diff](https://www.shadcn-ui-blocks.com/blocks/application-pro/activity/edit-history-diff)
- [Filtered Activity Log](https://www.shadcn-ui-blocks.com/blocks/application-pro/activity/filtered-activity-log)
- [Inactivity Watch Card](https://www.shadcn-ui-blocks.com/blocks/application-pro/activity/inactivity-watch-card)
- [Live Presence Bar](https://www.shadcn-ui-blocks.com/blocks/application-pro/activity/live-presence-bar)
- [Member Activity Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/activity/member-activity-panel)
- [Mention Feed](https://www.shadcn-ui-blocks.com/blocks/application-pro/activity/mention-feed)
- [Pinned Updates Card](https://www.shadcn-ui-blocks.com/blocks/application-pro/activity/pinned-updates-card)
- [Reaction Activity Feed](https://www.shadcn-ui-blocks.com/blocks/application-pro/activity/reaction-activity-feed)
- [Sign In Activity List](https://www.shadcn-ui-blocks.com/blocks/application-pro/activity/sign-in-activity-list)
- [Status Change Log](https://www.shadcn-ui-blocks.com/blocks/application-pro/activity/status-change-log)
- [Team Activity Feed](https://www.shadcn-ui-blocks.com/blocks/application-pro/activity/team-activity-feed)
- [Team Pulse Card](https://www.shadcn-ui-blocks.com/blocks/application-pro/activity/team-pulse-card)
- [Version History List](https://www.shadcn-ui-blocks.com/blocks/application-pro/activity/version-history-list)
- [Who Did What Table](https://www.shadcn-ui-blocks.com/blocks/application-pro/activity/who-did-what-table)
