Flex

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

Box
Box
Box
Box

Usage

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

Direction

Box
Box
Box
Box

Align

Box
Box
Box

Justify

Box
Box
Box
Box

Wrap

Box
Box
Box
Box

Use spaces

Box
Box

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.

Used By Components & Hooks