Project 32 - Scroll-driven chapter navigationPro
Long-form case study with a sticky chapter list that highlights and fills a progress rail as each chapter scrolls into view.
About Project 32
Long-form case study with a sticky chapter list that highlights and fills a progress rail as each chapter scrolls into view.
Project 32 is a pro project block for React, built on shadcn/ui and Tailwind CSS with motion animations that respect reduced-motion settings. It ships as 151 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.
- chapters
- sticky
- scrollspy
- long-form
- case-study
Installation
- Add the Chocolate UI registry to your
components.json(see the installation guide). - Run the shadcn CLI:
npx shadcn@latest add @chocolate/project-32Dependencies installed automatically: motion.
Uses: reveal, utils.
Usage
import Project32 from "@/components/blocks/project-32"
export default function Page() {
return <Project32 />
}