# Application Teams and Org: Membership Activity Log

A day grouped membership timeline of joins, role changes, invites, and removals, each with an event icon, actor avatar, detail line, and timestamp.

- Page: https://www.shadcn-ui-blocks.com/blocks/application-pro/teams-orgs/membership-activity-log
- Collection: [Application](https://www.shadcn-ui-blocks.com/blocks/application-pro), Standard tier
- Group: [Teams and Orgs](https://www.shadcn-ui-blocks.com/blocks/application-pro/teams-orgs)
- Created: 2026-07-04
- Preview image: https://www.shadcn-ui-blocks.com/blocks/application-pro/teams-orgs/membership-activity-log.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/application-pro-teams-orgs-membership-activity-log
```

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, select
- Installs to: `@/components/blocks/application-pro/teams-orgs/membership-activity-log`

## About this block

Membership Activity Log is the day grouped audit
timeline for a workspace: joins, role changes,
invites, team transfers, and removals across Today,
Yesterday, and Jul 1, each entry pairing an event
icon on a connected rail with the actor avatar, a
detail line, and a timestamp. A type filter and an
Export action sit in the header.

Events are grouped into typed day arrays, and the
connecting rail draws between entries but stops at the
last one in each group. Detail lines are optional and
render only when present, so a plain role change reads
in one line while a domain auto join carries its
source underneath.

## When to use

Reach for this block on the workspace audit or members
settings page, wired to your membership events
endpoint. Wire the type filter to your query and the
Export button to a CSV job so admins can pull the full
history for review.

A natural flow around it on an Application Pro page:

**Before**

- [Settings shell](https://www.shadcn-ui-blocks.com/blocks/application-pro/app-shells)
- [Team directory](https://www.shadcn-ui-blocks.com/blocks/application-pro/teams-orgs)

**After**

- [Notifications](https://www.shadcn-ui-blocks.com/blocks/application-pro/notifications)
- [Users table](https://www.shadcn-ui-blocks.com/blocks/application-pro/data-tables)

## What you can display

One strong use is the membership audit timeline. Other
activity log shapes:

- **Security events.** The same rail scoped to logins,
  password resets, and token grants.
- **Billing history.** Plan changes and seat edits
  grouped by day with an invoice link per row.
- **Project activity.** Membership events filtered to
  a single project with a project column added.

> Tip: keep detail lines optional; forcing a second
> line on every event flattens the scan and buries the
> few entries that actually need context.

## More in Application Teams and Orgs

- [Domain Verification Card](https://www.shadcn-ui-blocks.com/blocks/application-pro/teams-orgs/domain-verification-card)
- [Guest Access Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/teams-orgs/guest-access-panel)
- [Invite Members Form](https://www.shadcn-ui-blocks.com/blocks/application-pro/teams-orgs/invite-members-form)
- [Member Offboarding Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/teams-orgs/member-offboarding-panel)
- [Org Chart](https://www.shadcn-ui-blocks.com/blocks/application-pro/teams-orgs/org-chart)
- [Pending Invites List](https://www.shadcn-ui-blocks.com/blocks/application-pro/teams-orgs/pending-invites-list)
- [Permissions Matrix](https://www.shadcn-ui-blocks.com/blocks/application-pro/teams-orgs/permissions-matrix)
- [Role Assignment Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/teams-orgs/role-assignment-panel)
- [Seat Allocation Card](https://www.shadcn-ui-blocks.com/blocks/application-pro/teams-orgs/seat-allocation-card)
- [Team Detail Card](https://www.shadcn-ui-blocks.com/blocks/application-pro/teams-orgs/team-detail-card)
- [Team Directory](https://www.shadcn-ui-blocks.com/blocks/application-pro/teams-orgs/team-directory)
- [Team Switcher Blueprint](https://www.shadcn-ui-blocks.com/blocks/application-pro/teams-orgs/team-switcher-blueprint)
