ReUI
Components

Accordion

A collapsible panel that can be expanded or collapsed.

Installation

pnpm dlx shadcn@latest add https://reui.io/r/accordion.json

Examples

Default

Loading

Outline

Loading

Solid

Loading

Indicator

Loading

Nested

Loading

API Reference

Accordion

This component is based on the Radix UI Accordion primitive and includes the following custom props:

PropTypeDefault
variant enum default
indicator enum arrow

AccordionTrigger

This component is based on the Accordion.Trigger primitive and includes the following custom props:

PropTypeDefault
indicator enum arrow

Credits

  • Used Radix UI for the accordion component.