BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/shadcn-ui-blocks/faq-02

FAQ 02

shadcn-ui-blocks-shadcnship/faq-02
FreeBlock

Two-column accordion FAQ grid for displaying a larger set of questions side by side. Use it when you have ten or more questions and want to keep the FAQ section compact and well-organized.

See it running

Open the demo on shadcn-ui-blocks

shadcnship.com/blocks/faq-02
Open
This registry sends X-Frame-Options, so its page cannot be embedded here. The link is the same page the frame would have shown.

Install it

npx shadcn@latest add https://shadcnship.com/r/faq-02.json

Source

src/registry/blocks/faq-02/faq.tsxshadcnship.com/r/faq-02.json
1"use client";
2
3import { Plus, X } from "lucide-react";
4import { cn } from "@/lib/utils";
5import {
6 Accordion,
7 AccordionContent,
8 AccordionItem,
9 AccordionTrigger,
10} from "@/components/ui/accordion";
11
12interface FaqItem {
13 title: string;
14 description: string;
15}
16
17interface Faq02Props {
18 label?: string;
19 title?: string;
20 description?: string;
21 items?: FaqItem[];
22 className?: string;
23}
24
25const defaultItems: FaqItem[] = [
26 {
27 title: "What is this component library?",
28 description:
29 "A collection of production-ready UI blocks built with shadcn/ui and Tailwind CSS.",
30 },
31 {
32 title: "Is it free to use?",
33 description:
34 "Yes, all components are free and open source for personal and commercial use.",
35 },
36 {
37 title: "Can I customize the components?",
38 description:
39 "Absolutely! You own the code and can customize every aspect to match your brand.",
40 },
41 {
42 title: "What dependencies are required?",
43 description:
44 "Components are built on shadcn/ui and Tailwind CSS with some Radix UI primitives.",
45 },
46 {
47 title: "How do I get started?",
48 description:
49 "Browse the components, copy the code, and paste it into your project. No setup required.",
50 },
51 {
52 title: "Is TypeScript supported?",
53 description:
54 "Yes, all components are written in TypeScript with full type safety.",
55 },
56];
57
58const Faq02 = ({
59 label = "FAQ",
60 title = "Common Questions",
61 description,
62 items = defaultItems,
63 className,
64}: Faq02Props) => (
65 <section className={cn("container mx-auto px-8 py-12 md:py-24", className)}>
66 <div className="flex flex-col items-center gap-4 text-center">
67 {label && (
68 <p className="text-sm font-semibold tracking-widest text-muted-foreground uppercase">
69 {label}
70 </p>
71 )}
72 <h2 className="text-4xl leading-tight font-medium tracking-tight md:text-5xl">
73 {title}
74 </h2>
75 {description && (
76 <p className="max-w-xl text-muted-foreground md:text-lg">
77 {description}
78 </p>
79 )}
80 </div>
81 <Accordion type="multiple" className="mt-12 grid gap-4 md:grid-cols-2">
82 {items.map((item, index) => (
83 <AccordionItem
84 key={index}
85 value={`item-${index}`}
86 className="relative h-fit rounded-md border-0 bg-muted/50 px-6 data-[state=open]:bg-muted"
87 >
88// … truncated

What it pulls in

npm packages

  • lucide-react

Other registry items

  • accordion

Files it writes

  • src/registry/blocks/faq-02/faq.tsx

Facts

Registry
shadcn-ui-blocks
Type
registry:block
Access
Free
Files written
1
Licence
the repository states none
First indexed
2026-08-01
Last confirmed
today

Go to the source

Docs on shadcn-ui-blocks shadcnship.com arnaudvolp/shadcnship on GitHub Raw registry item This item as JSON

More from shadcn-ui-blocks

All 74 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
Square Grid Backgroundbackground-01shadcn-ui-blocksBlocksFreeno deps
Dot Pattern Backgroundbackground-02shadcn-ui-blocksBlocksFreeno deps
Diagonal Stripes Backgroundbackground-03shadcn-ui-blocksBlocksFreeno deps
Vertical Lines Backgroundbackground-04shadcn-ui-blocksBlocksFreeno deps
Interactive Grid Backgroundbackground-05shadcn-ui-blocksBlocksFreeno deps
Banner 01banner-01shadcn-ui-blocksBlocksFree1 dep
Blog 01blog-01shadcn-ui-blocksBlocksFreeno deps
Changelog 01changelog-01shadcn-ui-blocksBlocksFreeno deps
BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex

BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex

BlockDex

Built by

Kynth Studio

Index

Components
Registries
Method
Open API

Guides

shadcn component libraries
Best shadcn registries
Free shadcn blocks

Reference

Corpus counts
Crawl health
hello@kynth.studio
Privacy
Terms

BlockDex