Blog Post 3 - Sticky table of contentsPro
Article with a sticky right-hand table of contents that highlights the section in view using scroll-spy.
About Blog Post 3
Article with a sticky right-hand table of contents that highlights the section in view using scroll-spy.
Blog Post 3 is a pro blog post block for React, built on shadcn/ui and Tailwind CSS. It ships as 165 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.
- article
- toc
- scroll-spy
- sticky
Installation
- Add the Chocolate UI registry to your
components.json(see the installation guide). - Run the shadcn CLI:
npx shadcn@latest add @chocolate/blog-post-03Uses: badge, reveal, utils.
Usage
import BlogPost03 from "@/components/blocks/blog-post-03"
export default function Page() {
return <BlogPost03 />
}