# Portfolio Project Display: Zigzag Layout

Alternating rows that flip image and text side to side down the page. Use it to give each project room to breathe with a clear narrative flow.

- Page: https://www.shadcn-ui-blocks.com/blocks/portfolio/portfolio-project-displays/zigzag-layout
- Collection: [Portfolio](https://www.shadcn-ui-blocks.com/blocks/portfolio), Free tier
- Group: [Project Displays](https://www.shadcn-ui-blocks.com/blocks/portfolio/portfolio-project-displays)
- Created: 2026-06-14
- Preview image: https://www.shadcn-ui-blocks.com/blocks/portfolio/portfolio-project-displays/zigzag-layout.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/portfolio-portfolio-project-displays-zigzag-layout
```

A free block: it installs with no account or key. Or install it by URL: `npx shadcn@latest add "https://www.shadcn-ui-blocks.com/r/portfolio-portfolio-project-displays-zigzag-layout.json"`.

## Depends on

- npm packages: class-variance-authority, lucide-react, radix-ui
- shadcn/ui components: badge, button, card
- Installs to: `@/components/blocks/portfolio/portfolio-project-displays/zigzag-layout`

## About this block

Zigzag Layout is a full project showcase feed. A centered heading and
short summary paragraph sit above a stack of rows, each holding an
aspect-ratio image on one side and a content card on the other. Odd
rows place the image on the left; even rows flip it to the right,
creating the alternating pattern that gives the block its name. Each
row also carries a category badge overlaid on the image corner, a
project title, a description paragraph, a labeled row of technology
badges, and a "View Project Details" button.

Every project row is independent, so you can add or remove entries
freely. The section heading, the intro paragraph, the badge labels,
the technology lists, and the button text are all plain copy you can
update without touching the layout. The image and text halves each
take up roughly half the row width on large screens and stack
vertically on smaller ones.

## When to use

Reach for this block when you want to let each project speak at
length rather than compete for attention in a grid. It suits an online
education platform showing off course builder tools, learning
management systems, or student-facing products where a short narrative
and a visible tech stack reassure prospective clients or employers
that each build solved a real problem. Compared to a
[Standard Grid](https://www.shadcn-ui-blocks.com/blocks/portfolio/portfolio-project-displays/standard-grid),
the alternating rows slow the reader down just enough to absorb the
description before moving on.

A natural flow around it on a Portfolio page:

**Before**

- A [Hero Showcase](https://www.shadcn-ui-blocks.com/blocks/portfolio/portfolio-hero-showcases) to
  introduce the person and set expectations before the work begins
- A [Stats Cards](https://www.shadcn-ui-blocks.com/blocks/portfolio/portfolio-project-displays/stats-cards)
  row to quantify the track record just above the detailed examples

**After**

- A [Case Studies](https://www.shadcn-ui-blocks.com/blocks/portfolio/portfolio-case-studies) section
  to go even deeper on one or two standout projects
- A [Contact Section](https://www.shadcn-ui-blocks.com/blocks/portfolio/portfolio-contact-sections) so
  readers who finish the list have an immediate next step

## What you can display

Each row is a self-contained project story, so the content you put
inside shapes what the block communicates. A few directions that work
well for education-focused work:

- **Course or curriculum builds.** Show the learning platform, the
  authoring tools, and the stack behind each product so technical
  buyers can assess fit at a glance.
- **Student outcome tools.** Feature dashboards, progress trackers, or
  assessment engines with their real metrics called out in the
  description.
- **Integrations and platform work.** Walk through API connections,
  LMS plugins, or data pipeline projects where the technology badges
  carry as much weight as the screenshot.

> Tip: keep each description to three or four sentences so every row
> stays balanced and the page scrolls at a steady, readable pace.

## More in Portfolio Project Displays

- [Filterable Grid](https://www.shadcn-ui-blocks.com/blocks/portfolio/portfolio-project-displays/filterable-grid)
- [Quote Stack](https://www.shadcn-ui-blocks.com/blocks/portfolio/portfolio-project-displays/quote-stack)
- [Standard Grid](https://www.shadcn-ui-blocks.com/blocks/portfolio/portfolio-project-displays/standard-grid)
- [Stats Cards](https://www.shadcn-ui-blocks.com/blocks/portfolio/portfolio-project-displays/stats-cards)
