Skip to main content

DisclosureGroup


Example

Props

NameTypeDefault ValueRequiredDescription
iconPosition"leading" | "trailing"No
items(Pick<{ title: string; level?: 1 | 2; children: Children; iconPosition?: "leading" | "trailing"; } & { isOpen: boolean; onToggle: (isOpen: boolean) => void; initialIsOpen?: never; }, "title" | ... 3 more ... | "initialIsOpen"> | Pick<...> | NodeItem)[]Yes
dividersbooleanNo

Also known as

This component may also be known in other UI libraries as Accordion

Related components