Ghost
flx/accordion-12FreeBlock
Borderless minimal rows with an active color on open.
Install it
npx shadcn@latest add https://ui.flexnative.com/r/accordion-12.jsonSource
1import {2 Accordion,3 AccordionContent,4 AccordionItem,5 AccordionTrigger,6} from '@/components/ui/accordion'78const faqs = [9 {10 q: 'What payment methods do you accept?',11 a: 'All major credit cards, plus PayPal and bank transfer on annual plans.',12 },13 {14 q: 'Do you offer student discounts?',15 a: 'Yes — verified students and educators get 50% off any paid plan.',16 },17 {18 q: 'Can I export my data?',19 a: 'Export everything to JSON or CSV at any time, with no lock-in.',20 },21]2223export function Accordion12() {24 return (25 <Accordion className="w-full max-w-md">26 {faqs.map((faq, index) => (27 <AccordionItem28 key={faq.q}29 value={`item-${index}`}30 className="border-b-0"31 >32 <AccordionTrigger className="aria-expanded:text-primary py-3 hover:no-underline">33 {faq.q}34 </AccordionTrigger>35 <AccordionContent className="text-muted-foreground">36 {faq.a}37 </AccordionContent>38 </AccordionItem>39 ))}40 </Accordion>41 )42}
What it pulls in
Other registry items
Files it writes
More from flx
All 450 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| Basicaccordion-01 | flx | Blocks | Free | no deps | |
| Multipleaccordion-02 | flx | Blocks | Free | no deps | |
| With iconsaccordion-03 | flx | Blocks | Free | no deps | |
| FAQaccordion-04 | flx | Blocks | Free | no deps | |
| Separated cardsaccordion-05 | flx | Blocks | Free | no deps | |
| Plus / minus iconaccordion-06 | flx | Blocks | Free | 1 dep | |
| Left chevronaccordion-07 | flx | Blocks | Free | 1 dep | |
| Rich contentaccordion-09 | flx | Blocks | Free | no deps |
