Gallery 2 - Drag carouselPro

Horizontal carousel you can drag with the pointer, with arrow controls and an edge fade.

About Gallery 2

Horizontal carousel you can drag with the pointer, with arrow controls and an edge fade.

Gallery 2 is a gallery block for React and Tailwind CSS, included in Chocolate UI Pro with motion animations that respect reduced-motion settings. It ships as 127 lines of TypeScript you own: every piece of copy is a prop with a sensible default, so you can drop it in and replace the content without touching the layout.

  • carousel
  • drag
  • horizontal

Installation

  1. Set up your project with npx chocolateui init and npx chocolateui login (see the installation guide).
  2. Run the Chocolate UI CLI:
npx chocolateui add gallery-02

Dependencies installed automatically: lucide-react, motion.

Uses: button, motion-presets, reveal, utils.

Usage

import Gallery02 from "@/components/blocks/gallery-02"

export default function Page() {
  return <Gallery02 />
}

FAQ