Components
Aspect Ratio
A component that maintains a consistent aspect ratio for its content, useful for responsive designs and media elements.
Loading
Installation
pnpm dlx shadcn@latest add @toui/accordion
Examples
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
- Built with Radix UI Accordion.