Rust UI component that displays an Accordion.

accordion

Installation

Usage

use crate::components::ui::accordion::{
    Accordion,
    AccordionContent,
    AccordionHeader,
    AccordionItem,
    AccordionTitle,
};
<Accordion>
    <AccordionItem>
        <AccordionHeader>
            <AccordionTitle>"Accordion Item"</AccordionTitle>
        </AccordionHeader>
        <AccordionContent>
            "Accordion content goes here"
        </AccordionContent>
    </AccordionItem>
</Accordion>