Gallery 122 - Infinite scroll feed with sentinelPro

A three-column feed that loads the next page automatically when a sentinel scrolls into view, showing skeleton tiles while loading, a page counter, and an end-of-feed message after the last page.

About Gallery 122

A three-column feed that loads the next page automatically when a sentinel scrolls into view, showing skeleton tiles while loading, a page counter, and an end-of-feed message after the last page.

Gallery 122 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 94 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.

  • infinite scroll
  • intersection observer
  • skeleton
  • feed
  • pagination

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-122

Dependencies installed automatically: lucide-react, motion.

Uses: reveal, skeleton, utils.

Usage

import Gallery122 from "@/components/blocks/gallery-122"

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

FAQ