FAQ 32 - Deep-link anchors with copy linkPro
A sticky table of contents beside answers that each carry an anchor id and a copy-link button; the URL hash highlights the target.
About FAQ 32
A sticky table of contents beside answers that each carry an anchor id and a copy-link button; the URL hash highlights the target.
FAQ 32 is a pro faq block for React, built on shadcn/ui and Tailwind CSS. It ships as 123 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.
- anchors
- deep link
- copy
- table of contents
Installation
- Add the Chocolate UI registry to your
components.json(see the installation guide). - Run the shadcn CLI:
npx shadcn@latest add @chocolate/faq-32Dependencies installed automatically: lucide-react.
Uses: reveal, utils.
Usage
import Faq32 from "@/components/blocks/faq-32"
export default function Page() {
return <Faq32 />
}