# Accordion

Show and hide sections of content.

Import from `@a31labs/rax/accordion`.

## Usage

```tsx
<Accordion items={[{ value: "a", title: "Question", content: "Answer" }]} multiple />
```

## Rules

Props: `items` (`{ value, title, content, attrs }`), `value`, `defaultValue`, `onValueChange` (string arrays), `multiple` (default false), plus Base UI root props. A bordered surface container (line border, radius 10px) with rows divided by `line`. Each header is a full-width button (weight 600, hover surface-2, inset focus ring) with a chevron that rotates 180° when open (static under reduced motion). Panels open and close without animation, because height never animates.

Page: https://rax.a31.at/components/accordion
