Accordion

Displays an accordion component that allows users to toggle sections of content.

A simple crazxy accordion component

A beautifully reusable and fully customizable UI component library built for speed, flexibility, and aesthetics.
Simply install the package, import the components, and start building beautiful interfaces with ease!

Installation

pnpm dlx shadcn@latest add https://crazxyui.in/r/crazxy-accordion.json

Usage

import { Accordion, AccordionItem, AccordionTrigger, AccordionContent } from "@/components/ui/crazxy-ui/accordion"
<Accordion>
  <AccordionItem value="example">
    <AccordionTrigger value="example">Example Trigger</AccordionTrigger>
    <AccordionContent value="example">Example Content</AccordionContent>
  </AccordionItem>
</Accordion>