---
title: SimpleGrid
description: "`SimpleGrid` is a component that makes `Grid` simpler and more user-friendly."
links:
- style: https://github.com/yamada-ui/yamada-ui/tree/main/packages/react/src/components/simple-grid/simple-grid.style.ts
- source: https://github.com/yamada-ui/yamada-ui/tree/main/packages/react/src/components/simple-grid
- storybook: https://yamada-ui.github.io/yamada-ui?path=/story/components-simplegrid--basic
---
```tsx
{(_, index) => (
GridItem
)}
```
## Usage
```tsx
import { SimpleGrid } from "@yamada-ui/react"
```
```tsx
import { SimpleGrid } from "@/components/ui"
```
```tsx
import { SimpleGrid } from "@workspaces/ui"
```
```tsx
```
### Adjusting gaps
To adjust gaps, pass values to `gap`, `rowGap`, and `columnGap`.
```tsx
{(_, index) => (
GridItem
)}
```
### Adjusting child width
To adjust the width of child elements, pass a value to `minChildWidth`.
```tsx
{(_, index) => (
GridItem
)}
```
## Props
| Prop | Default | Type | Description |
| ----------------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------- |
| `as` | - | `As` | The HTML element to render. |
| `asChild` | - | `boolean` | Merges its props onto its immediate child. |
| `css` | - | `CSSObject \| CSSObject[]` | The CSS object. |
| `colorScheme` | - | `"amber" \| "black" \| "blackAlpha" \| "blue" \| "cyan" \| "danger" \| "emerald" \| "error" \| "flashy" \| "fuchsia" ...` | Set color scheme variables. |
| `area` | - | `"-moz-initial" \| "auto" \| "inherit" \| "initial" \| "revert-layer" \| "revert" \| "unset" \| number & {} ...` | The CSS `grid-area` property. |
| `autoColumns` | - | `"-moz-initial" \| "0.5" \| "1.5" \| "1" \| "1/12" \| "1/2" \| "1/3" \| "1/4" \| "1/5" \| "1/6" ...` | The CSS `grid-auto-columns` property. |
| `autoFlow` | - | `"-moz-initial" \| "column" \| "dense" \| "inherit" \| "initial" \| "revert-layer" \| "revert" \| "row" \| "unset" ...` | The CSS `grid-auto-flow` property. |
| `autoRows` | - | `"-moz-initial" \| "0.5" \| "1.5" \| "1" \| "1/12" \| "1/2" \| "1/3" \| "1/4" \| "1/5" \| "1/6" ...` | The CSS `grid-auto-rows` property. |
| `column` | - | `"-moz-initial" \| "auto" \| "inherit" \| "initial" \| "revert-layer" \| "revert" \| "unset" \| number & {} ...` | The CSS `grid-column` property. |
| `columns` | - | `number` | The number of columns. |
| `minChildWidth` | - | `"-moz-fit-content" \| "-moz-initial" \| "-moz-max-content" \| "-moz-min-content" \| "-webkit-fill-available" \| "-webkit-fit-content" \| "-webkit-max-content" \| "-webkit-min-content" \| "0.5" \| "1.5" ...` | The width at which child elements will break into columns. Pass a number for pixel values or a string for any other valid CSS length. |
| `row` | - | `"-moz-initial" \| "auto" \| "inherit" \| "initial" \| "revert-layer" \| "revert" \| "unset" \| number & {} ...` | The CSS `grid-row` property. |
| `templateAreas` | - | `"-moz-initial" \| "inherit" \| "initial" \| "none" \| "revert-layer" \| "revert" \| "unset" ...` | The CSS `grid-template-areas` property. |
| `templateColumns` | - | `"-moz-initial" \| "0.5" \| "1.5" \| "1" \| "1/12" \| "1/2" \| "1/3" \| "1/4" \| "1/5" \| "1/6" ...` | The CSS `grid-template-columns` property. |
| `templateRows` | - | `"-moz-initial" \| "0.5" \| "1.5" \| "1" \| "1/12" \| "1/2" \| "1/3" \| "1/4" \| "1/5" \| "1/6" ...` | The CSS `grid-template-rows` property. |