Kokonut UI

FAQ with Categories

Component 46

About

A comprehensive FAQ section component that features categorized questions using shadcn/ui primitives, including accordion items with category badges. Features - Header Section - Large title with custom styling - Optional description text - Centered layout - FAQ Items - Category badges for each item - Accordion-style expansion - Smooth transitions - Custom hover states - Card-like appearance - Shadow effects - Categories - Visual category indicators - Color-coded badges - Optional category display - Semantic grouping

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

Code

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

Usage.tsx

import { FaqSectionWithCategories } from "@/components/blocks/faq-with-categories";

const DEMO_FAQS = [
  {
    question: "How do I get started?",
    answer: "Getting started is easy! Simply sign up for an account and follow our quick setup guide. We'll walk you through each step of the process.",
    category: "Getting Started",
  },
  {
    question: "What payment methods do you accept?",
    answer: "We accept all major credit cards, PayPal, and bank transfers. All payments are processed securely through our payment partners.",
    category: "Billing",
  },
  {
    question: "Is there a free trial available?",
    answer: "Yes! We offer a 14-day free trial with full access to all features. No credit card required to start your trial.",
    category: "Pricing",
  },
  {
    question: "How can I contact support?",
    answer: "Our support team is available 24/7 through our help center, email support, or live chat. We typically respond within 2 hours.",
    category: "Support",
  },
];

export function FaqSectionWithCategoriesDemo() {
  return (
    <FaqSectionWithCategories
      title="Frequently Asked Questions"
      description="Find answers to common questions about our services"
      items={DEMO_FAQS}
      contactInfo={{
        title: "Still have questions?",
        buttonText: "Contact Support",
        onContact: () => console.log("Contact support clicked"),
      }}
    />
  );
}

More by Kokonut UI

View all
  • Background Paths

    Background Paths

    5.7K
  • Shape Landing Hero

    Shape Landing Hero

    3.5K
  • Beams Background

    Beams Background

    2.8K
  • Bento Grid

    Bento Grid

    2.2K
  • v0 AI Chat

    v0 AI Chat

    2.1K
  • AI Voice Input

    AI Voice Input

    1.7K
  • Hand Writing Text

    Hand Writing Text

    1.3K
  • Action Search Bar

    Action Search Bar

    1.3K