Box

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

This is the Box

Usage

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

Render a different element

By passing as, you can render it as a different element.

This is the section

Props

Similar Components

ZStack

ZStack is used to stack child elements in depth.

VStack

VStack is used to stack child elements vertically.

Wrap

Wrap is a component that has wrap set on Flex. It inherits convenient style shorthand from Flex.

Stack

Stack is a component that groups elements and provides spacing between child elements.

Spacer

Spacer is a component used to add space between elements.

SimpleGrid

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

Separator

Separator is a component that represents a division between elements.

Group

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