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

    Type Alias GridProps

    type GridProps = {
        align?: Align;
        center?: boolean;
        cols?: GridTracks;
        contents?: boolean;
        gap?: Gap;
        grow?: boolean;
        rows?: GridTracks;
    }
    Index

    Properties

    align?: Align
    center?: boolean

    Center children on both axes (place-items-center).

    cols?: GridTracks
    contents?: boolean

    Collapse the wrapper to display: contents, so children join the parent grid directly. For a wrapper that exists only conditionally — an unconditional pass-through wants asChild.

    gap?: Gap
    grow?: boolean

    Fill and clip the parent (dx-expand); off by default, as Flex's is, so a grid sizes to its content.

    rows?: GridTracks