---
title: "Gallery Grid | Free React & Tailwind Craft Component | Motion UI"
canonical: "https://blacknest.dev/motion/c/craft/gallery-grid"
github_source: "https://github.com/Rkj0123/motion-ui-skill/blob/main/components/gallery/gallery-grid-card.tsx"
install_command: "npx motion-ui-skill add gallery-grid"
dependencies: ["clsx","lucide-react","next","react","tailwind-merge"]
category: "craft"
subcategory: "gallery"
---

# Gallery Grid

> Album preview with title, subtitle, and a three-cell photo grid — last cell shows a +N overflow count. Portfolio and gallery index pages.

## Install

```bash
npx motion-ui-skill add gallery-grid
```

## Dependencies

- `clsx`
- `lucide-react`
- `next`
- `react`
- `tailwind-merge`

## Usage

```tsx
"use client";

import { GalleryGridCard } from "@/components/gallery/gallery-grid-card";

export function GalleryGridCardDemo() {
  return (
    <div className="flex items-center justify-center p-6">
      <GalleryGridCard />
    </div>
  );
}
```

## API Reference

### GalleryGridCard

| Prop | Type | Default | Required | Description |
| :--- | :--- | :--- | :--- | :--- |
| `className` | `string` | — | No | Additional CSS classes |

## Source Files

- [components/gallery/gallery-grid-card.tsx](https://github.com/Rkj0123/motion-ui-skill/blob/main/components/gallery/gallery-grid-card.tsx)
- [lib/cn.ts](https://github.com/Rkj0123/motion-ui-skill/blob/main/lib/cn.ts)
- [lib/utils.ts](https://github.com/Rkj0123/motion-ui-skill/blob/main/lib/utils.ts)
