# AccordionItemProps (@salmonui/navigation/accordion)

> The AccordionItemProps interface of @salmonui/navigation/accordion.

Canonical: https://salmonui.dev/docs/reference/navigation/accordion/AccordionItemProps

```ts
import type { AccordionItemProps } from '@salmonui/navigation/accordion';
```

Entry index: https://salmonui.dev/docs/reference/navigation/accordion (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/navigation/accordion.md).

## Reference

Kind: interface

```ts
interface AccordionItemProps extends Omit<HTMLAttributes<HTMLDivElement>, 'title'> {
    value: string;
    header: ReactNode;
    icon?: ReactNode;
    disabled?: boolean | undefined;
    hidden?: boolean | undefined;
    keepMounted?: boolean | undefined;
    forceMount?: boolean | undefined;
    headerProps?: ButtonHTMLAttributes<HTMLButtonElement> | undefined;
    panelProps?: HTMLAttributes<HTMLDivElement> | undefined;
    children?: ReactNode;
    ref?: Ref<HTMLDivElement> | undefined;
}
```

Members (11):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `value` | `value: string;` |  | Stable item key reported in `value`. |
| `header` | `header: ReactNode;` |  | Header content (the label of the header button and of the panel region). |
| `icon` | `icon?: ReactNode;` | optional | Decorative icon before the header content. |
| `disabled` | `disabled?: boolean \| undefined;` | optional | Header button gets `aria-disabled` and does not toggle. |
| `hidden` | `hidden?: boolean \| undefined;` | optional | Renders nothing. |
| `keepMounted` | `keepMounted?: boolean \| undefined;` | optional | Overrides the accordion's `keepMounted` for this item. |
| `forceMount` | `forceMount?: boolean \| undefined;` | optional | Overrides the accordion's `forceMount` for this item. |
| `headerProps` | `headerProps?: ButtonHTMLAttributes<HTMLButtonElement> \| undefined;` | optional | Props of the header `<button>` (`className`, `style`, `onClick`, `data-*`, ...). |
| `panelProps` | `panelProps?: HTMLAttributes<HTMLDivElement> \| undefined;` | optional | Props of the panel region (`className`, `style`, ...). |
| `children` | `children?: ReactNode;` | optional | Panel content; mounted on first expand. |
| `ref` | `ref?: Ref<HTMLDivElement> \| undefined;` | optional |  |
