Skip to content

Accordion

Body text lorem ipsum dolor sit amet Body text lorem ipsum dolor sit amet

Accordions are interactive lists of headings that reveal additional content through progressive disclosure. They allow to organize larger amounts of information in an effective way, by removing excessive scrolling for users scanning content. However, no vital information should be buried within a collapsed section. This makes the high-level labeling of each item imperative to the component's success in allowing users to browse and discover meaningful information.

UX/UI Guidelines

Check the design documentation of the component in ZeroHeight.

From Figma to code

...

Customization

INFO

Check everything about the customization mechanics in the "How it works" documentation.

CSS VariableTypeDescription
--z-accordion--border-colorcolor
--z-accordion--colorcolor
--z-accordion--radiusdistance
--z-accordion--summary-colorcolor
--z-accordion--summary-paddingdistance
--z-accordion--summary-margindistance
--z-accordion--summary-fontfont
--z-accordion--widthdistance
--z-accordion--outlinedistance

Accessibility

...