Minder

Accordion

A vertically stacked set of headings that each reveal a section of content.

registry:ui1 filenew-york-v41 dependencies

Installation

Nothing to add — the source is already at design-system/components/accordion.tsx. Install only the runtime packages it imports.

SHterminal
pnpm add radix-ui

Usage

TSaccordion.tsx
import { Accordion, AccordionContent, AccordionItem, AccordionTrigger } from "@/design-system/components/accordion"

<Accordion type="single" collapsible>
  <AccordionItem value="item-1">
    <AccordionTrigger>Is it accessible?</AccordionTrigger>
    <AccordionContent>Yes.</AccordionContent>
  </AccordionItem>
</Accordion>

Default

Open and close the panels — only one stays open at a time.

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

<Accordion type="single" collapsible className="w-full max-w-md">
  <AccordionItem value="item-1">
    <AccordionTrigger>Is it accessible?</AccordionTrigger>
    <AccordionContent>Yes. It adheres to the WAI-ARIA design pattern.</AccordionContent>
  </AccordionItem>
</Accordion>

Component source

This is the file in your repository. Edit it directly — tokens, variants, and accessibility defaults are all yours.

Source unavailable for this component.

61 components · new-york-v4Snapshot Aug 22, 2026 · ui.shadcn.com/r/styles/new-york-v4/registry.json

Command Palette

Search for a command to run...