# Application Chat and Messaging: Shared Files Panel

Conversation files tab with type filter chips and rows showing a file icon, name, size, uploader, share date, and a download action.

- Page: https://www.shadcn-ui-blocks.com/blocks/application-pro/chat-messaging/shared-files-panel
- Collection: [Application](https://www.shadcn-ui-blocks.com/blocks/application-pro), Standard tier
- Group: [Chat and Messaging](https://www.shadcn-ui-blocks.com/blocks/application-pro/chat-messaging)
- Created: 2026-07-04
- Preview image: https://www.shadcn-ui-blocks.com/blocks/application-pro/chat-messaging/shared-files-panel.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/application-pro-chat-messaging-shared-files-panel
```

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: button
- Installs to: `@/components/blocks/application-pro/chat-messaging/shared-files-panel`

## About this block

Shared Files Panel is the files tab of a conversation,
listing five items shared in the #eng-general channel.
A header names the channel, a row of filter chips scopes
by type across All, Documents, Images, and Links, and
each row pairs a type icon with the file name, its size,
the uploader, the share date, and a download action. A
footer line reports the visible count and the retention
policy.

Files are one typed array, each carrying its own icon so
documents, spreadsheets, images, and links read at a
glance. The active filter chip is a static state, and
the footer names how long files stay available so the
retention question is answered before it is asked.

## When to use

Reach for this block as the files view of a channel or
direct message, wired to your storage listing and a
filter handler on the type chips. Point each download
button at your file service and the link rows at their
destinations.

A natural flow around it on an Application Pro page:

**Before**

- [App shell](https://www.shadcn-ui-blocks.com/blocks/application-pro/app-shells)
- [Message thread](https://www.shadcn-ui-blocks.com/blocks/application-pro/chat-messaging)

**After**

- [File manager](https://www.shadcn-ui-blocks.com/blocks/application-pro/file-manager)
- [Media gallery](https://www.shadcn-ui-blocks.com/blocks/application-pro/media-gallery)

## What you can display

One strong use is the shared files board for an
engineering channel. Other file surfaces:

- **Project workspace.** Specs, decks, and briefs
  attached to a single project channel.
- **Media collection.** An images only view with the
  filter chips scoped to visual assets.
- **Link library.** Saved references and external
  documents kept beside the conversation.

> Tip: keep the size and uploader on every row; a file
> name alone leaves people guessing which version they
> are about to open.

## More in Application Chat and Messaging

- [Active Call Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/chat-messaging/active-call-panel)
- [Channel Directory](https://www.shadcn-ui-blocks.com/blocks/application-pro/chat-messaging/channel-directory)
- [Channel List Sidebar](https://www.shadcn-ui-blocks.com/blocks/application-pro/chat-messaging/channel-list-sidebar)
- [Channel Settings Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/chat-messaging/channel-settings-panel)
- [Conversation List](https://www.shadcn-ui-blocks.com/blocks/application-pro/chat-messaging/conversation-list)
- [Dm Thread Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/chat-messaging/dm-thread-panel)
- [Emoji Reactions Blueprint](https://www.shadcn-ui-blocks.com/blocks/application-pro/chat-messaging/emoji-reactions-blueprint)
- [Member Profile Drawer](https://www.shadcn-ui-blocks.com/blocks/application-pro/chat-messaging/member-profile-drawer)
- [Mentions Activity Feed](https://www.shadcn-ui-blocks.com/blocks/application-pro/chat-messaging/mentions-activity-feed)
- [Message Composer](https://www.shadcn-ui-blocks.com/blocks/application-pro/chat-messaging/message-composer)
- [Message Thread](https://www.shadcn-ui-blocks.com/blocks/application-pro/chat-messaging/message-thread)
- [Pinned Messages Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/chat-messaging/pinned-messages-panel)
- [Poll Message Card](https://www.shadcn-ui-blocks.com/blocks/application-pro/chat-messaging/poll-message-card)
- [Scheduled Messages Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/chat-messaging/scheduled-messages-panel)
- [Search Messages Results](https://www.shadcn-ui-blocks.com/blocks/application-pro/chat-messaging/search-messages-results)
- [Thread Reply Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/chat-messaging/thread-reply-panel)
- [Voice Message Thread](https://www.shadcn-ui-blocks.com/blocks/application-pro/chat-messaging/voice-message-thread)
