Content 2 - Two-column with sticky table of contents
A documentation-style content section with a sticky table of contents on the left that highlights the section currently in view. Use it for guides, policies, handbooks or any long page readers need to navigate.
About Content 2
A documentation-style content section with a sticky table of contents on the left that highlights the section currently in view. Use it for guides, policies, handbooks or any long page readers need to navigate.
Content 2 is a free content block for React, built on shadcn/ui and Tailwind CSS. It ships as 107 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.
- table of contents
- sticky
- two-column
- docs
- scrollspy
- guide
Installation
- Add the Chocolate UI registry to your
components.json(see the installation guide). - Run the shadcn CLI:
npx shadcn@latest add @chocolate/content-02Uses: reveal, utils.
Usage
import Content02 from "@/components/blocks/content-02"
export default function Page() {
return <Content02 />
}