Grid Style FAQ Component
Intermediate
A modern FAQ component with grid layout, category filtering, and interactive card design
Live Preview
Code Implementation
HTML
<div class="faq-grid-container">
<div class="faq-header">
<h1>Frequently Asked Questions</h1>
<p>Find answers to common questions</p>
</div>
<div class="faq-controls">
<div class="search-box">
<input type="text" id="faqSearch" placeholder="Search FAQs...">
<i class="search-icon">🔍</i>
</div>
<div class="category-filters">
<button class="filter-btn active" data-category="all">All</button>
<button class="filter-btn" data-category="general">General</button>
<button class="filter-btn" data-category="technical">Technical</button>
<button class="filter-btn" data-category="billing">Billing</button>
</div>
</div>
<div class="faq-grid" id="faqGrid">
<div class="faq-card" data-category="general">
<div class="faq-question">
<h3>What is this service?</h3>
<span class="toggle-icon">+</span>
</div>
<div class="faq-answer">
<p>This is a comprehensive service that helps you manage your projects efficiently.</p>
</div>
</div>
<div class="faq-card" data-category="technical">
<div class="faq-question">
<h3>How do I integrate the API?</h3>
<span class="toggle-icon">+</span>
</div>
<div class="faq-answer">
<p>You can integrate our API by following the documentation provided in your dashboard.</p>
</div>
</div>
<div class="faq-card" data-category="billing">
<div class="faq-question">
<h3>How does billing work?</h3>
<span class="toggle-icon">+</span>
</div>
<div class="faq-answer">
<p>Billing is processed monthly based on your usage and selected plan.</p>
</div>
</div>
<div class="faq-card" data-category="general">
<div class="faq-question">
<h3>Is there customer support?</h3>
<span class="toggle-icon">+</span>
</div>
<div class="faq-answer">
<p>Yes, we provide 24/7 customer support through multiple channels.</p>
</div>
</div>
</div>
</div>