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:
Prop | Type | Default |
---|---|---|
variant | ||
indicator |
AccordionTrigger
This component is based on the Accordion.Trigger primitive and includes the following custom props:
Prop | Type | Default |
---|---|---|
indicator |
Credits
- Used Radix UI for the accordion component.