Blog 124 - Sticky category TOCPro
A sticky table-of-contents sidebar of categories with counts that tracks the section in view, beside posts grouped by category.
About Blog 124
A sticky table-of-contents sidebar of categories with counts that tracks the section in view, beside posts grouped by category.
Blog 124 is a pro blog block for React, built on shadcn/ui and Tailwind CSS with motion animations that respect reduced-motion settings. It ships as 97 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.
- sticky
- toc
- sidebar
- scrollspy
- categories
Installation
- Add the Chocolate UI registry to your
components.json(see the installation guide). - Run the shadcn CLI:
npx shadcn@latest add @chocolate/blog-124Dependencies installed automatically: motion.
Uses: reveal, utils.
Usage
import Blog124 from "@/components/blocks/blog-124"
export default function Page() {
return <Blog124 />
}