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-4

faqs-4

fulldev-ui/faqs-4
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-4.json

Source

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

What it pulls in

Other registry items

  • @fulldev/accordion
  • @fulldev/section

Files it writes

  • src/components/blocks/faqs-4.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