Skip to content

FAQ

Accordion of questions and answers, as ruled lines or cards, with optional FAQPage JSON-LD for search engines.

Installation

pnpm dlx shadcn@latest add @portfolio-kit/faq
First time? Add the @portfolio-kit registry to components.json
components.json
{
  "registries": {
    "@portfolio-kit": "https://www.parthjadhav.com/products/portfolio-kit/r/{name}.json"
  }
}

Usage

Examples

Cards

Each question in its own card. Softer, and good on muted or patterned backgrounds.

Two Column

A pinned heading beside the questions, rich answers with links, and FAQPage JSON-LD so search engines can show them.

API Reference

Used in