--- title: "Accordion" slug: accordion category: component type: technical-information version: 20.0.0 tokens: 617 source: https://ovh.github.io/design-system/v20.0.0/llms/react-components-accordion--technical-information.txt --- # Accordion ## Accordion This component extends all the native `
` attributes. | Property | Type | Required | Default | Description | |---|---|---|---|---| | `defaultValue` | `string[]` | No | undefined | The initial value of the expanded accordion items. Use when you don't need to control the value of the accordion. | | `disabled` | `boolean` | No | undefined | Whether the component is disabled. | | `emphasis` | `ACCORDION_EMPHASIS` | No | undefined | The emphasis preset to use, setting the visual weight of all the accordion items. | | `multiple` | `boolean` | No | undefined | Whether multiple accordion items can be expanded at the same time. | | `onChange` | `(detail: AccordionChangeDetail) => void` | No | undefined | Callback fired when the state of expanded/collapsed accordion items changes. | | `value` | `string[]` | No | undefined | The controlled value of the expanded accordion items. | ## AccordionContent _No specific property._ ## AccordionItem This component extends all the native `
` attributes. | Property | Type | Required | Default | Description | |---|---|---|---|---| | `disabled` | `boolean` | No | undefined | Whether the accordion item is disabled. | | `value` | `string` | Yes | undefined | The value of the accordion item. | ## AccordionTrigger This component extends all the native `