@dxos/react-ui-list
    Preparing search index...

    Type Alias UseListNavigationOptions

    type UseListNavigationOptions = {
        axis?: "vertical" | "horizontal" | "grid" | "grid-linear" | "both";
        memorizeCurrent?: boolean;
        mode: ListNavigationMode;
    }
    Index

    Properties

    axis?: "vertical" | "horizontal" | "grid" | "grid-linear" | "both"

    Override default axis. list and listbox default to 'vertical'; grid defaults to 'grid' (two-axis). Set explicitly when a horizontal list is needed.

    memorizeCurrent?: boolean

    Remember the last-focused item when re-entering the group. Defaults to true. Only meaningful for listbox mode.

    Determines the bundled ARIA role + keyboard wiring.

    • list — role='list' items are role='listitem'. Arrow keys move focus among interactive descendants of the row (handles, buttons). No selection semantics.
    • listbox — role='listbox' items are role='option'. Arrow keys move focus between options; memorizeCurrent keeps the last-focused option when re-entering.
    • grid — role='grid' items are role='row'. Two-axis arrow navigation.