SimpleGrid

SimpleGrid is a component that makes Grid simpler and more user-friendly.

GridItem
GridItem
GridItem
GridItem

Usage

import { SimpleGrid } from "@yamada-ui/react"
<SimpleGrid />

Adjusting gaps

To adjust gaps, pass values to gap, rowGap, and columnGap.

GridItem
GridItem
GridItem
GridItem

Adjusting child width

To adjust the width of child elements, pass a value to minChildWidth.

GridItem
GridItem
GridItem
GridItem

Props

Similar Components

Bleed

Bleed is a component used to extend elements beyond the boundaries of a container.

Box

Box is the most abstract component on which all other components are built. By default, it renders a div element.

Center

Center is a component that aligns the child elements in the center within the component.

Container

Container is a component used as a general division element. By default, it renders the section element.

Flex

Flex is a component that sets flex to Box. Also, convenient style shorthand is available.

Float

Float is a component used to fix elements to the edges of a container.

Grid

Grid is a component for managing grid layouts. It also comes with handy style shorthand.

Group

Group is a component that groups and attaches multiple elements together.

Uses Components & Hooks