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

# Photo Album

> Swipeable square photo carousel with place and date caption plus dot indicators. Swap in your own photos and tell a travel story.

## Install

```bash
npx motion-ui-skill add photo-album
```

## Dependencies

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

## Usage

```tsx
"use client";

import { PhotoAlbumCard } from "@/components/gallery/photo-album-card";

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

## API Reference

### PhotoAlbumCard

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

## Source Files

- [components/gallery/photo-album-card.tsx](https://github.com/Rkj0123/motion-ui-skill/blob/main/components/gallery/photo-album-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)
