# Portfolio Case Study: Accordion Expandable Case Studies

An accordion that expands each case study to reveal the full story. Use it to list many projects while keeping the page compact until one is tapped.

- Page: https://www.shadcn-ui-blocks.com/blocks/portfolio/portfolio-case-studies/accordion-expandable-case-studies
- Collection: [Portfolio](https://www.shadcn-ui-blocks.com/blocks/portfolio), Free tier
- Group: [Case Studies](https://www.shadcn-ui-blocks.com/blocks/portfolio/portfolio-case-studies)
- Created: 2026-06-14
- Preview image: https://www.shadcn-ui-blocks.com/blocks/portfolio/portfolio-case-studies/accordion-expandable-case-studies.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/portfolio-portfolio-case-studies-accordion-expandable-case-studies
```

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-case-studies-accordion-expandable-case-studies.json"`.

## Depends on

- npm packages: class-variance-authority, lucide-react, radix-ui
- shadcn/ui components: accordion, badge, button
- Installs to: `@/components/blocks/portfolio/portfolio-case-studies/accordion-expandable-case-studies`

## About this block

Accordion Expandable Case Studies opens with a centered heading and
subheading, then lists each project as a collapsed accordion row. Each
row shows a small thumbnail, the project title, a category badge, a
two-line summary, and a duration and year in the right margin. Tapping
a row expands it to reveal a tinted metadata bar (client and duration),
then a two-column panel: a three-section narrative (challenge, process,
solution) plus a numbered results list and a quoted testimonial on the
left, and a cover image with a tool badge cluster and a call-to-action
button on the right.

Every piece of text is independent copy. You can add or remove accordion
items freely, reorder the narrative sections, swap the results list for
any bullet content, and drop or replace the testimonial block without
affecting the rest of the layout.

## When to use

This layout fits a portfolio page where the project count is high enough
that showing all detail at once would overwhelm the page. For an HR and
hiring platform showcasing recruiter workflow improvements or
onboarding redesigns, the accordion keeps the list scannable while
still giving hiring managers or prospects the full methodology on
demand. It handles more projects than the
[Large Visual Focus Case Study](https://www.shadcn-ui-blocks.com/blocks/portfolio/portfolio-case-studies/large-visual-focus-case-study),
which commits the full viewport to one piece of work.

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
  establish context before visitors reach the project list
- A [Featured Work Highlights](https://www.shadcn-ui-blocks.com/blocks/portfolio/portfolio-featured-work-highlights)
  block to surface two or three standout projects above the full list

**After**

- A [Quote and Feedback](https://www.shadcn-ui-blocks.com/blocks/portfolio/portfolio-quote-and-feedback)
  block to reinforce credibility after readers have browsed the work
- A [Contact Section](https://www.shadcn-ui-blocks.com/blocks/portfolio/portfolio-contact-sections) so
  prospects can reach out immediately after reviewing the case studies

## What you can customize

Each accordion item is a self-contained record, so you can shape the
detail panel to the work at hand:

- **Narrative sections.** The challenge, process, and solution headings
  are plain text blocks; rename, reorder, or remove any of the three to
  match your preferred storytelling structure.
- **Results list.** The numbered list accepts any short outcome
  statements; swap metrics for qualitative wins if the project does not
  have quantitative data.
- **Tool badges.** The sidebar badge row is a simple array of strings,
  so you can reflect any stack, methodology set, or deliverable types
  relevant to each project.

> Tip: keep the results list to three or four items per project so the
> expanded panel stays readable and visitors reach the call-to-action
> without excessive scrolling.

## More in Portfolio Case Studies

- [Grid Case Study Previews](https://www.shadcn-ui-blocks.com/blocks/portfolio/portfolio-case-studies/grid-case-study-previews)
- [Large Visual Focus Case Study](https://www.shadcn-ui-blocks.com/blocks/portfolio/portfolio-case-studies/large-visual-focus-case-study)
- [Side By Side Image Story](https://www.shadcn-ui-blocks.com/blocks/portfolio/portfolio-case-studies/side-by-side-image-story)
- [Timeline Style Case Study](https://www.shadcn-ui-blocks.com/blocks/portfolio/portfolio-case-studies/timeline-style-case-study)
