Edwin Vakayil

FAQ Pro

Component 224

About

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

Code

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

Usage.tsx

"use client";

import { FaqPro, type FaqProItem } from "@/components/ui/faq-pro";

const items: FaqProItem[] = [
  {
    id: "what-is-iconiq",
    question: "What is Iconiq?",
    answer: "Iconiq is an open-source library of motion-powered React components built around the shadcn registry workflow. Browse polished UI primitives, install them as local files, and adapt them inside your own codebase.",
  },
  {
    id: "install-iconiq",
    question: "How do I install an Iconiq component?",
    answer: "Install components with shadcn using commands like npx shadcn@latest add @iconiq/b-button, or use a direct registry URL from iconiqui.com/r/b-button.json.",
  },
  {
    id: "iconiq-free",
    question: "Is Iconiq free to use?",
    answer: "Yes. Iconiq is open source and free to use for personal and commercial projects.",
  }
];

export function FaqProPreview() {
  return <FaqPro className="w-full" defaultOpenFirst items={items} />;
}

export default FaqProPreview

Dependencies

More by Edwin Vakayil

View all
  • Origin Button

    Origin Button

    769
  • Infinite Ribbon

    Infinite Ribbon

    524
  • Shimmer Text

    Shimmer Text

    402
  • Dia Text

    Dia Text

    345
  • Icon Bar

    Icon Bar

    244
  • Verified Badge

    Verified Badge

    212
  • New Card

    New Card

    183
  • Theme Toggle

    Theme Toggle

    114