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

    Variable GridConst

    Grid: ForwardRefExoticComponent<
        Omit<GridProps & { asChild?: boolean }, "className"> & {
            classNames?: ClassNameValue;
        } & Pick<HTMLAttributes<Element>, "role" | "children" | "style"> & RefAttributes<
            HTMLDivElement,
        >,
    > = ...

    CSS grid container.

    cols/rows take a count for equal tracks, or a list of tokens for anything asymmetric: cols={['fill', 'min']} is grid-cols-[1fr_min-content], with the flexible track allowed to shrink so long content truncates rather than widening the grid. The tokens are typed, so a misspelt track is a compile error rather than an invalid template.

    subgrid adopts the parent's tracks and spans them (grid-column: 1 / -1), which is the only way it is ever useful; the parent must actually define those tracks. Check Column.Row and Card.Row first — both already are 3-track subgrid rows.

    gap is restricted to the named steps of the theme spacing ramp (see Gap). As with Flex, padding, sizing, and colour go through classNames rather than growing props here.

    <Grid cols={3} gap='sm'>…</Grid>
    <Grid cols={['fill', 'auto']} gap='md' align='center'>…</Grid>
    <Grid cols={['18rem', 'fill']}>…</Grid>
    <Grid cols='subgrid' gap='sm' align='center'>…</Grid>