Skip to main content

Function: AccordionTrigger()

AccordionTrigger(__namedParameters): any

Defined in: composites/Accordion/Accordion.tsx:270

The clickable header of an AccordionItem. Renders inside a heading element (level via headingLevel, default <h3> per RAC's recommended structure) and exposes aria-expanded / a controlled chevron icon.

Reads isExpanded, isHovered, isFocusVisible, isDisabled from RAC's Button render-props and resolves them through the canonical state cascade in resolveInteractiveStyle.

Parameters

ParameterType
__namedParametersAccordionTriggerProps

Returns

any