NbGrid'sgridprop is a span within the 16-column page grid. It answers "how much of the page does this element take".NbCardGrid'sminis a column width. It answers "how many of these fit", and the answer comes from the card's own comfortable width, not from the page.
That distinction is why a catalogue of plugins and a catalogue of content types both ended up hand-writing repeat(auto-fill, minmax(260px, 1fr)).
<NbCardGrid min="260px" gap="md">
<NbCard
v-for="plugin in plugins"
:key="plugin.id"
:title="plugin.name"
:subtitle="plugin.kind"
:href="`/plugins/${plugin.id}`"
>
{{ plugin.summary }}
<template #footer>
<NbBadge size="sm">{{ plugin.format }}</NbBadge>
</template>
</NbCard>
</NbCardGrid>Column width
min is the narrowest a column may be before the grid drops one. Cards never render narrower than it, except in a container that is itself narrower, where they shrink instead of overflowing.
auto-fill and auto-fit
auto-fill (the default) keeps the empty columns, so two cards in a wide container stay card-sized. auto-fit collapses them, so those two stretch across the row.
Prefer the default. A catalogue reads as a catalogue when its card size is constant and a short row is allowed to be short; stretching two cards across a desktop makes them look like panels.
Dense cards
size="sm" halves the padding, for a grid of small tiles that act, such as a row of progress bars to filter by. The full padding made each tile twice the height of what it holds. Media and the horizontal thumbnail follow the same padding.
Footers line up
The body takes the leftover height, so a row of cards with different amounts of description still lines its footers up along the bottom. That is the detail hand-rolled card grids most often miss.