Skip to content

Accordion

A vertically stacked set of interactive headings that each reveal a section of content.

Static SSR: single/multiple disclosure, height animation, and Arrow/Home/End trigger focus work in the browser. Listen for the cancelable shardui:accordion-change event or call setItemOpen(target, itemId, open); item Expanded values are the server snapshot.

Yes. Trigger and content IDs are scoped to this Accordion instance.

Examples

Multiple

Use AccordionType.Multiple when more than one item may remain expanded. Every item still requires a unique Id.

Compile and test the application.

Create the deployment artifacts.
An unhandled error has occurred. Reload 🗙

    Rejoining the server...

    Rejoin failed... trying again in seconds.

    Failed to rejoin.
    Please retry or reload the page.

    The session has been paused by the server.

    Failed to resume the session.
    Please reload the page.