# Portfolio Gallery: Index Preview Gallery

A numbered list of works with medium and year on the left beside a large preview of the highlighted row with its caption and counter.

- Page: https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/gallery-sections/index-preview-gallery
- Collection: [Portfolio](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro), Standard tier
- Group: [Galleries](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/gallery-sections)
- Created: 2026-07-04
- Preview image: https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/gallery-sections/index-preview-gallery.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/portfolio-pro-gallery-sections-index-preview-gallery
```

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

- shadcn/ui components: placeholder
- Installs to: `@/components/blocks/portfolio-pro/gallery-sections/index-preview-gallery`

## About this block

Index Preview Gallery pairs a numbered list of works on
the left with a large preview of the highlighted row on
the right. Each list entry carries an index number, a
title, a medium, and a year, from Tide tables to House
with no road; the active row is set in full foreground
while the rest recede in muted type. The preview panel
shows the highlighted plate with its caption and a
position counter reading its place in the set.

Works are one typed array with an active boolean; the
component derives the preview from find with a fallback,
so noUncheckedIndexedAccess cannot throw. Rendered as a
static blueprint, it communicates the hover to preview
index pattern without any running JavaScript.

## When to use

Reach for this block as a considered index for a print
maker, photographer, or artist with an editioned body of
work. The installer swaps the Placeholder plate for real
images and wires the rows to a state toggle for
interactive preview.

A natural flow around it on a Portfolio Pro page:

**Before**

- [Hero section](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/hero-sections)
- [About sections](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/about-sections)

**After**

- [Gallery sections](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/gallery-sections)
- [Contact section](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/contact-sections)

## What you can display

One strong use is the print maker index of editions.
Other index preview layouts:

- **Case study index.** Each row a project, the preview
  showing the final delivered screen.
- **Catalog of works.** Titles with medium and year, the
  plate updating as you move down the list.
- **Reading list.** Essays or stories listed by number
  with a cover preview alongside.

> Tip: the medium and year columns are what make this
> read as an index rather than a menu; keep them precise
> so the list carries authority on its own.

## More in Portfolio Galleries

- [Album Grid](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/gallery-sections/album-grid)
- [Alternating Gallery](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/gallery-sections/alternating-gallery)
- [Before After Gallery](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/gallery-sections/before-after-gallery)
- [Captioned Gallery](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/gallery-sections/captioned-gallery)
- [Columns Gallery](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/gallery-sections/columns-gallery)
- [Contact Sheet](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/gallery-sections/contact-sheet)
- [Filmstrip Gallery](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/gallery-sections/filmstrip-gallery)
- [Frame Study](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/gallery-sections/frame-study)
- [Full Bleed Gallery](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/gallery-sections/full-bleed-gallery)
- [Full Width Rows](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/gallery-sections/full-width-rows)
- [Grid With Filters](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/gallery-sections/grid-with-filters)
- [Lightbox Blueprint](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/gallery-sections/lightbox-blueprint)
- [Mosaic Gallery](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/gallery-sections/mosaic-gallery)
- [Photo Grid](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/gallery-sections/photo-grid)
- [Photo Masonry](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/gallery-sections/photo-masonry)
- [Spotlight Gallery](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/gallery-sections/spotlight-gallery)
- [Thumbnail Strip](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/gallery-sections/thumbnail-strip)
- [Triptych Gallery](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/gallery-sections/triptych-gallery)
- [Two Up Gallery](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/gallery-sections/two-up-gallery)
- [Year Archive Gallery](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/gallery-sections/year-archive-gallery)
