"xsmall" | "small" | "large" | "standard" "medium" | "regular" | "strong" multiple
Allow more than one item to be open. Defaults to true.
Note: Will default to false next major release. booleanvalue
Value of the open AccordionItem, or `""` when none are open.
Values of the open AccordionItems. Pass an empty array when none are open. string | string[](value: string) => void | (value: string[]) => void defaultValue
Value of the AccordionItem to expand by default.
Values of the AccordionItems to expand by default. string | string[]"medium" | "large" | "xlarge" | RequiredConditionalObject<"mobile", "tablet" | "desktop" | "wide", "medium" | "large" | "xlarge"> | RequiredResponsiveArrayByMaxLength<4, "medium" | "large" | "xlarge"> "xsmall" | "small" | "large" | "standard" "medium" | "regular" | "strong" value
Key used when Accordion owns the open items.
Required when `multiple` is `false`, or when `value`, `defaultValue`, or `onChange` is set on Accordion. string(expanded: boolean) => void