# Portfolio Project Display: Filterable Grid

A project grid with category filters across the top so visitors narrow results by tag or type. Use it when a portfolio holds varied work across many fields.

- Page: https://www.shadcn-ui-blocks.com/blocks/portfolio/portfolio-project-displays/filterable-grid
- 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/filterable-grid.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/portfolio-portfolio-project-displays-filterable-grid
```

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-filterable-grid.json"`.

## Depends on

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

## About this block

Filterable Grid opens with a centered heading and subtitle, then a
controls row that pairs a text search input on the left with a set of
category filter buttons on the right. Each button carries a small icon
and highlights when active. A live result count sits just below the
controls, and beneath that a responsive three-column card grid renders
the matching projects. Every card shows a cover image with a category
badge overlaid in the top corner, a title and two-line description, a
row of pill-shaped technology tags, and a "View details" button. If no
projects match, the grid is replaced by an empty state panel with a
"Clear filters" button.

The heading, subtitle, and all project copy are straightforward to
replace. The project list is a plain array so you can add or remove
entries freely. The category set is derived automatically from whichever
categories your projects carry, so the filter buttons always stay in
sync without manual updates.

## When to use

Reach for this block when your portfolio spans clearly distinct types of
work and visitors benefit from narrowing the view. For an ecommerce
storefront brand, that might mean separating brand identity work from
performance campaigns from platform builds, letting a potential client
jump straight to the category that matches their need. It handles larger
catalogs better than a simple grid because search and category filters
together prevent the page from feeling overwhelming. The standard grid
sibling is a better fit when you have fewer projects and want a calmer,
unfiltered browse.

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 yourself and set context before the full project list
- [Stats Cards](https://www.shadcn-ui-blocks.com/blocks/portfolio/portfolio-project-displays/stats-cards)
  to quantify your track record just above the grid

**After**

- [Case Studies](https://www.shadcn-ui-blocks.com/blocks/portfolio/portfolio-case-studies) to let
  visitors who want more depth on a specific project dive further
- A [Contact Section](https://www.shadcn-ui-blocks.com/blocks/portfolio/portfolio-contact-sections) so
  an interested visitor has a clear next step after browsing

## What you can display

Each card is a self-contained project entry, so the grid works for any
body of work you want to present with category-level navigation. A few
angles that fit naturally:

- **Ecommerce and brand work.** Group projects by discipline such as
  storefront builds, email campaigns, and visual identity so retail
  clients find relevant examples fast.
- **Technology stack showcase.** Use the tag row to surface the tools
  behind each project, turning the grid into a searchable skills matrix
  for technical buyers.
- **Agency or freelance case catalog.** Mix client industries across
  categories so the block doubles as a capability overview rather than
  just a project list.

> Tip: keep your category count to five or fewer so the filter button
> row stays on one line and the controls feel quick to scan.

## More in Portfolio Project Displays

- [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)
- [Zigzag Layout](https://www.shadcn-ui-blocks.com/blocks/portfolio/portfolio-project-displays/zigzag-layout)
