# Portfolio Work Grid: List With Preview

An interactive work list where selecting a project row swaps the side panel to that project's thumbnail, summary, role, and case study link.

- Page: https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/work-grids/list-with-preview
- Collection: [Portfolio](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro), Standard tier
- Group: [Work Grids](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/work-grids)
- Created: 2026-07-10
- Preview image: https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/work-grids/list-with-preview.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/portfolio-pro-work-grids-list-with-preview
```

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: lucide-react
- shadcn/ui components: placeholder
- Installs to: `@/components/blocks/portfolio-pro/work-grids/list-with-preview`

## About this block

List With Preview is an interactive two-column work index:
the left column lists five projects as selectable rows naming
the project, kind, and year, and clicking a row swaps the
right panel to that project&apos;s Placeholder thumbnail,
name, year, kind, role, and case study link. The first
project shows on load, and the heading reads Pick a project,
see the work with a lede inviting visitors to select any row.

State lives in a single `useState` holding the active
project, and the pressed row is tracked with `aria-pressed`
for keyboard and screen reader users. Keeping the whole index
visible while previewing one pick is the distinctive choice,
so visitors never lose their place in the list.

## When to use

Reach for this block as the work section on a portfolio with
five to eight projects when you want browsing to feel quick
and the index to stay in view. The installer swaps the
project rows and preview copy for their own engagements.

A natural flow around it on a Portfolio Pro page:

**Before**

- [Name and role hero](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/hero-sections)

**After**

- [Case study split](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/case-study-sections)
- [Contact band](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/cta-sections)

## What you can display

One strong use is a designer index where each row previews a
single project without leaving the page. Other uses:

- **Writing archive.** Rows are article titles and the
  panel previews the cover and summary.
- **Speaking list.** Rows are talks and the panel shows the
  event, the abstract, and a recording link.
- **Service menu.** Rows are service lines and the panel
  describes scope, timeline, and a starting price.

> Tip: keep the first row selected on load so the preview
> panel is never empty when the section comes into view.

## More in Portfolio Work Grids

- [Alternating Rows](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/work-grids/alternating-rows)
- [Archive Grid](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/work-grids/archive-grid)
- [Bento Work Grid](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/work-grids/bento-work-grid)
- [Category Sections Grid](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/work-grids/category-sections-grid)
- [Featured And Grid](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/work-grids/featured-and-grid)
- [Featured Three](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/work-grids/featured-three)
- [Featured Work Grid](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/work-grids/featured-work-grid)
- [Filterable Work Grid](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/work-grids/filterable-work-grid)
- [Grid With Categories](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/work-grids/grid-with-categories)
- [Hover Grid](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/work-grids/hover-grid)
- [Masonry Grid](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/work-grids/masonry-grid)
- [Masonry With Captions](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/work-grids/masonry-with-captions)
- [Numbered Work List](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/work-grids/numbered-work-list)
- [One Big Three Small](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/work-grids/one-big-three-small)
- [Recent Work Row](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/work-grids/recent-work-row)
- [Sticky Split Index](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/work-grids/sticky-split-index)
- [Three Column Grid](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/work-grids/three-column-grid)
- [Two Column Work](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/work-grids/two-column-work)
- [Work Accordion](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/work-grids/work-accordion)
- [Work By Year](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/work-grids/work-by-year)
- [Work Index List](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/work-grids/work-index-list)
- [Work With Quotes](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/work-grids/work-with-quotes)
- [Work With Results](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/work-grids/work-with-results)
- [Work With Tabs](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/work-grids/work-with-tabs)
