Skip to Content
Skip to content

Accordion

Neumorphic accordion on the Radix primitive. Flat triggers with a tinted hover, groove borders between items, stock height animation untouched.

Yes. It adheres to the WAI-ARIA design pattern.

Installation

bunx --bun shadcn@latest add https://neu.beyondtheinnovation.com/r/neu-accordion.json

Usage

import {
  Accordion,
  AccordionContent,
  AccordionItem,
  AccordionTrigger,
} from "@/components/ui/neu/accordion"
<Accordion type="single" collapsible>
  <AccordionItem value="item-1">
    <AccordionTrigger>Is it accessible?</AccordionTrigger>
    <AccordionContent>Yes. It follows the WAI-ARIA pattern.</AccordionContent>
  </AccordionItem>
</Accordion>

Multiple

type="multiple" lets several items stay open. disabled on an AccordionItem dims it and blocks its trigger. Under reduced motion the content opens without the height animation and the chevron turns without a transition.

<Accordion type="multiple">

On this page