@dxos/react-ui
    Preparing search index...
    RootProps: ThemedClassName<
        Omit<ComponentPropsWithoutRef<"div">, "defaultValue" | "onSelect">,
    > & {
        columns?: string;
        defaultValue?: string[];
        deselectable?: boolean;
        disabled?: boolean;
        highlightedValue?: string | null;
        items: readonly Option[];
        loopFocus?: boolean;
        onHighlightChange?: (value: string | null) => void;
        onValueChange?: (value: string[]) => void;
        selectionMode?: SelectionMode;
        selectionStyle?: "fill" | "outline";
        size?: Size;
        tiles?: number;
        tileWidth?: TileWidth;
        value?: string[];
        virtual?: VirtualMode;
    }

    Type declaration

    • Optionalcolumns?: string

      Custom tracks for every row, declared once: rows become subgrids of these columns and place their children in order. Without it rows lay out by part (a leading cell, the text over its description, trailing parts).

    • OptionaldefaultValue?: string[]
    • Optionaldeselectable?: boolean

      Clicking the selected item of a single-selection list clears it.

    • Optionaldisabled?: boolean
    • OptionalhighlightedValue?: string | null

      The row the keyboard cursor is on (controlled), for a list whose cursor follows state held outside it.

    • items: readonly Option[]
    • OptionalloopFocus?: boolean

      Arrow keys wrap from the last item to the first and back.

    • OptionalonHighlightChange?: (value: string | null) => void

      The row keyboard or pointer navigation moved to (null when none).

    • OptionalonValueChange?: (value: string[]) => void
    • OptionalselectionMode?: SelectionMode

      single by default; multiple toggles each item; extended selects one on a click and adds with Cmd/Ctrl or a Shift range, as a desktop list does; none selects nothing but keeps navigation and typeahead.

    • OptionalselectionStyle?: "fill" | "outline"

      outline marks the selected row with an outline that stays after focus leaves, for a picker whose choice must stay visible.

    • Optionalsize?: Size
    • Optionaltiles?: number

      Lays the items out as tiles in this many equal columns (a gallery, a thumbnail picker); the arrow keys then move across and down. Items keep the row states (hover, highlight, selection) but not the row's part layout.

    • OptionaltileWidth?: TileWidth

      Lays the items out as tiles between min and max pixels wide (max defaults to filling the row): as many columns as fit at min, each as wide as the row allows up to max. The grid reflows as its container resizes, and the arrow keys move by the columns on screen. Ignored with tiles.

    • Optionalvalue?: string[]
    • Optionalvirtual?: VirtualMode

      Long lists: fixed windows equal-height rows, measured windows rows of any height, variable defers off-screen rows (content-visibility). Ignored for tiles.