Skip to content

Accordion

Pro

A stack of headers that open and fold panels of content, one at a time or several: FAQs, settings groups, product details and filters. Not an M3 component (@windmorph/react-pro).

import { Accordion, AccordionItem, AccordionHeader, AccordionPanel } from '@windmorph/react-pro';

Part of Windmorph Pro, paid components on the free core, not on sale yet. See the Pro guide for what it includes and to register interest.

Playground

In two to four working days, with tracking by email.

Yes, within 30 days, for another size or colour.

Yes: the box and the paper tape are both recyclable.

Code

import { Accordion, AccordionItem } from '@windmorph/react-pro'; <Accordion  defaultExpandedKeys={['arrival']}>  <AccordionItem id="arrival" title="When will my order arrive?">    In two to four working days, with tracking by email.  </AccordionItem>  <AccordionItem id="exchange" title="Can I exchange an item?">    Yes, within 30 days, for another size or colour.  </AccordionItem>  <AccordionItem id="packaging" title="Is the packaging recyclable?">    Yes: the box and the paper tape are both recyclable.  </AccordionItem></Accordion>

Examples

A FAQ, one answer open

Several open at once (multiple), controlled

Segmented

A header from parts, and a disabled item

A long panel with a link

Density −3

A link into a closed panel