faqs-3
efferd/faqs-3FreeBlock
Two-column FAQ section featuring bordered layout, vertical guide line, and elegant accordion interactions.
Install it
npx shadcn@latest add https://legacy.efferd.com/r/faqs-3.jsonSource
1import { PlusIcon } from "lucide-react";2import {3 Accordion,4 AccordionContent,5 AccordionItem,6 AccordionTrigger,7} from "@/components/ui/accordion";89export function FaqsSection() {10 return (11 <section className="mx-auto grid min-h-screen w-full max-w-5xl grid-cols-1 md:grid-cols-2 lg:border-x">12 <div className="px-4 pt-12 pb-6">13 <div className="space-y-5">14 <h2 className="text-balance font-bold text-4xl md:text-6xl lg:font-black">15 Frequently Asked Questions16 </h2>17 <p className="text-muted-foreground">18 Quick answers to common questions about Efferd. Open any question to19 learn more.20 </p>21 <p className="text-muted-foreground">22 {"Can't find what you're looking for? "}23 <a className="text-primary hover:underline" href="#">24 Contact Us25 </a>26 </p>27 </div>28 </div>29 <div className="relative place-content-center">30 {/* vertical guide line */}31 <div32 aria-hidden="true"33 className="pointer-events-none absolute inset-y-0 left-3 h-full w-px bg-border"34 />3536 <Accordion collapsible type="single">37 {faqs.map((item) => (38 <AccordionItem39 className="group relative border-b pl-5 first:border-t last:border-b"40 key={item.id}41 value={item.id}42 >43 {/* plus */}44 <PlusIcon45 aria-hidden="true"46 className="-bottom-[5.5px] -translate-x-1/2 pointer-events-none absolute left-[12.5px] size-2.5 text-muted-foreground group-last:hidden"47 />4849 <AccordionTrigger className="px-4 py-4 text-[15px] leading-6 hover:no-underline">50 {item.title}51 </AccordionTrigger>5253 <AccordionContent className="px-4 pb-4 text-muted-foreground">54 {item.content}55 </AccordionContent>56 </AccordionItem>57 ))}58 </Accordion>59 </div>60 </section>61 );62}6364const faqs = [65 {66 id: "item-1",67 title: "What is Efferd?",68 content:69 "Efferd is a collection of beautifully crafted Shadcn UI blocks and components, designed to help developers build modern websites with ease.",70 },71 {72 id: "item-2",73 title: "Who can benefit from Efferd?",74 content:75// … truncated
What it pulls in
Other registry items
Files it writes
More from efferd
All 40 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| auth-1auth-1 | efferd | Blocks | Free | no deps · 2 files | |
| auth-2auth-2 | efferd | Blocks | Free | 1 dep · 3 files | |
| contact-1contact-1 | efferd | Blocks | Free | no deps | |
| contact-2contact-2 | efferd | Blocks | Free | no deps | |
| cta-1cta-1 | efferd | Blocks | Free | no deps | |
| cta-2cta-2 | efferd | Blocks | Free | no deps | |
| cta-3cta-3 | efferd | Blocks | Free | no deps | |
| cta-4cta-4 | efferd | Blocks | Free | no deps |
