# Portfolio Gallery: Alternating Gallery

An alternating editorial gallery of full width rows that swap the image left and right beside a series title, story, and bordered facts list.

- Page: https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/gallery-sections/alternating-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-14
- Preview image: https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/gallery-sections/alternating-gallery.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/portfolio-pro-gallery-sections-alternating-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

- npm packages: lucide-react
- shadcn/ui components: placeholder
- Installs to: `@/components/blocks/portfolio-pro/gallery-sections/alternating-gallery`

## About this block

Alternating Gallery lays out three long projects as full
width rows that swap the image between left and right down
the page. Each row pairs one Placeholder frame with a series
title, a short story about the work, and a bordered list of
facts: location, the camera and film it was shot on, the
number of frames in the series, and when it was completed.

Rows are one typed array of title, description, and a meta
list of label and value pairs. Odd indexed rows move the
image into the second column with an order utility, so the
layout alternates without duplicating markup, and each row
closes with a link through to the full edit.

## When to use

Reach for this block when a few deep projects deserve room to
breathe rather than a dense grid, on a documentary,
editorial, or film photography portfolio. The installer swaps
the Placeholder frames, rewrites each story, and updates the
facts for their own series.

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**

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

## What you can display

One strong use is the long form photo series index. Other
alternating uses:

- **Selected case studies.** Design or product work where
  each row carries a title, a short problem statement, and
  the delivery facts.
- **Client engagements.** One row per engagement, the image
  beside where, when, and what was made.
- **Body of writing.** A publication or essay per row with
  its outlet, date, and length listed as facts.

> Tip: keep every story to two or three sentences; the facts
> list carries the specifics, so the paragraph only has to
> give the reader a reason to open the full edit.

## More in Portfolio Galleries

- [Album Grid](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/gallery-sections/album-grid)
- [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)
- [Index Preview Gallery](https://www.shadcn-ui-blocks.com/blocks/portfolio-pro/gallery-sections/index-preview-gallery)
- [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)
