Files
oa/documentation/grid/v-grid-base-documentation.md
2025-05-24 01:49:48 +09:00

28 lines
689 B
Markdown

### VGrid
Vuero come with `VGrid` and `VGridItem` which are utility components to compose
**CSS grid layout** with ease. The component `VGrid` will represent
the grid container and can contains anything in its slot.
The component `VGridItem` allow to have finest control how the item is
positioned inside the `VGrid` parent.
> You can find a [complete guide on css-tricks.com](https://css-tricks.com/snippets/css/complete-guide-grid/)
<!--code-->
```vue
<template>
<VGrid>
<!-- use any components inside --->
<VCard />
<!-- use VGridItem to have more control --->
<VGridItem>
<VAvatar initials="J." />
</VGridItem>
</VGrid>
</template>
```
<!--/code-->