LayoutGrid

components/layout/Grid.vue

Responsive grid wrapper with configurable column count. Defaults to 2 columns on md+, single column on mobile.

Column 1
Column 2
Column 3
Column 4
components/layout/Grid.vue

Usage

<LayoutGrid class = "—" :columns = "2" > Content here </LayoutGrid>

Props

PropTypeDefaultDescription
classString''Custom CSS class applied to the grid container
columnsNumber | String2Number of columns at md breakpoint and above

Slots

SlotDescription
defaultGrid items

Related