Skip to main content

Variable: AccordionTrigger

@arolariu/components


@arolariu/components / AccordionTrigger

Variable: AccordionTrigger

const AccordionTrigger: 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 render prop for element composition
  • Includes a built-in chevron icon; use the render prop 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

Base UI Documentation

// was this page useful?