Variable: AccordionTrigger
@arolariu/components / AccordionTrigger
Variable: AccordionTrigger
constAccordionTrigger:ForwardRefExoticComponent<Omit<AccordionTriggerProps,"ref"> &RefAttributes<HTMLElement>>
Defined in: components/ui/accordion.tsx:206
Toggles an accordion item while rendering the chevron affordance.
Remarks
- Renders a
<button>element by default - Built on Base UI Accordion
- Supports the
renderprop for element composition - Includes a built-in chevron icon; use the
renderprop for full custom trigger rendering or wrap the component when you need a different icon treatment - Styling via CSS Modules with
--ac-*custom properties
Example
<AccordionTrigger>Section</AccordionTrigger>
See
// was this page useful?