UI Headless Runtime API - v1.0.0
    Preparing search index...

    Interface AccordionSnapshot

    Immutable Accordion snapshot.

    interface AccordionSnapshot {
        controlled: boolean;
        expandedIds: readonly string[];
        focusedId: string | null;
        items: readonly AccordionItemSnapshot[];
        type: AccordionType;
    }
    Index

    Properties

    controlled: boolean

    Whether expansion state is consumer-owned.

    expandedIds: readonly string[]

    Ordered expanded item IDs.

    focusedId: string | null

    Keyboard-focused trigger ID.

    items: readonly AccordionItemSnapshot[]

    Ordered registered item metadata.

    Single or multiple expansion mode.