Photo Album

Photo Album: Swipeable square photo carousel with place and date caption plus dot indicators. Swap in your own photos and tell a travel story. Free MIT React & Next.js source with Motion and Tailwind CSS, live preview, CLI install and docs.

Install Photo Album

npx motion-ui-skill add photo-album

Components install as source into your project. The interactive page also includes preview, code, documentation and install tabs.

Dependencies

  • clsx
  • next
  • react
  • tailwind-merge

Source files

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

npx motion-ui-skill add photo-album

Dependencies

  • clsx
  • next
  • react
  • tailwind-merge

Usage

"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

Browse this category