# Application Media and Gallery: Media List View

A dense asset table with select checkboxes, a thumbnail and filename column, type badge, size, modified date, uploader avatar, and per row actions.

- Page: https://www.shadcn-ui-blocks.com/blocks/application-pro/media-gallery/media-list-view
- Collection: [Application](https://www.shadcn-ui-blocks.com/blocks/application-pro), Standard tier
- Group: [Media and Galleries](https://www.shadcn-ui-blocks.com/blocks/application-pro/media-gallery)
- Created: 2026-07-04
- Preview image: https://www.shadcn-ui-blocks.com/blocks/application-pro/media-gallery/media-list-view.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/application-pro-media-gallery-media-list-view
```

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: avatar, avatars, badge, button, checkbox, placeholder, table
- Installs to: `@/components/blocks/application-pro/media-gallery/media-list-view`

## About this block

Media List View is the table-density counterpart to the
asset grid: a header reading All assets with a 7 files
count and a Sorted by last modified note, then a data
table. Each row carries a select checkbox, a Placeholder
thumbnail beside a filename and folder path
(launch-banner.jpg in media/campaigns), a type badge
(Image, Video, Document, Archive), a size in tabular
numbers, a modified date, an uploader avatar with name,
and a ghost actions button. The Name header shows a sort
arrow.

Rows are one flat array with id, name, path, type, size,
modified, uploader, and an avatar component. The
select-all checkbox in the header and per row checkboxes
give the same multi-select the grid view offers, so the
two layouts stay interchangeable.

## When to use

Reach for this block when captions matter more than
previews: scanning a large library, sorting by size or
date, or picking several files at once. Wire it to the
same assets endpoint as the grid and let a view toggle
swap between the two.

A natural flow around it on an Application Pro page:

**Before**

- [App shell](https://www.shadcn-ui-blocks.com/blocks/application-pro/app-shells)
- [Filters and search](https://www.shadcn-ui-blocks.com/blocks/application-pro/filters-and-search)

**After**

- [Asset detail panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/media-gallery)
- [Bulk media actions](https://www.shadcn-ui-blocks.com/blocks/application-pro/media-gallery)

## What you can display

One strong use is the dense library list. Other row
configurations:

- **Sortable columns.** Add sort arrows to Size and
  Modified so every column drives the order.
- **Owner filter.** Scope rows to the current user by
  matching the uploader field.
- **Inline rename.** Turn the filename cell into an
  editable field on double click.

> Tip: keep the folder path under each filename; two
> files can share a name across folders and the path is
> what tells them apart.

## More in Application Media and Galleries

- [Album List](https://www.shadcn-ui-blocks.com/blocks/application-pro/media-gallery/album-list)
- [Asset Detail Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/media-gallery/asset-detail-panel)
- [Asset Version History](https://www.shadcn-ui-blocks.com/blocks/application-pro/media-gallery/asset-version-history)
- [Bulk Media Actions](https://www.shadcn-ui-blocks.com/blocks/application-pro/media-gallery/bulk-media-actions)
- [Folder Breadcrumb Bar](https://www.shadcn-ui-blocks.com/blocks/application-pro/media-gallery/folder-breadcrumb-bar)
- [Image Crop Blueprint](https://www.shadcn-ui-blocks.com/blocks/application-pro/media-gallery/image-crop-blueprint)
- [Lightbox Blueprint](https://www.shadcn-ui-blocks.com/blocks/application-pro/media-gallery/lightbox-blueprint)
- [Media Library Grid](https://www.shadcn-ui-blocks.com/blocks/application-pro/media-gallery/media-library-grid)
- [Storage Usage Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/media-gallery/storage-usage-panel)
- [Upload Queue Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/media-gallery/upload-queue-panel)
- [Video Trim Blueprint](https://www.shadcn-ui-blocks.com/blocks/application-pro/media-gallery/video-trim-blueprint)
