Harjot Singh Rana

Faq

Component

About

Accordion with deep links, Cmd+F that finds text inside closed answers, optional search with highlights, and FAQPage structured data. One file, React and Motion only.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Faq to your project and fits it to your theme.

Code

How Faq is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

import PublishedComponent from "@/components/ui/faq"

export default function Demo() {
  return <PublishedComponent />
}

Dependencies