BlockDex

Components

Registries

Free blocks

Method

BlockDex

Components

Registries

Free blocks

Method

Open API

BlockDex

Components

Registries

Free blocks

Method

Open API

Components/fulldev/ui/faqs-3

faqs-3

fulldev-ui/faqs-3
FreeBlock

fulldev/ui publishes no description for this item.

Live preview

live · rendered by the registry
Rendered by fulldev/ui on their own page — this is the component running, not a screenshot of it.

Install it

npx shadcn@latest add https://ui.full.dev/r/faqs-3.json

Source

src/components/blocks/faqs-3.astroui.full.dev/r/faqs-3.json
1---
2import { cn } from "@/lib/utils"
3import {
4 Accordion,
5 AccordionContent,
6 AccordionItem,
7 AccordionTrigger,
8} from "@/components/ui/accordion"
9import { Badge } from "@/components/ui/badge"
10import { Section, SectionContainer } from "@/components/ui/section"
11
12type Props = {
13 class?: string
14 badge?: string
15 title: string
16 description: string
17 faqs: {
18 id: string
19 question: string
20 answer: string
21 }[]
22}
23
24const { class: className, badge, title, description, faqs } = Astro.props
25---
26
27<Section class={cn("", className)}>
28 <SectionContainer class="items-center text-center">
29 <div class="flex max-w-2xl flex-col items-center gap-5">
30 {badge && <Badge variant="secondary">{badge}</Badge>}
31 <h2
32 class="text-foreground text-3xl font-semibold tracking-tight text-balance sm:text-4xl"
33 >
34 {title}
35 </h2>
36 <p class="text-muted-foreground text-base leading-relaxed text-balance">
37 {description}
38 </p>
39 </div>
40 </SectionContainer>
41 <SectionContainer>
42 <div class="mx-auto w-full max-w-3xl rounded-xl border px-6 py-2">
43 <Accordion collapsible>
44 {
45 faqs.map((item) => (
46 <AccordionItem value={item.id}>
47 <AccordionTrigger>{item.question}</AccordionTrigger>
48 <AccordionContent>{item.answer}</AccordionContent>
49 </AccordionItem>
50 ))
51 }
52 </Accordion>
53 </div>
54 </SectionContainer>
55</Section>

What it pulls in

Other registry items

  • @fulldev/accordion
  • @fulldev/badge
  • @fulldev/section

Files it writes

  • src/components/blocks/faqs-3.astro

Facts

Registry
fulldev/ui
Type
registry:block
Access
Free
Files written
1
Licence
MIT
First indexed
2026-08-02
Last confirmed
yesterday

Go to the source

Docs on fulldev/ui ui.full.dev fulldotdev/ui on GitHub Raw registry item This item as JSON

More from fulldev/ui

All 144 items
Same registry, same kind — the ones you would have found next
ComponentRegistryKindAccessInstallsCommand
article-1article-1fulldev/uiBlocksFreeno deps
article-2article-2fulldev/uiBlocksFreeno deps
articles-1articles-1fulldev/uiBlocksFreeno deps
articles-2articles-2fulldev/uiBlocksFreeno deps
articles-3articles-3fulldev/uiBlocksFreeno deps
articles-4articles-4fulldev/uiBlocksFreeno deps
banner-1banner-1fulldev/uiBlocksFreeno deps
banner-2banner-2fulldev/uiBlocksFreeno 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